From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,589ed407dd0c923f,start X-Google-Attributes: gidfee84,public From: whinston@my-dejanews.com Subject: Unresolved symbols during link Date: 1999/04/30 Message-ID: <7gcock$36g$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 472765318 X-Http-Proxy: 1.0 x16.dejanews.com:80 (Squid/1.1.22) for client 192.69.46.215 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Apr 30 17:13:59 1999 GMT Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I ;Nav) Hello all: I have problems linking my C program on a OSF1 v4.0 machine. I have done some research and found answers to most of my problems. However, there is still one symbol left unresolved. The program is a multi-threaded app that uses pthreads. This is the compile command: cc -I. -I.. -D_REENTRANT cltest.c This object file is linked with a number of libraries, most of which are shared objects. Note that most of these libraries are not system libraries (local libs and database libs): cc -v -shared -L/users/saw/lib -L/users/saw/gnu -rpath /users/saw/lib:/usr/shlib -g -L/users/saw/lib -L/users/saw/gnu -loaxmmsg -loaxmshm -loaxmora -loaxmotn -loaxmstb -loal -loa -lda -ldaffl -ldainf -ldaora -ldastb -lea -leastb -lia -ln a -lnastb -lox -ldl /dbs1/inf720/lib/esql/libixos.a /dbs1/inf720/lib/esql/libix gen.a /dbs1/inf720/lib/esql/libixsql.a /dbs1/inf720/lib/libixasf.a /dbs1/inf7 20/lib/esql/libixos.a /dbs1/inf720/lib/esql/libixgen.a /dbs1/inf720/lib/esql/l ibixgls.a -ltli /dbs1/inf720/lib/netstub.a -lxti -laio -lm -lrt -lots -lsecur ity -laud /dbs1/ora804/lib/libclntsh.so -lreadline -ltermcap -loal -loa -lda -l daffl -ldainf -ldaora -ldastb -lea -leastb -lia -lna -lnastb -lox -ldl /usr/ccs /lib/crt0.o -loacl -pthread cltest.o -o cltest And the unresolved symbol error when I try to execute it: 1473:cltest: /sbin/loader: Error: Unresolved symbol in /usr/shlib/libc.so: _end 1473:cltest: /sbin/loader: Fatal Error: this executable has unresolvable symbols I have seen a number of other postings that deal with this problem but those solutions haven't worked for me. If you can help, I would greatly appreciate your assistance. Thanks, Stephen -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own