2009-04-06 05:57:18 SDL_gfx does not compile .so shared lib, why??
Konstantin Hartwich (GERMANY)
Message: 72208
hi,
using the trunk of the uclinux-dist, compiling with bftoolchain from trunk also.
dist is comiled using FDPIC.
the SDL_gfx-2.0.17 does not compile well, when selected in the manuconfig. better to say, it compiles, but only the static verisons, whereas the shared stuff seems to just beeing left out. so the post build make romfs call in the build process quits like
....
make[2]: Entering directory `/home/user/work/uClinux/trunk/lib/SDL_gfx'
romfs-inst.sh -d -e CONFIG_FMT_USE_FDPIC_ELF /home/user/work/uClinux/trunk/staging/usr/lib/libSDL_gfx.so.0 /usr/lib/libSDL_gfx.so.0
cp: cannot stat `/home/user/work/uClinux/trunk/staging/usr/lib/libSDL_gfx.so.0': No such file or directory
make[2]: *** [romfs] Error 1
make[2]: Leaving directory `/home/user/work/uClinux/trunk/lib/SDL_gfx'
make[1]: *** [romfs] Error 2
make[1]: Leaving directory `/home/user/work/uClinux/trunk/lib'
make: *** [romfs.subdirs] Error 1
...
the compile is done 'well', but neither i could see, that any shared .so had been build. so why that?
i tried to use the old Makefile, instead of the new apporach with the $(ROOTDIR)/tools/autotools.mk, intriduced some 4 months ago, but same result. tried to add the --enable-shared flag to the CONFOPTS, (which is used implicitly anyway, as ./configure --help stated). using a current release of SDL_gfx-2.0.18 from the page (and replacing the config.sub for blackfin support) made same results.
does the SDL_gfx package support FDPIC or not?
attached is a makeres file, which is tha dump of 'make > makeres 2>&1'.
if anyone got same problem, and solved it, pls, let me know.
cheers
makeres
QuoteReplyEditDelete
2009-04-06 06:30:46 Re: SDL_gfx does not compile .so shared lib, why??
Mike Frysinger (UNITED STATES)
Message: 72210
libtool just needs refreshing. ive added 2.0.18 to svn trunk with rebuilt autotools.
QuoteReplyEditDelete
2009-04-06 06:57:28 Re: SDL_gfx does not compile .so shared lib, why??
Konstantin Hartwich (GERMANY)
Message: 72211
thanks for really quick response
worked fine