New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16155 (closed defect: fixed)

Opened 5 years ago

Last modified 4 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 (404.0 KB) - added by jcopenha@… 5 years ago.
configure.ac (31.0 KB) - added by jcopenha@… 5 years ago.

Change History

Changed 5 years ago by jcopenha@…

Changed 5 years ago by jcopenha@…

comment:1 Changed 5 years ago by macsforever2000@…

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

Assigning to maintainer.

comment:2 follow-up: ↓ 4 Changed 5 years ago by milosh@…

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

comment:3 Changed 5 years ago by milosh@…

  • Status changed from new to assigned

comment:4 in reply to: ↑ 2 Changed 5 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 5 years ago by milosh@…

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Port set to advancemame

Submitted in r39996

comment:6 Changed 5 years ago by ryandesign@…

  • Keywords advancemame removed
  • Description modified (diff)

comment:7 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.