Opened 7 weeks ago

Last modified 7 weeks ago

#70473 accepted defect

stklos @1.70: error: macro names must be identifiers

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: powerpc Cc:
Port: stklos

Description

SUMMARY
*******
               System:  -
              OS nick:  _
              OS type: 
      Install prefix :  /opt/local
           C compiler:  ccache /usr/bin/gcc-4.2 -std=gnu99
    Compilation flags:  -pipe -Os -arch ppc
               Loader:  ld
       Thread support:  pthreads
     Case sensitivity:  true (by default)
Control fx parameters:  yes
System libraries used:  libffi libpcre libgmp libgc
   Compiled libraries: 
 
If this is correct, you can just type 'make' now at your shell prompt.
Otherwise, re-run 'configure' with correct options.
 
--->  Building stklos
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stklos/stklos/work/stklos-1.70" && /usr/bin/make -j6 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stklos/stklos/work/stklos-1.70'
Making all in src
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stklos/stklos/work/stklos-1.70/src'
/usr/bin/make  all-am
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stklos/stklos/work/stklos-1.70/src'
ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.      -I/opt/local/include -pipe -Os -arch ppc  -pipe -Os -arch ppc -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.      -I/opt/local/include -pipe -Os -arch ppc  -pipe -Os -arch ppc -MT boolean.o -MD -MP -MF .deps/boolean.Tpo -c -o boolean.o boolean.c
ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.      -I/opt/local/include -pipe -Os -arch ppc  -pipe -Os -arch ppc -MT boot.o -MD -MP -MF .deps/boot.Tpo -c -o boot.o boot.c
ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.      -I/opt/local/include -pipe -Os -arch ppc  -pipe -Os -arch ppc -MT box.o -MD -MP -MF .deps/box.Tpo -c -o box.o box.c
ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.      -I/opt/local/include -pipe -Os -arch ppc  -pipe -Os -arch ppc -MT char.o -MD -MP -MF .deps/char.Tpo -c -o char.o char.c
ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.      -I/opt/local/include -pipe -Os -arch ppc  -pipe -Os -arch ppc -MT cond.o -MD -MP -MF .deps/cond.Tpo -c -o cond.o cond.c
In file included from stklos.h:57,
                 from boolean.c:28:
extraconf.h:34:24: error: macro names must be identifiers
extraconf.h:41:10: error: macro names must be identifiers
In file included from ./stklos.h:57,
                 from base64.c:27:
./extraconf.h:34:24: error: macro names must be identifiers
./extraconf.h:41:10: error: macro names must be identifiers
make[2]: *** [base64.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [boolean.o] Error 1
In file included from stklos.h:57,
                 from box.c:28:
extraconf.h:34:24: error: macro names must be identifiers
extraconf.h:41:10: error: macro names must be identifiers
In file included from stklos.h:57,
                 from boot.c:7:
extraconf.h:34:24: error: macro names must be identifiers
extraconf.h:41:10: error: macro names must be identifiers
make[2]: *** [box.o] Error 1
In file included from stklos.h:57,
                 from char.c:30:
extraconf.h:34:24: error: macro names must be identifiers
extraconf.h:41:10: error: macro names must be identifiers
In file included from stklos.h:57,
                 from cond.c:27:
extraconf.h:34:24: error: macro names must be identifiers
extraconf.h:41:10: error: macro names must be identifiers
make[2]: *** [cond.o] Error 1
make[2]: *** [char.o] Error 1
make[2]: *** [boot.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stklos/stklos/work/stklos-1.70/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stklos/stklos/work/stklos-1.70/src'
make: *** [all-recursive] Error 1

Attachments (1)

main.log (43.4 KB) - added by barracuda156 7 weeks ago.

Download all attachments as: .zip

Change History (2)

Changed 7 weeks ago by barracuda156

Attachment: main.log added

comment:1 in reply to:  description Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Keywords: powerpc added
Owner: set to ryandesign
Status: newaccepted
Summary: stklos build failure: error: macro names must be identifiersstklos @1.70: error: macro names must be identifiers

Replying to barracuda156:

SUMMARY
*******
               System:  -
              OS nick:  _
              OS type: 

Probably relevant that it hasn't identified your operating system above because:

extraconf.h:34:24: error: macro names must be identifiers
extraconf.h:41:10: error: macro names must be identifiers

Line 34 is:

#define @OS_NAME@               1

Line 41 is:

#define @OS_FLAVOUR@ 1

I presume those placeholders didn't get replaced with something valid on your system.

I see you are on Mac OS X 10.6 ppc. From build logs on Mac OS X 10.6 x86_64 you should be seeing something more like:

SUMMARY
*******
               System:  Darwin-10.8.0
              OS nick:  DARWIN_10
              OS type:  unix

Version 2.00 is available and includes several fixes I submitted and I should update the port but these placeholders are still there in 2.00 so it may not improve on this problem.

Note: See TracTickets for help on using tickets.