Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13413 closed defect (duplicate)

BUG: Error installing ettercap-ng

Reported by: volker.frings@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: ultrix@…
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

Making all in widgets
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include   -I/opt/local/include -O2 -funroll-loops -fomit-frame-pointer -Wall -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include   -O2 -MT libwdg_a-wdg.o -MD -MP -MF ".deps/libwdg_a-wdg.Tpo" -c -o libwdg_a-wdg.o `test -f 'wdg.c' || echo './'`wdg.c; \
	then mv -f ".deps/libwdg_a-wdg.Tpo" ".deps/libwdg_a-wdg.Po"; else rm -f ".deps/libwdg_a-wdg.Tpo"; exit 1; fi
In file included from wdg.c:23:
./wdg.h:189: error: syntax error before 'u_char'
./wdg.h:189: warning: no semicolon at end of struct or union
./wdg.h:190: warning: type defaults to 'int' in declaration of 'border_color'
./wdg.h:190: warning: data definition has no type or storage class
./wdg.h:191: error: syntax error before 'focus_color'
./wdg.h:191: warning: type defaults to 'int' in declaration of 'focus_color'
./wdg.h:191: warning: data definition has no type or storage class
./wdg.h:192: error: syntax error before 'title_color'
./wdg.h:192: warning: type defaults to 'int' in declaration of 'title_color'
./wdg.h:192: warning: data definition has no type or storage class
./wdg.h:193: error: syntax error before 'window_color'
./wdg.h:193: warning: type defaults to 'int' in declaration of 'window_color'
./wdg.h:193: warning: data definition has no type or storage class
./wdg.h:194: error: syntax error before 'select_color'
./wdg.h:194: warning: type defaults to 'int' in declaration of 'select_color'
./wdg.h:194: warning: data definition has no type or storage class
./wdg.h:204: error: syntax error before '}' token
./wdg.h:304: error: syntax error before 'pair'
./wdg.h:305: error: syntax error before 'u_char'
./wdg.h:312: error: syntax error before 'pair'
wdg.c:81: error: syntax error before 'pair'
wdg.c:82: error: syntax error before 'u_char'
wdg.c:83: error: syntax error before 'pair'
wdg.c: In function 'wdg_redraw_all':
wdg.c:238: error: dereferencing pointer to incomplete type
wdg.c:239: error: dereferencing pointer to incomplete type
wdg.c:239: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_dispatch_msg':
wdg.c:383: error: dereferencing pointer to incomplete type
wdg.c:386: error: dereferencing pointer to incomplete type
wdg.c:390: error: dereferencing pointer to incomplete type
wdg.c:390: error: dereferencing pointer to incomplete type
wdg.c:399: error: dereferencing pointer to incomplete type
wdg.c:418: error: dereferencing pointer to incomplete type
wdg.c:429: error: dereferencing pointer to incomplete type
wdg.c:436: error: dereferencing pointer to incomplete type
wdg.c:436: error: dereferencing pointer to incomplete type
wdg.c:437: error: dereferencing pointer to incomplete type
wdg.c:447: error: dereferencing pointer to incomplete type
wdg.c:452: error: dereferencing pointer to incomplete type
wdg.c:453: error: dereferencing pointer to incomplete type
wdg.c:453: error: dereferencing pointer to incomplete type
wdg.c:465: error: dereferencing pointer to incomplete type
wdg.c:470: error: dereferencing pointer to incomplete type
wdg.c:472: error: dereferencing pointer to incomplete type
wdg.c:472: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_switch_focus':
wdg.c:494: error: dereferencing pointer to incomplete type
wdg.c:502: error: dereferencing pointer to incomplete type
wdg.c:502: error: dereferencing pointer to incomplete type
wdg.c:506: error: dereferencing pointer to incomplete type
wdg.c:507: error: dereferencing pointer to incomplete type
wdg.c:507: error: dereferencing pointer to incomplete type
wdg.c:514: error: dereferencing pointer to incomplete type
wdg.c:515: error: dereferencing pointer to incomplete type
wdg.c:515: error: dereferencing pointer to incomplete type
wdg.c:537: error: dereferencing pointer to incomplete type
wdg.c:537: error: dereferencing pointer to incomplete type
wdg.c:540: error: dereferencing pointer to incomplete type
wdg.c:541: error: dereferencing pointer to incomplete type
wdg.c:541: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_set_focus':
wdg.c:557: error: dereferencing pointer to incomplete type
wdg.c:557: error: dereferencing pointer to incomplete type
wdg.c:561: error: dereferencing pointer to incomplete type
wdg.c:562: error: dereferencing pointer to incomplete type
wdg.c:562: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_create_object':
wdg.c:578: error: invalid application of 'sizeof' to incomplete type 'struct wdg_object' 
wdg.c:581: error: dereferencing pointer to incomplete type
wdg.c:582: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_destroy_object':
wdg.c:670: error: dereferencing pointer to incomplete type
wdg.c:676: error: dereferencing pointer to incomplete type
wdg.c:693: error: dereferencing pointer to incomplete type
wdg.c:694: error: dereferencing pointer to incomplete type
wdg.c:694: error: dereferencing pointer to incomplete type
wdg.c:697: error: dereferencing pointer to incomplete type
wdg.c:697: error: dereferencing pointer to incomplete type
wdg.c:697: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_add_destroy_key':
wdg.c:713: error: dereferencing pointer to incomplete type
wdg.c:714: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_set_size':
wdg.c:723: error: dereferencing pointer to incomplete type
wdg.c:724: error: dereferencing pointer to incomplete type
wdg.c:725: error: dereferencing pointer to incomplete type
wdg.c:726: error: dereferencing pointer to incomplete type
wdg.c:729: error: dereferencing pointer to incomplete type
wdg.c:730: error: dereferencing pointer to incomplete type
wdg.c:730: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_draw_object':
wdg.c:741: error: dereferencing pointer to incomplete type
wdg.c:742: error: dereferencing pointer to incomplete type
wdg.c:742: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_type':
wdg.c:750: error: dereferencing pointer to incomplete type
wdg.c: At top level:
wdg.c:756: error: syntax error before 'u_char'
wdg.c: In function 'wdg_set_color':
wdg.c:758: error: 'part' undeclared (first use in this function)
wdg.c:758: error: (Each undeclared identifier is reported only once
wdg.c:758: error: for each function it appears in.)
wdg.c:760: error: 'wo' undeclared (first use in this function)
wdg.c:760: error: 'pair' undeclared (first use in this function)
wdg.c: At top level:
wdg.c:783: error: syntax error before 'pair'
wdg.c: In function 'wdg_init_color':
wdg.c:785: error: 'pair' undeclared (first use in this function)
wdg.c:785: error: 'fg' undeclared (first use in this function)
wdg.c:785: error: 'bg' undeclared (first use in this function)
wdg.c: At top level:
wdg.c:791: error: syntax error before 'pair'
wdg.c: In function 'wdg_screen_color':
wdg.c:793: error: 'pair' undeclared (first use in this function)
wdg.c: In function 'wdg_set_title':
wdg.c:804: error: dereferencing pointer to incomplete type
wdg.c:805: error: dereferencing pointer to incomplete type
wdg.c:805: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_nlines':
wdg.c:818: error: dereferencing pointer to incomplete type
wdg.c:819: error: dereferencing pointer to incomplete type
wdg.c:821: error: dereferencing pointer to incomplete type
wdg.c:821: error: dereferencing pointer to incomplete type
wdg.c:823: error: dereferencing pointer to incomplete type
wdg.c:824: error: dereferencing pointer to incomplete type
wdg.c:826: error: dereferencing pointer to incomplete type
wdg.c:826: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_ncols':
wdg.c:837: error: dereferencing pointer to incomplete type
wdg.c:838: error: dereferencing pointer to incomplete type
wdg.c:840: error: dereferencing pointer to incomplete type
wdg.c:840: error: dereferencing pointer to incomplete type
wdg.c:842: error: dereferencing pointer to incomplete type
wdg.c:843: error: dereferencing pointer to incomplete type
wdg.c:845: error: dereferencing pointer to incomplete type
wdg.c:845: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_begin_x':
wdg.c:855: error: dereferencing pointer to incomplete type
wdg.c:856: error: dereferencing pointer to incomplete type
wdg.c:858: error: dereferencing pointer to incomplete type
wdg.c:858: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_begin_y':
wdg.c:865: error: dereferencing pointer to incomplete type
wdg.c:866: error: dereferencing pointer to incomplete type
wdg.c:868: error: dereferencing pointer to incomplete type
wdg.c:868: error: dereferencing pointer to incomplete type
make[4]: *** [libwdg_a-wdg.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ettercap-ng/work/ettercap-NG-0.7.3" && make all " returned error 2
Command output: wdg.c:821: error: dereferencing pointer to incomplete type
wdg.c:821: error: dereferencing pointer to incomplete type
wdg.c:823: error: dereferencing pointer to incomplete type
wdg.c:824: error: dereferencing pointer to incomplete type
wdg.c:826: error: dereferencing pointer to incomplete type
wdg.c:826: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_ncols':
wdg.c:837: error: dereferencing pointer to incomplete type
wdg.c:838: error: dereferencing pointer to incomplete type
wdg.c:840: error: dereferencing pointer to incomplete type
wdg.c:840: error: dereferencing pointer to incomplete type
wdg.c:842: error: dereferencing pointer to incomplete type
wdg.c:843: error: dereferencing pointer to incomplete type
wdg.c:845: error: dereferencing pointer to incomplete type
wdg.c:845: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_begin_x':
wdg.c:855: error: dereferencing pointer to incomplete type
wdg.c:856: error: dereferencing pointer to incomplete type
wdg.c:858: error: dereferencing pointer to incomplete type
wdg.c:858: error: dereferencing pointer to incomplete type
wdg.c: In function 'wdg_get_begin_y':
wdg.c:865: error: dereferencing pointer to incomplete type
wdg.c:866: error: dereferencing pointer to incomplete type
wdg.c:868: error: dereferencing pointer to incomplete type
wdg.c:868: error: dereferencing pointer to incomplete type
make[4]: *** [libwdg_a-wdg.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Warning: the following items did not execute (for ettercap-ng): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 17 years ago by BjarneDMat

see #13399

comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:3 Changed 17 years ago by jmroot (Joshua Root)

Cc: ultrix@… added

CC maintainer. So this is a dupe of #13399?

comment:4 Changed 17 years ago by afb@…

Resolution: duplicate
Status: newclosed

Dupe, #13399.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.