Subject: Re: VRwave compile
To: None <netbsd-help@NetBSD.ORG>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-help
Date: 03/02/1998 14:34:12
In article <XFMail.980228171900.gelbard@engr.orst.edu> you wrote:
> gcc -shared -o libgejcon-mesa.so OGLCanvas.o gejcon-mesa.o GE3D.o gejimpl.o
> ge3d_mesa.o Builder.o vrwbuild.o asmooth.o triangulate.o Picker.o vrwpick.o
> -L/usr/local/lib -lMesaGLU -lMesaGL -lXext -L/usr/X11/lib -lXmu -lX11 -lm 
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0xcf4
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0xbcb
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0xb59
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0xb29
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0x627
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0x605
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0x32e
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0x1ae
> ld: gejcon-mesa.o: relocation must refer to global symbol at 0x14b
> ld: No reference to __DYNAMIC
> *** Error code 1

Just a thought: did you compile with -fpic/fPIC?


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>