Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2006 21:45:24 +0200
From:      apix <mhristof@csd.uoc.gr>
To:        freebsd-questions@freebsd.org
Subject:   Problem installing gmake
Message-ID:  <8db45f8c0601081145j190d46a4le576079b3e9c9539@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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=20
-Wmissing-prototypes -Wnested-externs -Wpointer-arith=20
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
-march=3Dpentium4 -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8db45f8c0601081145j190d46a4le576079b3e9c9539>