我使用的是博创公司的开发板s3c2410,用它自带的qt-2.3.2制作图形用户
界面,语法没有错误,但是make出现一下错误,请问是什么问题?
是因为GCC版本过高吗?还是哪里的配置出现问题呢?请大虾们指教阿?
下面是编译过程:
wangsite@wangsite-laptop:~/DeskGTop/radiogui$ make
arm-linux-gcc -o radiogui main.o radiogui.o moc_radiogui.o -L/home/wangsite/2410sQt/target/qt-2.3.10/lib -lm -lqte
radiogui.o(.text+0xa0): In function `Form1::Form1(QWidget*, char const*, bool, unsigned int)':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x180): In function `Form1::Form1(QWidget*, char const*, bool, unsigned int)':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x1a0): In function `Form1::Form1(QWidget*, char const*, bool, unsigned int)':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x270): In function `Form1::Form1(QWidget*, char const*, bool, unsigned int)':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x31c): In function `Form1::Form1(QWidget*, char const*, bool, unsigned int)':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x3c0): more undefined references to `operator new(unsigned int)' follow
radiogui.o(.text+0x7244): In function `Form1::~Form1()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x73a4): In function `Form1::AddEntrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x7510): In function `Form1::AsiaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x7a60): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x7a70): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x7b04): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x7b6c): more undefined references to `operator new(unsigned int)' follow
radiogui.o(.text+0x8004): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x8014): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x801c): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x8034): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x804c): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x80a0): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x80b8): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x810c): In function `Form1::AfricaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x8124): more undefined references to `operator new(unsigned int)' follow
radiogui.o(.text+0x89b4): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x89c4): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x89cc): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x89e4): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x89fc): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x8a50): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x8a68): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x8abc): In function `Form1::OceaniaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x8ad4): more undefined references to `operator new(unsigned int)' follow
radiogui.o(.text+0x9364): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x9374): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x937c): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x9394): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x93ac): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x9400): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x9418): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x946c): In function `Form1::AmericaToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0x9484): more undefined references to `operator new(unsigned int)' follow
radiogui.o(.text+0x9fc4): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x9fd4): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x9fdc): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0x9ff4): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xa00c): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xa060): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xa078): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xa0cc): In function `Form1::EuroToCountrySlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xa0e4): more undefined references to `operator new(unsigned int)' follow
radiogui.o(.text+0xaaf8): In function `Form1::CountriyToChannelSlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0xab08): In function `Form1::CountriyToChannelSlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0xab10): In function `Form1::CountriyToChannelSlot()':
: undefined reference to `operator delete(void*)'
radiogui.o(.text+0xab9c): In function `Form1::CountriyToChannelSlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xadc8): In function `Form1::CountriyToChannelSlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xb008): In function `Form1::CountriyToChannelSlot()':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xb2d0): In function `$a':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xb4fc): In function `$a':
: undefined reference to `operator new(unsigned int)'
radiogui.o(.text+0xb73c): more undefined references to `operator new(unsigned int)' follow
/home/wangsite/2410sQt/target/qt-2.3.10/lib/libqte.so: undefined reference to `operator new[](unsigned int)'
/home/wangsite/2410sQt/target/qt-2.3.10/lib/libqte.so: undefined reference to `__cxa_pure_virtual'
/home/wangsite/2410sQt/target/qt-2.3.10/lib/libqte.so: undefined reference to `operator delete[](void*)'
collect2: ld returned 1 exit status
make: *** [radiogui] 错误 1
请问是什么问题阿?
[ 此贴被XChinux在2008-09-28 18:52重新编辑 ]