Hello!

I'm having problems cross compiling DirectFB for ARM (ultimately want to 
cross compile GTK among others).  I have followed the cross compiling 
examples provided through the DirectFB website.  I have been successful 
compiling/install zlib, libjpeg, freetype etc.  However, if I enable any 
of these, it appears that DFB can't find the libraries.  However, with 
them disabled it does build and will install into the path that the 
libraries are in. 

Details from 'export', the ./configure output, and the library 
directories are below.  I'm sure that this is probably something very 
stupid, but I'm not seeing where things are broken.  I truly would 
appreciate any help you might be able to provide.

Thanks in advance,

Keith


[EMAIL PROTECTED] DirectFB]$ export
declare -x AR="/usr/arm/bin/arm-unknown-linux-gnu-ar"
declare -x CC="/usr/arm/bin/arm-unknown-linux-gnu-gcc"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/home/espian"

declare -x INPUTRC="/etc/inputrc"
declare -x INSTALL_MOD_PATH="/home/espian/root"
declare -x LANG="en_US.UTF-8"
declare -x LD="/usr/arm/bin/arm-unknown-linux-gnu-ld"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="espian"
declare -x 
LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
declare -x MAIL="/var/spool/mail/espian"
declare -x OLDPWD="/home/espian"
declare -x 
PATH="/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/espian/bin"
declare -x PREFIX="/home/espian/root/usr"
declare -x PWD="/home/espian/DirectFB"
declare -x RANLIB="/usr/arm/bin/arm-unknown-linux-gnu-ranlib"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"

declare -x SSH_TTY="/dev/pts/2"
declare -x TERM="xterm"
declare -x USER="espian"
[EMAIL PROTECTED] DirectFB]$

