cross compile for arm problem

Peter Hermsdorf <[email protected]>
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
hi,

i`m trying to compile picogui 0.45 for linux-arm. my configure command is:

./configure --prefix --host=arm-linux --build=`./config.guess` 
--with-profile=profiles/profile.zaurus 
--with-extra-ipath=/home/peter/buildroot-neu/buildroot-oz/output/staging/include/ 
--with-extra-lpath=/home/peter/buildroot-neu/buildroot-oz/output/staging/target/lib

configure says:
--------------------------------------------------
picogui-server, version 0.45
--------------------------------------------------

Profile read from: profiles/profile.zaurus

      widgets:   background.c box.c button.c checkbox.c flatbutton.c 
label.c listitem.c menuitem.c radiobutton.c submenuitem.c canvas.c 
dialogbox.c messagedialog.c indicator.c panelbar.c panel.c popup.c 
scroll.c scrollbox.c terminal_frontend.c terminal_vt102.c 
terminal_textgrid.c textbox_frontend.c textbox_document.c 
textbox_paragraph.c pgstr_textbuffers.c field.c toolbar.c
        debug:
      vidbase:   linear16.c dvbl_dither.c dvbl_primitives.c font_freetype.c
       driver:   fbdev.c
     wrappers:   rotate90.c rotate180.c rotate270.c
        input:   zaurus.c rawttykb.c if_touchscreen.c if_client_adaptor.c
      formats:   pnm.c jpeg.c bmp.c html.c png.c gif.c plaintext.c
           os:   posix.c posix_signals.c posix_commandline.c
     compiler:  arm-linux-gcc  -I/usr/include/freetype2 -O3 
-fomit-frame-pointer
       linker:  /usr/local/arm/2.95.3/arm-linux/bin/ld  
-L/home/peter/buildroot-neu/buildroot-oz/output/staging/target/lib
driver-cflags:   
-I/home/peter/buildroot-neu/buildroot-oz/output/staging/include/
  driver-libs:   -lm -lz -lpng -lfreetype -lm
--------------------------------------------------

make aborts with:

arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include 
-I/usr/include/freetype2 -O3 -fomit-frame-pointer 
-Wp,-MD,.deps/font_freetype.pp -c font_freetype.c -o font_freetype.o
font_freetype.c:34: ft2build.h: No such file or directory
font_freetype.c:35: `#include' expects "FILENAME" or <FILENAME>
font_freetype.c:36: `#include' expects "FILENAME" or <FILENAME>
font_freetype.c:37: `#include' expects "FILENAME" or <FILENAME>
font_freetype.c:38: `#include' expects "FILENAME" or <FILENAME>
font_freetype.c:39: `#include' expects "FILENAME" or <FILENAME>
font_freetype.c:40: `#include' expects "FILENAME" or <FILENAME>

but in fact, the ft2build.h file is in 
/home/peter/buildroot-neu/buildroot-oz/output/staging/include/.
i wonder why the include directory is not passed to the arm-linux-gcc 
via -I directive ?

is this an error or am i doing something wrong with the configure options ?
thanks for any hints.

bye, peter




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.