New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16155 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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@…) (diff)

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

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

Change History

Changed 4 years ago by jcopenha@…

Changed 4 years ago by jcopenha@…

  Changed 4 years ago by macsforever2000@…

  • owner changed from macports-tickets@… to milosh@…
  • keywords advancemame added
  • milestone set to Port Bugs

Assigning to maintainer.

follow-up: ↓ 4   Changed 3 years ago by milosh@…

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

  Changed 3 years ago by milosh@…

  • status changed from new to assigned

in reply to: ↑ 2   Changed 3 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.

  Changed 3 years ago by milosh@…

  • status changed from assigned to closed
  • resolution set to fixed
  • port set to advancemame

Submitted in r39996

  Changed 3 years ago by ryandesign@…

  • keywords advancemame removed
  • description modified (diff)

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.