邹伟 wrote: > hi,all! > I am porting directfb+gtk to my arm arch board.there are some errors. > I cross compile all the tarballs for the first time,it can work an my > board ,though there are some warning. > but when compiled it again,when in runtime,shell report "can't modify > ../libdirectfbimageprovider_jpeg,so's text section.use Gcc option > -fPIC option for shared object". > what happened ? Does your compiler support Position Independent Code (PIC)? You might want to try to configure DirectFB using "./configure --with-pic" although that is on by default.. Alternatively, you can decide to build everything statically using "./configure --enable-static" but this will of course cost disc space and RAM if you have more libdirectfb users. also check "./configure --help" for the supported options.
don't know about fontconfig. > when cross fontconfig tarball ,there are a lot of errors: > fc-lang can't excute on the host machine,fc-cache can't link,not have > correct freetype's header files,etc.I have used the host tool fc-lang > binnary,edited the header files ,to avoid these mistakes. > is there any other method to deal with these mistakes? > > > > > thank you advanced! > jerwell > > > ------------------------------------------------------------------------ > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > -- .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev