bug-hurd
[Top][All Lists]
Advanced

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

Unable to compile .defs files


From: Suman
Subject: Unable to compile .defs files
Date: Wed, 24 Nov 2004 17:36:36 +0530

Hi,
       When I try to build trans folder alone with the command
"CC=gcc-3.3 make", I'm getting the following error.
***************************************************************************************
gcc-3.3 -E -I.  -I..  -I../include -I../include
-D_GNU_SOURCE -D_IO_MTSAFE_IO -D_FILE_OFFSET_BITS=64  
 -DSERVERPREFIX=S_ ../hurd/fsys.defs -o fsys.sdefsi
gcc-3.3: ../hurd/fsys.defs: linker input file unused
because linking not done
subrprefix __   \
    -sheader fsys_S.h -server fsysServer.c \
    -user /dev/null -header /dev/null < fsys.sdefsi
/bin/sh: fsys.sdefsi: No such file or directory
make: [fsysServer.c] Error 1 (ignored)
gcc-3.3 -std=gnu99 -Wall -g -O3 -I.  -I.. 
-I../include -I../include -D_GNU_SOURCE
-D_IO_MTSAFE_IO -D_FILE_OFFSET_BITS=64   -c -o
fsysServer.o fsysServer.c
gcc-3.3: fsysServer.c: No such file or directory
gcc-3.3: no input files
make: *** [fsysServer.o] Error 1
***************************************************************************************
When I had a look at Makeconf file of hurd directory,  I've seen the
implicit rule to compile defs files as

%.sdefsi: %.defs
        $(CPP) $(CPPFLAGS) $(MIGSFLAGS) $($*-MIGSFLAGS) -DSERVERPREFIX=S_ $< -o 
$@

Here the CPP is getting substituted with gcc-3.3. This should be
substituted with mig I suppose. Correct me if I'm wrong.
Do I need to supply any value for CPP explicitly?

Thanks
Suman.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]