[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Pieter Grimmerink wrote on 13.12.2003 11:47 MET:
>>Maybe someone of you can give a hint on why my first try compiling
>>it failes. Could it be wrong parameters or is this a problem of the
>>configure script?
> ... 
>>         --host=cris --build=$(gcc -dumpmachine) \
> ...
>>checking for "/dev/ptmx"... configure: error: cannot check for 
>>file existence when cross compiling
>>make: *** [config] Error 1
> In the configure script, it looks like this check is only 
> performed when builing for solaris.
> This is determined by checking the $host variable.
> I think it will be identified as linux correctly when you use
> --host=cris-axis-linux-gnu
> instead of
> --host=cris

Nope, I've already tried that. Now it even fails much earlier in the
configure process:

fl:~/axis/devboard_82/apps/dropbear> LANG=en make config
CC= gcc-cris -isystem /home/fl/axis/devboard_82/target/cris-axis-linux-gnu/include -mlinux
CFLAGS=-Wall -Wshadow -O2 -g
LDFLAGS= -L/home/fl/axis/devboard_82/target/cris-axis-linux-gnu/lib
(cd dropbear-0.38; \
./configure "CC=  gcc-cris  -isystem /home/fl/axis/devboard_82/target/cris-axis-linux-gnu/include -mlinux" "CFLAGS=-Wall -Wshadow -O2 -g" "LDFLAGS= -L/home/fl/axis/devboard_82/target/cris-axis-linux-gnu/lib" \
         --disable-zlib --disable-shadow --disable-lastlog \
         --disable-utmp --disable-utmpx --disable-wtmp \
         --disable-wtmpx --disable-libutil --disable-pututline \
         --disable-pututxline \
         --host=cris-axis-gnu-linux \
         --build=$(gcc -dumpmachine) \
checking for cris-axis-gnu-linux-gcc...   gcc-cris  -isystem /home/fl/axis/devboard_82/target/cris-axis-linux-gnu/include -mlinux
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether   gcc-cris  -isystem /home/fl/axis/devboard_82/target/cris-axis-linux-gnu/include -mlinux accepts -g... yes
checking whether make sets ${MAKE}... yes
checking build system type... i486-suse-linux-gnu
checking host system type... Invalid configuration `cris-axis-gnu-linux': machine `cris-axis-gnu' not recognized
configure: error: /bin/sh ./config.sub cris-axis-gnu-linux failed
make: *** [config] Error 1

MfG / Regards
Friedrich Lobenstock