请问各位朋友,我在编译友善提供的arm-qtopia的时候,遇到一点问题,希望来个明白人给我指点指点,谢谢拉。
编译玩qt交叉编译环境,进行qt程序开发时make总是报错,如下:
moc_form1.o: In function `Form1::className(void) const':
moc_form1.o(.text+0x0): multiple definition of `Form1::className(void) const'
moc_hello.o(.text+0x0): first defined here
moc_form1.o(.data+0x0): multiple definition of `Form1::metaObj'
moc_hello.o(.data+0x0): first defined here
moc_form1.o: In function `Form1::initMetaObject(void)':
moc_form1.o(.text+0x18): multiple definition of `Form1::initMetaObject(void)'
moc_hello.o(.text+0x18): first defined here
moc_form1.o: In function `Form1::staticMetaObject(void)':
moc_form1.o(.text+0x110): multiple definition of `Form1::staticMetaObject(void)'
moc_hello.o(.text+0x110): first defined here
moc_form1.o: In function `Form1::tr(char const *)':
moc_form1.o(.text+0x84): multiple definition of `Form1::tr(char const *)'
moc_hello.o(.text+0x84): first defined here
moc_form1.o: In function `Form1::tr(char const *, char const *)':
moc_form1.o(.text+0xcc): multiple definition of `Form1::tr(char const *, char const *)'
moc_hello.o(.text+0xcc): first defined here
/usr/local/arm/2.95.3/arm-linux/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
make: *** [hello] Error 1
我的环境是:redhat9, 2.4内核 arm的2440开发板
Qtopia-free-src-2.2.0.tar.gz:
cross-2.95.3.tar.bz2:
libtool-2.2.tar.gz:
e2fsprogs-1.40.2.tar.gz:
jpegsrc.v6b.tar.gz:
libpng-1.2.19-no-config.tar.bz2:
zlib-1.2.3.tar.bz2: