errors in cross-compiling

Jason Hihn Jason.Hihn at verint.com
Tue Mar 16 14:48:08 CET 2004


./configure --enable-embedded -enable-qt-embedded
--with-qt-dir=/home/me/qt-e --without-ssl --prefix=/home/me/konq-e
--host=x86 --target=ppc --disable-pcre


Was my configure line. I made it w/o the xmake and xconfigure scripts... I
did have a problem with libjpeg though (but I documented that on this list
already)

Hope that helps. PS. It took a compiler upgrade to gcc 3.3.1 to work.




-J
Verint Systems Inc
 
 

-----Original Message-----
From: xycheng97 [mailto:xycheng97 at mails.tsinghua.edu.cn] 
Sent: Tuesday, March 16, 2004 3:26 AM
To: konq-e at mail.kde.org
Subject: errors in cross-compiling

Hi, 
When I try to cross-compiling konqueror-e on sh4-linux, there are errors.
Can
anybody help? Below is the error message:

In file included from /usr/include/netinet/in.h:212,
                 from ../../kdesrc/kio/http/http.h:27,
                 from slavebase.cpp:32:
/usr/include/bits/socket.h:236:52: warning: "__STDC_VERSION__" is not
defined
/usr/include/bits/socket.h:242:52: warning: "__STDC_VERSION__" is not
defined
In file included from /usr/include/netinet/in.h:212,
                 from ../../kdesrc/kio/http/http.h:27,
                 from slavebase.cpp:32:
/usr/include/bits/socket.h: In function `cmsghdr* __cmsg_nxthdr(msghdr*,
   cmsghdr*)':
/usr/include/bits/socket.h:271: warning: cast from `unsigned char*' to
   `cmsghdr*' increases required alignment of target type
slavebase.cpp: In member function `void KIO::SlaveBase::dispatchLoop()':
slavebase.cpp:265: Internal compiler error in instantiate_virtual_regs_1, at
   function.c:4057
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[5]: *** [slavebase.lo] Error 1
make[5]: Leaving directory
`/root/qt/konq-latest/konqueror-sh4/konq-embed/dropin/kio'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/root/qt/konq-latest/konqueror-sh4/konq-embed/dropin/kio'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/root/qt/konq-latest/konqueror-sh4/konq-embed/dropin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/qt/konq-latest/konqueror-sh4/konq-embed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/qt/konq-latest/konqueror-sh4'
make: *** [all] Error 2


_______________________________________________
konq-e mailing list
konq-e at kde.org
https://mail.kde.org/mailman/listinfo/konq-e



More information about the konq-e mailing list