[PD] Compile error for gem

guenter geiger geiger at xdv.org
Fri Sep 24 18:48:42 CEST 2004


On Fri, 24 Sep 2004, thewade wrote:
> I see a gem_0.90.0-5_amd64.deb, can I untar that? I am on FC3T1, how can I
> open this archive and view the makefile(s) and the configure script(s)?

Attached is a patch against 0.90.0, which should update the build system.
Just go into the unpackage gem sourcedir and issue:

zcat 00_buildsys.patch.gz | patch -p1

As I said, haven't tried that on other distros, but I would be interested
if it works.

Guenter



>
> Thanks for the help!
> -thewade
>
> > The debian packages are compiled for amd64 too, so the build problems
> > should be fixed there.
> >
> > http://debian-amd64.alioth.debian.org/pure64/pool/unstable/main/amd64/g/gem/
> > http://packages.debian.org/gem
> >
> > > > > 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
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00_buildsys.patch.gz
Type: application/octet-stream
Size: 100674 bytes
Desc: 
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040924/e97b0318/attachment.obj>


More information about the Pd-list mailing list