bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Bug#188881: libcommoncpp2: libccgnu2.so is unusable (won't link)


From: Mark Purcell
Subject: Fwd: Bug#188881: libcommoncpp2: libccgnu2.so is unusable (won't link)
Date: Sat, 19 Apr 2003 14:09:20 +1000
User-agent: KMail/1.5.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David, (and others on bug-commoncpp)

I have found it necessary to rebuild the libtool chain for commoncpp2 to 
ensure it's correct linking for the hppa architecture. You might also like to 
rebuild your libtool chain in the upstream source for the next release of 
commoncpp2.

The commoncpp2 build on hppa log is available here:
http://buildd.debian.org/build.php?&pkg=libcommoncpp2&ver=1.0.7-4&arch=hppa

The glcpu build on hppa log is available here:
http://buildd.debian.org/fetch.php?&pkg=glcpu&ver=1.0.1-3&arch=hppa&stamp=1049594883&file=log&as=raw

The complete diff of changes to get commoncpp2 building across the Debian 
GNU/Linux architectures is available here:
http://packages.debian.org/unstable/libdevel/libcommoncpp2-dev.html

Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+oMv3oCzanz0IthIRAt6TAJ4zrW4snW+eESj/RDL4RxoDOTQJwQCfcFB7
poMtw1sX8twV7wAyhCXL5SU=
=oJcF
-----END PGP SIGNATURE-----
--- Begin Message --- Subject: Bug#188881: libcommoncpp2: libccgnu2.so is unusable (won't link) Date: Sun, 13 Apr 2003 12:49:13 -0600 (MDT)
Package: libcommoncpp2
Version: 1.0.7-4
Severity: serious

c++ apps must be linked with g++, not gcc.  rebuilding the libtool
stuff with a current libtool (sid) should be sufficient to fix this.

lamont

> /bin/sh ../libtool --mode=link c++  ... -o libccgnu2.la ..
> rm -fr .libs/libccgnu2.la .libs/libccgnu2.* .libs/libccgnu2-1.0.*
> gcc -shared ...

yields the following in glcpu's build:
> g++ main.o parser.o config.o -L/usr/X11R6/lib -lX11 -lXext -lXmu -L/usr/lib 
> -lccgnu2 -ldl -pthread -lGL -lGLU -lglut -lpthread -o glcpu
> /usr/lib/libccgnu2.so: undefined reference to `__gxx_personality_v0'
> /usr/lib/libccgnu2.so: undefined reference to `_Unwind_Resume'
> collect2: ld returned 1 exit status

-- System Information
Debian Release: 3.0
Kernel Version: Linux security.hp.com 2.4.20-pa27 #2 Sat Mar 1 02:32:55 MST 
2003 parisc64 unknown



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]