compile error '--with-cxx=c++'

Jochen Küpper jochen at jochen-kuepper.de
Sat Jan 26 21:52:07 EST 2002


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

Compiling current cvs python-22 branch, configured with 
,----
|./configure  --with-fpectl --with-cxx=c++
`----
I get the following error
,----
| gcc  -Xlinker -export-dynamic -o python \
|                 Modules/ccpython.o \
|                 libpython2.2.a -ldl  -lpthread -lutil -lcrypt  -ltix4.1.8.3 -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11   -lm
| libpython2.2.a(posixmodule.o): In function `posix_tmpnam':
| /home/software/programming/compiler/python/dist/src/Modules/posixmodule.c:4508: the use of `tmpnam_r' is dangerous, better use `mkstemp'
| libpython2.2.a(posixmodule.o): In function `posix_tempnam':
| /home/software/programming/compiler/python/dist/src/Modules/posixmodule.c:4458: the use of `tempnam' is dangerous, better use `mkstemp'
| Modules/ccpython.o: In function `main':
| /home/software/programming/compiler/python/dist/src/Modules/ccpython.cc:10: undefined reference to `__gxx_personality_v0'
| collect2: ld returned 1 exit status
| make: *** [python] Error 1
`----

Linking with c++ instead of gcc works.

This is RedHat-7.1 + gcc-3.0.4 prerelease

Greetings,
Jochen
- -- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: 44BCCD8E
        Sex, drugs and rock-n-roll
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GnuPG <http://www.gnupg.org/>

iD8DBQE8U2tSiJ/aUUS8zY4RAuNRAJ4rLkKyemRkixY7FGBBRArmebZFFACfW0RD
+Vr+4aXyhEKvswxU5bLu8CU=
=yWi2
-----END PGP SIGNATURE-----



More information about the Python-list mailing list