Problems compiling with includes from arm-gcc linux headers
Alex Wemmer <[email protected]> 05 Mar 2003 17:25:06 +0100
| Newsgroups | gmane.comp.handhelds.zaurus.devel |
|---|---|
| Message-ID | <1046881506.1533.5.camel@fitipc195> |
Hi,
I am currently porting my project from the x86 to the zaurus-arm
platform and have encountered the following problem:
----------------------------------
alex@fitipc195:~/magisterarbeit/src/bttag$ tmake bttag.arm.pro >Makefile
alex@fitipc195:~/magisterarbeit/src/bttag$ make clean all
rm -f Configuration.o DataUpdate.o Util.o TagManager.o Tracking.o
Startup.o SensorManager.o SensorModule.o InquiryAndVisible.o
BluetoothAndNetworkAbstraction.o LinearEmulationSensorModule.o bttag
rm -f *~ core
arm-linux-g++ -c -pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS
-fno-exceptions -fno-rtti -Wall -W -g -DARM
-I/opt/Embedix/tools/arm-linux/include -I/usr/local/include
-I/usr/include -I. -o Configuration.o Configuration.cpp
arm-linux-g++ -c -pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS
-fno-exceptions -fno-rtti -Wall -W -g -DARM
-I/opt/Embedix/tools/arm-linux/include -I/usr/local/include
-I/usr/include -I. -o DataUpdate.o DataUpdate.cpp
arm-linux-g++ -c -pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS
-fno-exceptions -fno-rtti -Wall -W -g -DARM
-I/opt/Embedix/tools/arm-linux/include -I/usr/local/include
-I/usr/include -I. -o Util.o Util.cpp
arm-linux-g++ -c -pipe -DQT_QWS_EBX -DQT_QWS_CUSTOM -DQWS
-fno-exceptions -fno-rtti -Wall -W -g -DARM
-I/opt/Embedix/tools/arm-linux/include -I/usr/local/include
-I/usr/include -I. -o TagManager.o TagManager.cpp
In file included from
/opt/Embedix/tools/arm-linux/include/netinet/in.h:250,
from /opt/Embedix/tools/arm-linux/include/netdb.h:28,
from BluetoothAndNetworkAbstraction.h:10,
from Tracking.h:5,
from TagManager.h:13,
from TagManager.cpp:2:
/opt/Embedix/tools/arm-linux/include/bits/in.h:69: ANSI C++ forbids data
member `ip_opts' with same name as enclosing class
make: *** [TagManager.o] Error 1
----------------------------------
Does anyone have any idea what i should do?
Thanks for your help!
--
greetings, Alex
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com