- Subject: [slang-users] Fwd: make out slcurl with libtool
- From: "Brian McQueen" <mcqueenorama@xxxxxxxxx>
- Date: Fri, 2 Mar 2007 09:46:54 -0800
I wanted to get it to compile with libtool so I could use the
libraries without needing to set LD_LIBRARY_PATH. I made a half
hearted attempt at updating the Makefile and the compile fails as
shown below. I am missing something as you can see by the undefined
symbols. Also there is a reference to "main" coming from somewhere.
Any clues for me?
libtool --mode=link cc -O2 -I/arpa/gm/m/mcqueeno/include
-I/arpa/gm/m/mcqueeno/include curl-module.c -o curl-module.so
-L/arpa/gm/m/mcqueeno/lib -lslang -L/arpa/gm/m/mcqueeno/lib -lcurl
-lm
cc -O2 -I/arpa/gm/m/mcqueeno/include -I/arpa/gm/m/mcqueeno/include
curl-module.c -o curl-module.so -L/arpa/gm/m/mcqueeno/lib -lslang
/arpa/gm/m/mcqueeno/lib/libcurl.so -L/usr/pkg/lib
/usr/pkg/lib/libidn.so /usr/pkg/lib/libintl.so -lssl -lcrypto
/usr/pkg/lib/libz.so -lm -Wl,--rpath -Wl,/arpa/gm/m/mcqueeno/lib
-Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/arpa/gm/m/mcqueeno/lib
-Wl,--rpath -Wl,/usr/pkg/lib
/usr/pkg/lib/libcrypto.so: warning: warning: reference to
compatibility times(); include <sys/times.h> for correct reference
ld: warning: libintl.so.0, needed by /usr/pkg/lib/libidn.so, may
conflict with libintl.so.3
/usr/lib/crt0.o(.text+0xf0): In function `__start':
: undefined reference to `main'
/usr/lib/crt0.o(.text+0xf4): In function `__start':
: undefined reference to `main'
/arpa/gm/m/mcqueeno/lib/libslang.so: undefined reference to `tgetnum'
/arpa/gm/m/mcqueeno/lib/libslang.so: undefined reference to `tgetflag'
/arpa/gm/m/mcqueeno/lib/libslang.so: undefined reference to `tgetent'
/arpa/gm/m/mcqueeno/lib/libslang.so: undefined reference to `tgetstr'
*** Error code 1
Stop.
make: stopped in /arpa/gm/m/mcqueeno/slcurl-0.1.2/src
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]