Changes between Initial Version and Version 6 of Ticket #16155


Ignore:
Timestamp:
Sep 19, 2008, 5:07:02 PM (16 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16155

    • Property Status changed from new to closed
    • Property Milestone changed from to Port Bugs
    • Property Owner changed from macports-tickets@… to milosh@…
    • Property Resolution changed from to fixed
    • Property Port advancemame added
  • Ticket #16155 – Description

    initial v6  
    11advancemame-0.106.0 fails to build with
    22
    3 --->  Building advancemame with target all[[BR]]
     3{{{
     4--->  Building advancemame with target all
     5Error: 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
     6Command output: <command line>:1:1: warning: this is the location of the previous definition
     7advance/linux/target.c: In function 'target_signal':
     8advance/linux/target.c:836: error: request for member 'gregs' in something not a structure or union
     9advance/linux/target.c:836: error: 'REG_EIP' undeclared (first use in this function)
     10advance/linux/target.c:836: error: (Each undeclared identifier is reported only once
     11advance/linux/target.c:836: error: for each function it appears in.)
     12advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union
     13advance/linux/target.c:954: error: 'REG_EAX' undeclared (first use in this function)
     14advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union
     15advance/linux/target.c:954: error: 'REG_EBX' undeclared (first use in this function)
     16advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union
     17advance/linux/target.c:954: error: 'REG_ECX' undeclared (first use in this function)
     18advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union
     19advance/linux/target.c:954: error: 'REG_EDX' undeclared (first use in this function)
     20advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union
     21advance/linux/target.c:954: error: 'REG_ESI' undeclared (first use in this function)
     22advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union
     23advance/linux/target.c:954: error: 'REG_EDI' undeclared (first use in this function)
     24advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union
     25advance/linux/target.c:955: error: 'REG_EBP' undeclared (first use in this function)
     26advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union
     27advance/linux/target.c:955: error: 'REG_ESP' undeclared (first use in this function)
     28advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union
     29advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union
     30advance/linux/target.c:955: error: 'REG_EFL' undeclared (first use in this function)
     31advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union
     32advance/linux/target.c:955: error: 'REG_ERR' undeclared (first use in this function)
     33advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union
     34advance/linux/target.c:955: error: 'REG_TRAPNO' undeclared (first use in this function)
     35make: *** [obj/mame/darwin/blend/advance/linux/target.o] Error 1
    436
    5 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[[BR]]
     37Error: Status 1 encountered during processing.
     38}}}
    639
    7 Command output: <command line>:1:1: warning: this is the location of the previous definition[[BR]]
     40I was able to solve this by replace configure.ac and configure with the attached and then running
    841
    9 advance/linux/target.c: In function 'target_signal':[[BR]]
     42{{{
     43make clean
     44configure --enable-asm=no --enable-backtrace=no --enable-ucontexth=no
     45port install advancemame
     46}}}
    1047
    11 advance/linux/target.c:836: error: request for member 'gregs' in something not a structure or union[[BR]]
    12 
    13 advance/linux/target.c:836: error: 'REG_EIP' undeclared (first use in this function)[[BR]]
    14 
    15 advance/linux/target.c:836: error: (Each undeclared identifier is reported only once[[BR]]
    16 
    17 advance/linux/target.c:836: error: for each function it appears in.)[[BR]]
    18 
    19 advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union[[BR]]
    20 
    21 advance/linux/target.c:954: error: 'REG_EAX' undeclared (first use in this function)[[BR]]
    22 
    23 advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union[[BR]]
    24 
    25 advance/linux/target.c:954: error: 'REG_EBX' undeclared (first use in this function)[[BR]]
    26 
    27 advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union[[BR]]
    28 
    29 advance/linux/target.c:954: error: 'REG_ECX' undeclared (first use in this function)[[BR]]
    30 
    31 advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union[[BR]]
    32 
    33 advance/linux/target.c:954: error: 'REG_EDX' undeclared (first use in this function)[[BR]]
    34 
    35 advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union[[BR]]
    36 
    37 advance/linux/target.c:954: error: 'REG_ESI' undeclared (first use in this function)[[BR]]
    38 
    39 advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union[[BR]]
    40 
    41 advance/linux/target.c:954: error: 'REG_EDI' undeclared (first use in this function)[[BR]]
    42 
    43 advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union[[BR]]
    44 
    45 advance/linux/target.c:955: error: 'REG_EBP' undeclared (first use in this function)[[BR]]
    46 
    47 advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union[[BR]]
    48 
    49 advance/linux/target.c:955: error: 'REG_ESP' undeclared (first use in this function)[[BR]]
    50 
    51 advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union[[BR]]
    52 
    53 advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union[[BR]]
    54 
    55 advance/linux/target.c:955: error: 'REG_EFL' undeclared (first use in this function)[[BR]]
    56 
    57 advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union[[BR]]
    58 
    59 advance/linux/target.c:955: error: 'REG_ERR' undeclared (first use in this function)[[BR]]
    60 
    61 advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union[[BR]]
    62 
    63 advance/linux/target.c:955: error: 'REG_TRAPNO' undeclared (first use in this function)[[BR]]
    64 
    65 make: *** [obj/mame/darwin/blend/advance/linux/target.o] Error 1[[BR]]
    66 
    67 
    68 Error: Status 1 encountered during processing.[[BR]]
    69 
    70 
    71 I was able to solve this by replace configure.ac and configure with the attached and then running[[BR]]
    72 
    73 make clean[[BR]]
    74 
    75 configure --enable-asm=no --enable-backtrace=no --enable-ucontexth=no[[BR]]
    76 
    77 port install advancemame[[BR]]
    78 
    79