compile performer code with "-64" option!?

New Message Reply Date view Thread view Subject view Author view

Charlie H. Chang (a00chc00++at++nchc.gov.tw)
Sat, 03 May 1997 12:02:27 +0800


Hi all,

I attach my problem as following...

--
Charlie H. Chang                E-mail: a00chc00++at++nchc.gov.tw
Voice: 886-3-5776085x209        Fax: 886-3-5773620
Media & Visualization Lab, National Center for High-performance
Computing

Hi,

I think I should describe my compiling problem more clearly, so this is the error message I got:

---------------------------------------------------------------------------- /usr/bin/cc -DOPENGL -nostdinc -I/usr/include -mips4 -64 -O -OPT:Olimit=2000 -MDupdate Depend -w -o pathFly pathFly.c -L/usr/lib/libpfdb -L/usr/lib64 -L/lib64 -all -lpf_ogl -lpfdu_ogl -lpfui -lpfutil_ogl -lmpc -limage -lGL -lXsgivc -lXirisw -lXm -lXt -lfpe -lXmu -lX11 -lm -lmalloc -lC ld64: ERROR 33: Unresolved text symbol "XextCreateExtension" -- 1st referenced by /usr/lib64/libXsgivc.a(Xvc.o). ld64: ERROR 33: Unresolved text symbol "XextFindDisplay" -- 1st referenced by /usr/lib64/libXsgivc.a(Xvc.o). ld64: ERROR 33: Unresolved text symbol "XextAddDisplay" -- 1st referenced by /usr/lib64/libXsgivc.a(Xvc.o). ld64: ERROR 33: Unresolved text symbol "XextRemoveDisplay" -- 1st referenced by /usr/lib64/libXsgivc.a(Xvc.o). ld64: ERROR 33: Unresolved text symbol "XMissingExtension" -- 1st referenced by /usr/lib64/libXsgivc.a(Xvc.o). *** Error code 2 (bu21) ----------------------------------------------------------------------------

And my Makefile:

---------------------------------------------------------------------------- # CC=/usr/bin/cc GFLAGS=-DOPENGL PLIB=${OPENGL}

INCFLAGS=-nostdinc -I/usr/include

SYSFLAGS=-mips4 -64 -O -OPT:Olimit=2000 -MDupdate Depend #SYSFLAGS=-mips2 -O -Olimit 2000 -MDupdate Depend

SYSLIBDIR=-L/usr/lib64 -L/lib64 -all #SYSLIBDIR=-L/usr/lib -L/lib -all -ignore_unresolved

PERFLIBDIR=-L/usr/lib/libpfdb LIBDIR=${PERFLIBDIR} ${SYSLIBDIR}

# warning messages MISCFLAGS=-w

# # libraries; for now, I take away "-ignore_unresolved" option ... # IRISGL=-lpf_igl -lpfdu_igl -lpfui -lpfutil_igl -lmpc -limage -lfm \ # -ignore_unresolved -lgl -lXsgivc -lXirisw -lXm -lXt -lfpe -lXmu \ -lgl -lXsgivc -lXirisw -lXm -lXt -lfpe -lXmu \ -lX11 -lm -lmalloc -lC OPENGL=-lpf_ogl -lpfdu_ogl -lpfui -lpfutil_ogl -lmpc -limage \ -lGL -lXsgivc -lXirisw -lXm -lXt -lfpe -lXmu \ -lX11 -lm -lmalloc -lC # OBJS=pathFly.o EXEC=pathFly

CFLAGS=${GFLAGS} ${INCFLAGS} ${SYSFLAGS} ${MISCFLAGS}

pathFly: ${CC} ${CFLAGS} -o pathFly pathFly.c ${LIBDIR} ${PLIB}

clean: rm -f ${OBJS} clobber: rm -f ${OBJS} ${EXEC} core Depend ----------------------------------------------------------------------------

When I use "-mips2 ..." option, the program gets compiled and runs, but with option of "-mips4 ... -L/lib64 ...", I get the error message. Can someone help me? Thank you in advance!

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:11 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.