Compile error with libiberty

Gerjan Teselink G.Teselink@jonker.nl
Fri Dec 1 10:30:00 GMT 2000


Hi all,
 
I''ve mailed here before with sortoff the same problem when i 
compile m68k-coff. I compile it the canadian cross way ( like it was descripted 
in de GCC CrossFAQ )  So newlib-1.8.2 and binutils-2.9.1 and gcc-2.95.2 in 
one directory and i used the Makefiles etc. from gcc-2.95.2. 
 
Everything seems to compile fine.. except this. 
 
Adding multilib support to Makefile in 
../../../../gcc-2.95/libiberty with_multisubdir=msoft-float make[1]: 
Entering directory `/home/gerjan/build/m68k-coff/libiberty' if [ x"no" = xyes 
] && [ ! -d pic ]; then \   mkdir pic; \ else true; 
fi touch stamp-picdir test x"no" != xyes || \   
/home/gerjan/build/gcc/xgcc -B/home/gerjan/build/gcc/ 
-B/Local/Pro/m68k-coff/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. 
-I../../../gcc-2.95/libiberty/../include   
../../../gcc-2.95/libiberty/argv.c -o pic/argv.o /home/gerjan/build/gcc/xgcc 
-B/home/gerjan/build/gcc/ -B/Local/Pro/m68k-coff/bin/ -c -DHAVE_CONFIG_H -g -O2 
-I. -I../../../gcc-2.95/libiberty/../include  
../../../gcc-2.95/libiberty/argv.c test x"no" != xyes || \   
/home/gerjan/build/gcc/xgcc -B/home/gerjan/build/gcc/ 
-B/Local/Pro/m68k-coff/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. 
-I../../../gcc-2.95/libiberty/../include   
../../../gcc-2.95/libiberty/choose-temp.c -o 
pic/choose-temp.o /home/gerjan/build/gcc/xgcc -B/home/gerjan/build/gcc/ 
-B/Local/Pro/m68k-coff/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. 
-I../../../gcc-2.95/libiberty/../include  
../../../gcc-2.95/libiberty/choose-temp.c In file included from 
../../../gcc-2.95/libiberty/choose-temp.c:29: /usr/include/stdio.h:29: 
libio.h: No such file or directory /usr/include/stdio.h:74: stdio_lim.h: No 
such file or directory In file included from 
../../../gcc-2.95/libiberty/choose-temp.c:30: /usr/include/sys/types.h:26: 
features.h: No such file or directory /usr/include/sys/types.h:30: 
gnu/types.h: No such file or directory /usr/include/sys/types.h:67: time.h: 
No such file or directory make[1]: *** [choose-temp.o] Error 1 make[1]: 
Leaving directory `/home/gerjan/build/m68k-coff/libiberty' make: *** 
[all-target-libiberty] Error 2
 
My question is .. what can I do about this to fix it? 

 
 
As configure rule i have "../gcc-2.95/configure 
--target=m68k-coff --prefix=/Local/Pro --with-newlib -v"
 
For the people that want to know more. I have a typescript 
file with the whole procudure. 
 
Thanks already,
 
Kind regards,
 
Gerjan Teselink



More information about the Gcc-help mailing list