tech-pkg archive

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

new libtool and py-expect



devel/py-expect is failing to build with the new libtool because for 
some reason its stripping the "-shared" argument before invoking cc 
and I can't see why.

libtool  --mode=link 
cc -L/usr/pkg/lib -L/usr/pkg/lib/python2.5/config -L/usr/pkg/lib/tcl/expect5.43 
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib/python2.5/config -Wl,-R/usr/pkg/lib/python2.5/config -shared -o 
ExpectPymodule.so expect.lo ExpPyint.lo stty.lo ExpPyTcl.lo 
explib/libdummy.la -L/usr/pkg/lib/tcl/expect5.43 -lexpect543 -L/usr/local 
-ltcl84 -lpython2.5 -lpthread -lm -lutil -lutil
libtool: link: 
cc -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/python2.5/config -o 
ExpectPymodule.so .libs/expect.o .libs/ExpPyint.o .libs/stty.o .libs/ExpPyTcl.o 
 -L/work/devel/py-expect/work/.buildlink/lib 
-L/work/devel/py-expect/work/.buildlink/lib/python2.5/config 
-L/work/devel/py-expect/work/.buildlink/lib/tcl/expect5.43 
explib/.libs/libdummy.a 
/work/devel/py-expect/work/.buildlink/lib/libexpect543.so -lc 
/work/devel/py-expect/work/.buildlink/lib/libtcl84.so -lpython2.5 -lpthread -lm 
-lutil -Wl,-rpath -Wl,/work/devel/py-expect/work/.buildlink/lib -Wl,-rpath 
-Wl,/work/devel/py-expect/work/.buildlink/lib
/work/devel/py-expect/work/.buildlink/lib/libpython2.5.so: warning: 
warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
/work/devel/py-expect/work/.buildlink/lib/libpython2.5.so: warning: 
warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/lib/crt0.o: In function `___start':
: undefined reference to `main'
*** Error code 1


cheers
mark


Home | Main Index | Thread Index | Old Index