Hello Johan,
While doing something else it dawned on me. Try:
AS=arm-linux-as AR=arm-linux-ar CC=arm-linux-gcc LD=arm-linux-ld
NM=arm-linux-nm RANLIB=arm-linux-ranlib SIZE=arm-linux-size
STRIP=arm-linux-strip OBJCOPY=arm-linux-objcopy CXX=arm-linux-c++
CPP=arm-linux-gcc ac_cv_linux_vers=2.4.16 ./configure --target=arm-linux
--prefix=/opt/apps
using the correct kernel version for your iPAQ.
I hope this helps.
--George
On Sunday 13 January 2002 14:44, Johan van Reijendam wrote:
> I set all the environment variables, including 'AS=arm-linux-as' before
> running config but now run into the problem that 'configure' reports it
> cannot determin the linux version and exits.
>
> AS=arm-linux-as AR=arm-linux-ar CC=arm-linux-gcc LD=arm-linux-ld
> NM=arm-linux-nm RANLIB=arm-linux-ranlib SIZE=arm-linux-size
> STRIP=arm-linux-strip OBJCOPY=arm-linux-objcopy CXX=arm-linux-c++
> CPP=arm-linux-gcc ./configure --target=arm-linux --prefix=/opt/apps
> --build=i386-pc-linux-gnu --host=arm-linux
> loading cache ./config.cache
> checking host system type... arm-unknown-linux-gnu
> checking target system type... arm-unknown-linux-gnu
> checking build system type... i386-pc-linux-gnu
> checking for gcc... arm-linux-gcc
> checking whether the C compiler (arm-linux-gcc ) works... yes
> checking whether the C compiler (arm-linux-gcc ) is a cross-compiler...
> yes checking whether we are using GNU C... yes
> checking whether arm-linux-gcc accepts -g... yes
> checking gcc version... 2
> checking for inline... inline
> checking for __attribute__... yes
> checking how to run the C preprocessor... arm-linux-gcc
> checking for fcntl.h... no
> checking for rpc/rpcent.h... no
> checking for netinet/if_ether.h... no
> checking whether time.h and sys/time.h may both be included... yes
> checking Linux kernel version... unknown
> configure: error: cannot determine linux version when cross-compiling
>
> I know I am asking alot of questions but I am going to keep on going
> until I get it right :-)
> Thanks for all the help.
>
> Johan
>
> _______________________________________________
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq
Received on Sun Jan 13 17:08:39 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:21 EDT