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

Re: [hobbit] "gmake" errors on Hobbit 4.3 snapshot build



Meserole, Keith W. a écrit :

All, getting an error on the compilation of today’s download of 4.3 snapshot.


/usr/local/bin/gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/tmp/4.3/snapshot/include -I/usr/local/include -I. -I../incl

ude -c -o locator.o locator.c

In file included from /usr/include/sys/signal.h:34,

from /usr/include/signal.h:26,

from locator.c:36:

/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"

/usr/include/sys/siginfo.h:292: error: parse error before '}' token

/usr/include/sys/siginfo.h:294: error: parse error before '}' token

/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"

/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'

/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'

/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'

/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'

/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'

/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'

/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'

/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'

/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'

/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'

/usr/include/sys/siginfo.h:426: error: parse error before '}' token

/usr/include/sys/siginfo.h:428: error: parse error before '}' token

/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"

/usr/include/sys/siginfo.h:437: error: parse error before '}' token

In file included from /usr/include/signal.h:26,

from locator.c:36:

/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"

In file included from locator.c:36:

/usr/include/signal.h:111: error: parse error before "siginfo_t"

/usr/include/signal.h:113: error: parse error before "siginfo_t"

gmake[1]: *** [locator.o] Error 1

gmake[1]: Leaving directory `/tmp/4.3/snapshot/lib'

gmake: *** [lib-build] Error 2

Gmake information

# which gmake

/usr/sfw/bin/gmake

# gmake -v

GNU Make 3.80

Copyright (C) 2002 Free Software Foundation, Inc.

Any thoughts?

you should check if there are any patches from sun for this file. (sorry I don't remember the name of the package).

otherwise try to save a copy of the two header files, and search through them at the first error hpow you could
patch it manually.

you should also check with an older release of gcc if it's possible.