ok here's the output of 

gcc -g -O2 `sh ./cflags` -c auth.c

run in the nessus directory(this is why I think the makefile is messed up)

[localhost:/nessus-core/nessus] root# gcc -g -O2 `sh ./cflags` -c auth.c
./cflags: can't open input file: ./cflags
auth.c:22: header file 'includes.h' not found
comm.h:35: undefined type, found `harglst'
auth.h:23: syntax error, found `size_t'
auth.h:23: illegal function definition, found `)'
auth.h:24: syntax error, found `size_t'
auth.h:24: illegal function definition, found `)'
globals.h:10: undefined type, found `harglst'
auth.c:130: undefined type, found `size_t'
auth.c:150: undefined type, found `size_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode


yeah so the obvious thing is that there is NO cflags in the local
dir...it's in ./OBJ/cflags

so what is the fastest way to fix the Makefile?

On Mon, 1 Apr 2002, Hugo van der Kooij wrote:

> On Mon, 1 Apr 2002, ja wrote:
> 
> > hello, I'm trying to get 1.1.14 up and running on my OS X box.
> > Everything went ok installing the libs but after running ./configure and getting
> > past that for the core the make gives me ...
> >  root# make
> >  cd nessus && make
> >  gcc -g -O2 `sh ./cflags` -c auth.c
> >  gcc: auth.c: No such file or directory
> >  gcc: No input files
> > now the auth.c IS in the nessus folder in nessus-core so I'm thinking
> > the makefile may be a bit messed up
> 
> If the makefile was messed up you would see an odd command to compile. 
> This is a valid command for compiling the said piece of code.
> 
> Rune the command manualy and see what is the culprit. I guess the file is 
> not accessible for the user that is compiling.
> 
> Hugo.
> 
> -- 
> All email send to me is bound to the rules described on my homepage.
>     [EMAIL PROTECTED]          http://hvdkooij.xs4all.nl/
>           Don't meddle in the affairs of sysadmins,
>           for they are subtle and quick to anger.
> 
> 

Reply via email to