|
From: | 金超 |
Subject: | [Ltib] Problems with powerpc-linux-g++ (countinued) |
Date: | Thu, 18 Jan 2007 09:20:34 +0800 |
Hi Stuart,
Thank you for your interest in my name. It is a new package,with a spec file. I made other new packages before and succeeded, but this time I failed. My LTIB version is 6.2.1 (1.241) and the platform I use is mpc8349itx. The iometer source code is written in C++ , which is a little different, so I need to compile it with powerpc-linux-g++, but as I said before, a problem occured. You said I need patches, what kind of patches do I need? ----- Original Message ----- From: "Stuart Hughes" <address@hidden> To: "金超" <address@hidden> Cc: <address@hidden> Sent: Monday, January 15, 2007 9:53 PM Subject: Re: [Ltib] Problems with powerpc-linux-g++ under ltib > Hi oneofakind (interesting name), > > Is this a new package? If so did you add any cross-compile patches > (usually needed), also do you have a spec file and a URL for the source > code. > > Also what version of LTIB and platform are you using. > > Regards, Stuart > > > On Mon, 2007-01-15 at 21:42 +0800, 金超 wrote: >> Hi, >> When I compile the source code of iometer for ppc >> using /opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/bin/powerpc-linux-g++,I encounter the following mistake: >> >> *************************************************** >> In file included >> from /opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/lib/gcc/powerpc-linux/3.4.3/../../../../include/c++/3.4.3/sstream:640, >> from IOPort.h:83, >> from IOManager.h:93, >> from Pulsar.cpp:135: >> /opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/lib/gcc/powerpc-linux/3.4.3/../../../../include/c++/3.4.3/bits/sstream.tcc: In member function `virtual typename std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename _Traits::int_type)': >> /opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/lib/gcc/powerpc-linux/3.4.3/../../../../include/c++/3.4.3/bits/sstream.tcc:102: error: expected unqualified-id before '(' token >> /opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/lib/gcc/powerpc-linux/3.4.3/../../../../include/c++/3.4.3/bits/sstream.tcc:104: error: expected unqualified-id before '(' token >> make: *** [Pulsar.o] Error 1 >> *************************************************** >> >> It seems that something is wrong with the file sstream.tcc. >> Would you please help me solve this problem?I'll be greatly >> appreciated. >> _______________________________________________ >> LTIB home page: http://bitshrine.org >> >> Ltib mailing list >> address@hidden >> http://lists.nongnu.org/mailman/listinfo/ltib > > |
[Prev in Thread] | Current Thread | [Next in Thread] |