Don Hatch (hatch++at++hell.asd.sgi.com)
Sat, 3 May 1997 10:13:39 -0700
> 4565:./multichan: rld: Fatal Error: attempted access to unresolvable
> symbol
> in /usr/lib64/libpf_ogl.so: __vec_new2
>
> And the following are the arguments/flags used for compiler:
> -nostdinc -I/usr/include -mips4 -64 -O -OPT:Olimit=2000 -MDupdate depend
>
> -L/usr/lib64 -L/lib64 -all -ignore_unresolved -L/usr/lib/libpfdb
> -lpf_ogl -lpfdu_ogl -lpfui -lpfutil_ogl -lmpc -limage -ignore_unresovled
>
> -lGL -lXsgivc -lXirisw -lXm -lXt -lfpe -lXmu -lX11 -lm -lmalloc -lC
>
> Can anyone tell me what I might have done wrong?
> Thank you in advance!
You have to link with CC (not cc or ld), even when it's a C program.
(__vec_new2 is defined in some other undocumented library
that CC automatically pulls in).
Sorry, I know it's gross.
Don
--
Don Hatch hatch++at++sgi.com (415) 933-5150 Silicon Graphics, Inc.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:11 PDT