[klibc] 0.184 -- gcc: warning: `-x c' after last input file has no effect

H. Peter Anvin hpa at zytor.com
Sat Oct 16 15:36:25 PDT 2004


Jon Smirl wrote:
> What do I need to do to fix this?
> 
> [jonsmirl at smirl klibc-0.184]$ make
> make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
> gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
> -march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0 
> -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
> -I../include/arch/i386 -I../include/bits32 -I../include
> -I../linux/include -I../linux/include2 -I../linux/include
> -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings
> -Wstrict-prototypes -Winline -Wp,-dM -x c -E -o syscalls.nrs
> gcc: warning: `-x c' after last input file has no effect
> gcc: no input files
> make[1]: *** [syscalls.nrs] Error 1
> make[1]: Leaving directory `/home/dri/klibc-0.184/klibc'
> make: *** [all] Error 2
> 
> [jonsmirl at smirl klibc-0.184]$ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --disable-libunwind-exceptions --with-system-zlib
> --enable-__cxa_atexit --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
> 

What version of make are you running?

	-hpa



More information about the klibc mailing list