도와주세요!!
글 수 15,339
2003.11.02 17:39:45 (*.244.164.59)
6727
-------------------------------------------------------------------------
[root@jdt qt-2.3.7]# ./configure -xplatform linux-arm-g++ -shared -gif
This is the Qt/Embedded Free Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL).
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
=> yes
Choose a feature configuration:
1. Minimal (630 kB)
2. Small (960 kB)
3. Medium (1.5 MB)
4. Large (3 MB)
5. Everything (5 MB)
6. Your own local configuration (src/tools/qconfig-local.h)
Sizes are stripped dynamic 80386 build. Static builds are smaller.
Your choice (default 5):
=> 5
Choose pixel-depths to support:
v. VGA-16 - also enables 8bpp
4. 4bpp grayscale - also enables 8bpp
8. 8bpp
16. 16bpp
24. 24bpp - also enables 32bpp
32. 32bpp
Each depth adds around 100Kb on 80386.
Your choices (default 8,16):
=> 16
Enable Qt Virtual Framebuffer support for development on X11 (default
yes)
=> yes
Building on: linux-x86-g++-shared
Building for: linux-armv5l-g++-shared
Thread support..................... no
GIF support........................ yes
MNG support........................ no
JPEG support....................... no
Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
[root@jdt qt-2.3.7]#
[root@jdt qt-2.3.7]# make
-------------------------------------------------------------------------
이렇게 make명령을 수행하면 아래와 같은 오류 메세지가 나옵니다.
In file included from /usr/arm-linux/include/netinet/in.h:225,
from kernel/qwssocket_qws.cpp:45:
/usr/arm-linux/include/bits/in.h:70: ANSI c++ forbids data
member 'ip_opts' with same name as enclosing class
make[2]: *** [kernel/qwssocket_qws.o] 오류 1
make[2]: 나감 '/project/qt/src/qt-2.3.7/src' 디렉토리
make[1]: *** [sub-src] 오류 2
make[1]: 나감 '/project/qt/src/qt-2.3.7' 디렉토리
make: *** [init] 오류 2
[root@localhost qt-2.3.7]#
저는 ez-boardM01을 사용하고 있습니다. 그래서 qt작업할때 linux-arm으로 모
두 했습니다.
오류 수정하는 방법 좀 가르쳐 주십시요.
[root@jdt qt-2.3.7]# ./configure -xplatform linux-arm-g++ -shared -gif
This is the Qt/Embedded Free Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL).
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
=> yes
Choose a feature configuration:
1. Minimal (630 kB)
2. Small (960 kB)
3. Medium (1.5 MB)
4. Large (3 MB)
5. Everything (5 MB)
6. Your own local configuration (src/tools/qconfig-local.h)
Sizes are stripped dynamic 80386 build. Static builds are smaller.
Your choice (default 5):
=> 5
Choose pixel-depths to support:
v. VGA-16 - also enables 8bpp
4. 4bpp grayscale - also enables 8bpp
8. 8bpp
16. 16bpp
24. 24bpp - also enables 32bpp
32. 32bpp
Each depth adds around 100Kb on 80386.
Your choices (default 8,16):
=> 16
Enable Qt Virtual Framebuffer support for development on X11 (default
yes)
=> yes
Building on: linux-x86-g++-shared
Building for: linux-armv5l-g++-shared
Thread support..................... no
GIF support........................ yes
MNG support........................ no
JPEG support....................... no
Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
[root@jdt qt-2.3.7]#
[root@jdt qt-2.3.7]# make
-------------------------------------------------------------------------
이렇게 make명령을 수행하면 아래와 같은 오류 메세지가 나옵니다.
In file included from /usr/arm-linux/include/netinet/in.h:225,
from kernel/qwssocket_qws.cpp:45:
/usr/arm-linux/include/bits/in.h:70: ANSI c++ forbids data
member 'ip_opts' with same name as enclosing class
make[2]: *** [kernel/qwssocket_qws.o] 오류 1
make[2]: 나감 '/project/qt/src/qt-2.3.7/src' 디렉토리
make[1]: *** [sub-src] 오류 2
make[1]: 나감 '/project/qt/src/qt-2.3.7' 디렉토리
make: *** [init] 오류 2
[root@localhost qt-2.3.7]#
저는 ez-boardM01을 사용하고 있습니다. 그래서 qt작업할때 linux-arm으로 모
두 했습니다.
오류 수정하는 방법 좀 가르쳐 주십시요.