Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16155 closed defect (fixed)

advancemame-0.106.0 fails to build

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (2)

configure (404.0 KB) - added by jcopenha@… 16 years ago.
configure.ac (31.0 KB) - added by jcopenha@… 16 years ago.

Download all attachments as: .zip

Change History (9)

Changed 16 years ago by jcopenha@…

Attachment: configure added

Changed 16 years ago by jcopenha@…

Attachment: configure.ac added

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Keywords: advancemame added
Milestone: Port Bugs
Owner: changed from macports-tickets@… to milosh@…

Assigning to maintainer.

comment:2 Changed 16 years ago by milosh@…

You're on an intel mac, aren't you?

comment:3 Changed 16 years ago by milosh@…

Status: newassigned

comment:4 in reply to:  2 Changed 16 years ago by jcopenha@…

Replying to milosh@…:

You're on an intel mac, aren't you?

Yes I'm on an intel mac. But for some reason the ucontext.h on my system (10.5.2) doesn't have all the REG_* definitions.

comment:5 Changed 16 years ago by milosh@…

Port: advancemame added
Resolution: fixed
Status: assignedclosed

Submitted in r39996

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: advancemame removed

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.