Problem installing gmake

apix mhristof at csd.uoc.gr
Sun Jan 8 11:45:59 PST 2006


Hello.

While installing qmake ( dependancy for gcc-3.4 ) the make exited with
an error while compiling the file glob.c in the make
/usr/ports/devel/gmake/work/make-3.80/glob derectory.

The output form the make, including the error is:

if cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -O2 -pipe
-finline-functions -fmove-all-movables  -frename-registers
-fomit-frame-pointer -W -Wall -ansi -pedantic -Wbad-function-cast
-Wcast-align  -Wcast-qual -Wchar-subscripts -Winline 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
-march=pentium4 -MT glob.o -MD -MP -MF ".deps/glob.Tpo"  -c -o glob.o
`test -f 'glob.c' || echo './'`glob.c;  then mv ".deps/glob.Tpo"
".deps/glob.Po";  else rm -f ".deps/glob.Tpo"; exit 1;  fi
glob.c:195: warning: function declaration isn't a prototype
glob.c:287: warning: redundant redeclaration of 'getlogin'
/usr/include/unistd.h:342: warning: previous declaration of 'getlogin' was here
glob.c:294: error: syntax error before "const"
glob.c:315: error: syntax error before "const"
glob.c: In function `glob':
glob.c:395: warning: ISO C90 forbids variable-size array `onealt'
glob.c:500: warning: comparison between signed and unsigned
glob.c:853: warning: implicit declaration of function `__glob_pattern_p'
glob.c:853: warning: nested extern declaration of `__glob_pattern_p'
glob.c:871: warning: comparison between signed and unsigned
glob.c:922: warning: comparison between signed and unsigned
glob.c:949: warning: comparison between signed and unsigned
glob.c:1011: warning: comparison between signed and unsigned
glob.c:1029: warning: comparison between signed and unsigned
glob.c:1052: warning: comparison between signed and unsigned
glob.c: In function `globfree':
glob.c:1072: warning: comparison between signed and unsigned
glob.c: At top level:
glob.c:1173: warning: function declaration isn't a prototype
glob.c: In function `glob_in_dir':
glob.c:1412: warning: declaration of 'save' shadows a previous local
glob.c:1231: warning: shadowed declaration is here
*** Error code 1

I have updated my port tree with the latest snapshot. Any ideas ???
--
  Ack and you shall receive.


More information about the freebsd-questions mailing list