Opened 16 years ago

Last modified 15 years ago

#16155 closed defect

advancemame-0.106.0 fails to build — at Initial Version

Reported by: jcopenha@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: advancemame

Description

advancemame-0.106.0 fails to build with

---> Building advancemame with target all

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_emulators_advancemame/work/advancemame-0.106.0" && make all " returned error 2

Command output: <command line>:1:1: warning: this is the location of the previous definition

advance/linux/target.c: In function 'target_signal':

advance/linux/target.c:836: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:836: error: 'REG_EIP' undeclared (first use in this function)

advance/linux/target.c:836: error: (Each undeclared identifier is reported only once

advance/linux/target.c:836: error: for each function it appears in.)

advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:954: error: 'REG_EAX' undeclared (first use in this function)

advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:954: error: 'REG_EBX' undeclared (first use in this function)

advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:954: error: 'REG_ECX' undeclared (first use in this function)

advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:954: error: 'REG_EDX' undeclared (first use in this function)

advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:954: error: 'REG_ESI' undeclared (first use in this function)

advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:954: error: 'REG_EDI' undeclared (first use in this function)

advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:955: error: 'REG_EBP' undeclared (first use in this function)

advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:955: error: 'REG_ESP' undeclared (first use in this function)

advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:955: error: 'REG_EFL' undeclared (first use in this function)

advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:955: error: 'REG_ERR' undeclared (first use in this function)

advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union

advance/linux/target.c:955: error: 'REG_TRAPNO' undeclared (first use in this function)

make: * [obj/mame/darwin/blend/advance/linux/target.o] Error 1

Error: Status 1 encountered during processing.

I was able to solve this by replace configure.ac and configure with the attached and then running

make clean

configure --enable-asm=no --enable-backtrace=no --enable-ucontexth=no

port install advancemame

Change History (2)

Changed 16 years ago by jcopenha@…

Attachment: configure added

Changed 16 years ago by jcopenha@…

Attachment: configure.ac added
Note: See TracTickets for help on using tickets.