3 | | ---> Building advancemame with target all[[BR]] |
| 3 | {{{ |
| 4 | ---> Building advancemame with target all |
| 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 |
| 6 | Command output: <command line>:1:1: warning: this is the location of the previous definition |
| 7 | advance/linux/target.c: In function 'target_signal': |
| 8 | advance/linux/target.c:836: error: request for member 'gregs' in something not a structure or union |
| 9 | advance/linux/target.c:836: error: 'REG_EIP' undeclared (first use in this function) |
| 10 | advance/linux/target.c:836: error: (Each undeclared identifier is reported only once |
| 11 | advance/linux/target.c:836: error: for each function it appears in.) |
| 12 | advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union |
| 13 | advance/linux/target.c:954: error: 'REG_EAX' undeclared (first use in this function) |
| 14 | advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union |
| 15 | advance/linux/target.c:954: error: 'REG_EBX' undeclared (first use in this function) |
| 16 | advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union |
| 17 | advance/linux/target.c:954: error: 'REG_ECX' undeclared (first use in this function) |
| 18 | advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union |
| 19 | advance/linux/target.c:954: error: 'REG_EDX' undeclared (first use in this function) |
| 20 | advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union |
| 21 | advance/linux/target.c:954: error: 'REG_ESI' undeclared (first use in this function) |
| 22 | advance/linux/target.c:954: error: request for member 'gregs' in something not a structure or union |
| 23 | advance/linux/target.c:954: error: 'REG_EDI' undeclared (first use in this function) |
| 24 | advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union |
| 25 | advance/linux/target.c:955: error: 'REG_EBP' undeclared (first use in this function) |
| 26 | advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union |
| 27 | advance/linux/target.c:955: error: 'REG_ESP' undeclared (first use in this function) |
| 28 | advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union |
| 29 | advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union |
| 30 | advance/linux/target.c:955: error: 'REG_EFL' undeclared (first use in this function) |
| 31 | advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union |
| 32 | advance/linux/target.c:955: error: 'REG_ERR' undeclared (first use in this function) |
| 33 | advance/linux/target.c:955: error: request for member 'gregs' in something not a structure or union |
| 34 | advance/linux/target.c:955: error: 'REG_TRAPNO' undeclared (first use in this function) |
| 35 | make: *** [obj/mame/darwin/blend/advance/linux/target.o] Error 1 |
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 | | |