Compiling on Solaris

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
Mets
Private First Class
Private First Class
Posts: 29
Joined: Thu Aug 17, 2006 1:30 am
Location: Texas, but formerly New York, USA

Compiling on Solaris

Post by Mets »

So I have a Sunblade 100 sitting around and I thought I'd give compiling a shot on it. I've run into a few errors on both 2.0.11, 2.0.10, and 2.0.8, but the leading problem right now seems to be this error message:

Code: Select all

../c-ares/.libs/libcares.a ../regex/.libs/libregex.a ../date/.libs/libDate.a /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.1/libstdc++.a -L/usr/ccs/bin -L/usr/ccs/lib -lm -lgcc /usr/local/lib/libcurl.so -lssl -lcrypto -ldl -lz -lsocket -lnsl -lresolv -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/openwin/lib
Undefined                       first referenced
 symbol                             in file
curl_multi_perform(void*, int*)     ../common/.libs/libCommon.a(cURLManager.o)
curl_multi_add_handle(void*, void*) ../common/.libs/libCommon.a(cURLManager.o)
curl_multi_remove_handle(void*, void*)../common/.libs/libCommon.a(cURLManager.o)
curl_multi_fdset(void*, fd_set*, fd_set*, fd_set*, int*)../common/.libs/libCommon.a(cURLManager.o)
curl_multi_init()                   ../common/.libs/libCommon.a(cURLManager.o)
curl_multi_info_read(void*, int*)   ../common/.libs/libCommon.a(cURLManager.o)
ld: fatal: Symbol referencing errors. No output written to bzfs
collect2: ld returned 1 exit status
make[2]: *** [bzfs] Error 1
I have libcurl installed, and I tried compiling with the --with-libcurl=/path/to/libcurl.so switch, but I'm still getting that error. Any ideas?
Enigma
Private First Class
Private First Class
Posts: 212
Joined: Sat Apr 23, 2005 3:13 am

Post by Enigma »

Wait, did you use --with-libcurl=FILE or --with-libcurl=DIR?

Have you tried using LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" instead of --with-libcurl?

I'm just throwing around ideas.
User avatar
Mets
Private First Class
Private First Class
Posts: 29
Joined: Thu Aug 17, 2006 1:30 am
Location: Texas, but formerly New York, USA

Post by Mets »

Thanks for the suggestion Enigma, unfortunately it didn't work :(

I tried both the libcurl path and physicall giving it the .so file, but neither worked. They both give the same output, as does giving it the LDFLAGS and CPPFLAGS.
Post Reply