Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Seamonkye + gcc/g++ 4.3

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Seamonkye + gcc/g++ 4.3
  • Date: Wed, 16 Apr 2008 21:22:25 -0700

On Wednesday, April 16 2008 07:25:04 Javier Vasquez wrote:
> Hi,
>
> I think I read something about seamonkey + new gcc/g++ 4.3.0, but I
> don't recall whether it was solved or not... The thing is that
> seamonkey doesn't want to compile for me. I get the following error:
>
> c++ -o TestMinStringAPI.o -c -I../../dist/include/system_wrappers
> -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API
> -DOSTYPE=\"Linux2.6.24\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000
> -I./../ds -I./services -I../../dist/include/string
> -I../../dist/include/xpcom -I../../dist/include -I/usr/include/nspr
> -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion
> -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic
> -march=pentium3 -pipe -O2 -fshort-wchar -pthread -pipe -DNDEBUG
> -DTRIMMED -march=pentium3 -pipe -O2 -DMOZILLA_CLIENT -include
> ../../mozilla-config.h -Wp,-MD,.deps/TestMinStringAPI.pp
> TestMinStringAPI.cpp
> c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
> -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor -Wno-long-long -pedantic -march=pentium3 -pipe
> -O2 -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -march=pentium3
> -pipe -O2 -o TestMinStringAPI TestMinStringAPI.o -s
> -L../../dist/bin -L../../dist/lib -L../../dist/bin -lxpcom
> -lxpcom_core -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl
> -lm
> TestMinStringAPI.o: In function `test_adopt_sub()':
> TestMinStringAPI.cpp:(.text+0x17d): undefined reference to
> `nsMemory::Clone(void const*, unsigned int)'
> TestMinStringAPI.o: In function `test_adopt()':
> TestMinStringAPI.cpp:(.text+0x22d): undefined reference to
> `nsMemory::Clone(void const*, unsigned int)'
> collect2: ld returned 1 exit status
> make[3]: Leaving directory `/usr/src/seamonkey-1.1.9/mozilla/xpcom/tests'
> make[2]: Leaving directory `/usr/src/seamonkey-1.1.9/mozilla/xpcom'
> make[1]: Leaving directory `/usr/src/seamonkey-1.1.9/mozilla'
> make[3]: *** [TestMinStringAPI] Error 1
> make[2]: *** [libs] Error 2
> make[1]: *** [tier_2] Error 2
> make: *** [default] Error 2
>
> I'm attaching the cast log... I haven't had the time to look at it
> yet, but if this already overcome, please let me know, and what should
> I do, :)...
>
> Thanks,

I have yet to get Seamonkey (and a few other Mozilla-based spells) working
with GCC 4.3.0. The ones I did get working were committed well before GCC
4.3.0 even made it to test. Others are welcome to help figure these out, but
I'll get back to them "soon" if not. :)

For most of the issues with GCC 4.3.0 a missing #include is all you need to
find.

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page