On mar, 2008-11-04 at 09:02 +1030, Karl Goetz wrote: > On Mon, 2008-11-03 at 12:05 -0500, Jean Schurger wrote: > > On sam, 2008-11-01 at 20:23 +1030, Karl Goetz wrote: > > > Hi all, > > Hm, did you mean to reply off-list? > > > > Wondering who wrote the gnewsense usplash package? > > > It fails to build under a few circumstances, and I'm hoping someone > > > familar with it will be willing to debug it :) > > > kk > > > > > > It's me :) > > Hi you :) > I was hoping you would be willing to look into a bug I'm experiencing > trying to rebuild the package on an amd64 > > gcc -g -fPIC -shared -o usplash-theme-gnewsense.so throbber_back.png.c.o > throbber_back_16.png.c.o throbber_fore.png.c.o throbber_fore_16.png.c.o > usplash_1024_768.png.c.o usplash_1365_768_scaled.png.c.o > usplash_800_600.png.c.o usplash_640_400.png.c.o usplash_640_480.png.c.o > usplash-theme-gnewsense.o > /usr/bin/ld: usplash-theme-gnewsense.o: relocation R_X86_64_32 against > `pixmap_throbber_back' can not be used when making a shared object; > recompile with -fPIC > > ^^^ error > > usplash-theme-gnewsense.o: could not read symbols: Bad value > collect2: ld returned 1 exit status > > ^^^ error > > make[1]: *** [usplash-theme-gnewsense.so] Error 1 > rm usplash_1024_768.png.c usplash_1365_768_scaled.png.c > throbber_fore_16.png.c throbber_back.png.c usplash_640_480.png.c > usplash_640_400.png.c throbber_back_16.png.c throbber_fore.png.c > usplash_800_600.png.c > make[1]: Leaving directory > `/local/gnewsense/tmp/usplash-theme-gnewsense' > make: *** [build-stamp] Error 2 > dpkg-buildpackage: failure: debian/rules build gave error exit status > > Do you have any idea why this would be happening? (sorry about the > wrapping - its evolutions fault).
hummm, a don't know about this error, but as a can see in your mail, you've used the -fPIC as suggested by gcc on the 'final' link. May be you can try to use this option for the .png -> .o build. (and i think that wrapping to 80 chars is correct but i don't know the english hyphenation rules) Jean. _______________________________________________ gNewSense-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-users