[EMAIL PROTECTED] DirectFB]$ ./configure --host=arm-linux 
--build=i386-linux --target=arm --prefix=$PREFIX --libdir=$PREFIX/lib 
--include=$PREFIX/include --disable-x11 --enable-debug --disable-voodoo 
--disable-mmx --disable-see --disable-sdl --enable-jpeg --enable-zlib 
--disable-png --disable-gif --enable-freetype --disable-video4linux 
--disable-video4linux2 --with-gfxdrivers=none --with-inputdrivers=none
checking build system type... i386-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc... /usr/arm/bin/arm-unknown-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/arm/bin/arm-unknown-linux-gnu-gcc accepts -g... yes
checking for /usr/arm/bin/arm-unknown-linux-gnu-gcc option to accept 
ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/arm/bin/arm-unknown-linux-gnu-gcc... gcc3
checking whether /usr/arm/bin/arm-unknown-linux-gnu-gcc and cc 
understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by /usr/arm/bin/arm-unknown-linux-gnu-gcc... 
/usr/arm/bin/arm-unknown-linux-gnu-ld
checking if the linker (/usr/arm/bin/arm-unknown-linux-gnu-ld) is GNU 
ld... yes
checking for /usr/arm/bin/arm-unknown-linux-gnu-ld option to reload 
object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... 
/usr/arm/bin/arm-unknown-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-linux-g++... no
checking for arm-linux-c++... no
checking for arm-linux-gpp... no
checking for arm-linux-aCC... no
checking for arm-linux-CC... no
checking for arm-linux-cxx... no
checking for arm-linux-cc++... no
checking for arm-linux-cl... no
checking for arm-linux-FCC... no
checking for arm-linux-KCC... no
checking for arm-linux-RCC... no
checking for arm-linux-xlC_r... no
checking for arm-linux-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for arm-linux-g77... no
checking for arm-linux-f77... no
checking for arm-linux-xlf... no
checking for arm-linux-frt... no
checking for arm-linux-pgf77... no
checking for arm-linux-fort77... no
checking for arm-linux-fl32... no
checking for arm-linux-af77... no
checking for arm-linux-f90... no
checking for arm-linux-xlf90... no
checking for arm-linux-pgf90... no
checking for arm-linux-epcf90... no
checking for arm-linux-f95... no
checking for arm-linux-fort... no
checking for arm-linux-xlf95... no
checking for arm-linux-ifc... no
checking for arm-linux-efc... no
checking for arm-linux-pgf95... no
checking for arm-linux-lf95... no
checking for arm-linux-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from 
/usr/arm/bin/arm-unknown-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for arm-linux-ar... /usr/arm/bin/arm-unknown-linux-gnu-ar
checking for arm-linux-ranlib... /usr/arm/bin/arm-unknown-linux-gnu-ranlib
checking for arm-linux-strip... strip
checking if /usr/arm/bin/arm-unknown-linux-gnu-gcc static flag  works... yes
checking if /usr/arm/bin/arm-unknown-linux-gnu-gcc supports -fno-rtti 
-fno-exceptions... no
checking for /usr/arm/bin/arm-unknown-linux-gnu-gcc option to produce 
PIC... -fPIC
checking if /usr/arm/bin/arm-unknown-linux-gnu-gcc PIC flag -fPIC 
works... yes
checking if /usr/arm/bin/arm-unknown-linux-gnu-gcc supports -c -o 
file.o... yes
checking whether the /usr/arm/bin/arm-unknown-linux-gnu-gcc linker 
(/usr/arm/bin/arm-unknown-linux-gnu-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/arm/bin/arm-unknown-linux-gnu-ld
checking if the linker (/usr/arm/bin/arm-unknown-linux-gnu-ld) is GNU 
ld... yes
checking whether the g++ linker (/usr/arm/bin/arm-unknown-linux-gnu-ld) 
supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/arm/bin/arm-unknown-linux-gnu-ld) 
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/arm/bin/arm-unknown-linux-gnu-ld) 
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for perl5... no
checking for perl... /usr/bin/perl
checking for man2html... /usr/bin/man2html
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
configure: WARNING:
*** no Carbon/Carbon.h found -- building without Mac OS X support.
checking linux/compiler.h usability... yes
checking linux/compiler.h presence... yes
checking for linux/compiler.h... yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking asm/page.h usability... yes
checking asm/page.h presence... yes
checking for asm/page.h... yes
checking for pthread_attr_init in -lpthread... yes
checking whether PTHREAD_MUTEX_RECURSIVE is declared... yes
checking whether PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP is declared... yes
checking for dlopen in -ldl... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for libvncserver-config... no
configure: WARNING:
*** libvncserver-config not found -- building without VNC support. See 
http://libvncserver.sourceforge.net
checking for sysfs_get_mnt_path in -lsysfs... no
configure: WARNING:  *** libsysfs not found -- Building without sysfs 
support.
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING:
*** JPEG library not found. JPEG image provider will not be built.
checking for gzsetparams in -lz... no
configure: error:  *** libz not found.
[EMAIL PROTECTED] DirectFB]$

[EMAIL PROTECTED] usr]$ cd lib
[EMAIL PROTECTED] lib]$ ls
directfb-1.1-0            libdirectfb.la  libfreetype.la         
libfusion-1.1.so.0.1.0  libjpeg.so         libz.so.1.2.3
libdirect-1.1.so.0        libdirectfb.so  libfreetype.so         
libfusion.la            libjpeg.so.62      pkgconfig
libdirect-1.1.so.0.1.0    libdirect.la    libfreetype.so.6       
libfusion.so            libjpeg.so.62.0.0
libdirectfb-1.1.so.0      libdirect.so    libfreetype.so.6.3.16  
libjpeg.a               libz.so
libdirectfb-1.1.so.0.1.0  libfreetype.a   libfusion-1.1.so.0     
libjpeg.la              libz.so.1
[EMAIL PROTECTED] lib]$ cd directfb-1.1-0

[EMAIL PROTECTED] lib]$ ls
directfb-1.1-0            libdirectfb.la  libfreetype.la         
libfusion-1.1.so.0.1.0  libjpeg.so         libz.so.1.2.3
libdirect-1.1.so.0        libdirectfb.so  libfreetype.so         
libfusion.la            libjpeg.so.62      pkgconfig
libdirect-1.1.so.0.1.0    libdirect.la    libfreetype.so.6       
libfusion.so            libjpeg.so.62.0.0
libdirectfb-1.1.so.0      libdirect.so    libfreetype.so.6.3.16  
libjpeg.a               libz.so
libdirectfb-1.1.so.0.1.0  libfreetype.a   libfusion-1.1.so.0     
libjpeg.la              libz.so.1
[EMAIL PROTECTED] lib]$



_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to