[MacPorts] #66045: libedit fails to build with gcc-4.2: error: expected '=', ',', '; ', 'asm' or '__attribute__' before '*' token

MacPorts noreply at macports.org
Sat Oct 22 03:06:18 UTC 2022


#66045: libedit fails to build with gcc-4.2: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '*' token
----------------------------------+---------------------------------
 Reporter:  barracuda156          |      Owner:  MarcusCalhoun-Lopez
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.0
 Keywords:  leopard, snowleopard  |       Port:  libedit
----------------------------------+---------------------------------
 {{{
 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....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66045>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list