[PD] Compile error for gem
geiger at xdv.org
Fri Sep 24 11:10:32 CEST 2004
The debian packages are compiled for amd64 too, so the build problems
should be fixed there. I haven't yet reintegrated the fixes because
the debian package uses a build system for gem that was written from
scratch, and might still be debian specific although I tried to make it
general. It is a lot simpler too, but still experimental.
On Thu, 23 Sep 2004, thewade wrote:
> > > Should I add -fPIC somewhere in the makefile? or in LIBS variable for
> > > make?
> > -fPIC should be specified at compile time, not at link time (i think)
> > isn\'t the \"-fPIC\" flag specified in the Makefile (the \"sub-makefiles\",
> > not the master-makefile in src/Gnu, which does only the linking)
> I think your right. The sub-make files have -fPIC included for compilation.
> Im getting the same thing with zexy:
> [pdman at musicbox src]$ ld -export_dynamic -shared -o zexy.pd_linux *.o -lc -lm
> ld: z_average.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
> z_average.o: could not read symbols: Bad value
> ...and there all files ARE compiled with -fPIC as well. Is this a compiler
> problem? If so, why have I not encountered it when building other packages?
> Thanks again for the help!
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list