Opened 2 years ago
Last modified 2 years ago
#66045 assigned defect
libedit fails to build with gcc-4.2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Reported by: | barracuda156 | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | leopard, snowleopard | Cc: | judaew (Vadym-Valdis Yudaiev) |
Port: | libedit |
Description
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pipe -Os -arch ppc -MT el.lo -MD -MP -MF .deps/el.Tpo -c el.c -fno-common -DPIC -o .libs/el.o In file included from ../config.h:345, from chared.c:35: ./sys.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from ../config.h:345, from common.c:35: ./sys.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' tokenIn file included from ../config.h:345, from eln.c:28: ./sys.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from ../config.h:345, from emacs.c:35: ./sys.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token make[3]: *** [hist.lo] Error 1 make[3]: *** Waiting for unfinished jobs....
Change History (2)
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 2 years ago by judaew (Vadym-Valdis Yudaiev)
Cc: | judaew added |
---|
Note: See
TracTickets for help on using
tickets.
Ah, the source has a silly bug in fact:
UPD. Nah, it is our patch applies wrongly. Will fix it now.