![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with SunStudio Compile for firefox - static build | biea | SUN Solaris | 3 | 02-14-2008 06:38 PM |
| C compile error | kuampang | High Level Programming | 3 | 11-30-2006 12:30 AM |
| how to solve error : Bind: Address Already in Use | bhakti | High Level Programming | 2 | 07-27-2006 04:12 PM |
| ldap bind error | mridula | High Level Programming | 2 | 12-06-2005 06:13 PM |
| bind() error | Virtuosso | IP Networking | 2 | 06-07-2002 06:17 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
lpthread error when trying to compile static BIND
Hi,
Ive run into a hurdle trying to compile a static build of BIND-9.3.1. ./configure completes fine and then i kick off make with: env CFLAGS=" -static -z muldefs -g -O2" make -e It gets about halfway before dying with the following error: make[2]: Entering directory `/usr/local/install/BIND/bind-9.3.1/lib/dns' gcc -static -z muldefs -g -O2 -I/usr/local/install/BIND/bind-9.3.1 -I. -Iinclude -I/usr/local/install/BIND/bind-9.3.1/lib/dns/include -I../../lib/dns/include -I/usr/local/install/BIND/bind-9.3.1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -D_REENTRANT -DUSE_MD5 -D_XPG4_2 -D__EXTENSIONS__ -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -o gen ./gen.c -lnsl -lsocket -lpthread -lthread ld: fatal: library -lpthread: not found ld: fatal: library -lthread: not found ld: fatal: File processing errors. No output written to gen collect2: ld returned 1 exit status make[2]: *** [gen] Error 1 make[2]: Leaving directory `/usr/local/install/BIND/bind-9.3.1/lib/dns' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/local/install/BIND/bind-9.3.1/lib' make: *** [subdirs] Error 1 It looks like it cant find a library group somewhere but im not sure where. Any ideas would be appreciated. Im running a SPARC Solaris 9, with the GCC, Make and PERL packages from Sunfreeware. PATH=/usr/local/bin:/usr/ccs/bin:/usr/ccs/lib:/usr/include:/usr/ucb:/usr/local/samba/bin:/usr/local/samba/sbin:/usr/sbin:/usr/bin Regards, Michael |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|