Opened 19 years ago
Last modified 15 years ago
#5912 closed defect
gv 3.5.8 will not compile — at Initial Version
Reported by: | kyle-opendarwinbugzilla@… | Owned by: | darwinports-bugs@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | gv |
Description
I get this error:
[kyle@tunican kyle]$ sudo port install gv ---> Fetching gv ---> Attempting to fetch gv-3.5.8.tar.gz from ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/ ---> Verifying checksum(s) for gv ---> Extracting gv ---> Applying patches to gv ---> Configuring gv ---> Building gv with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_print_gv/work/ gv-3.5.8" && make all" returned error 2 Command output: Button.c:320: error: request for member 'set' in something not a structure or union Button.c:320: warning: statement with no effect Button.c:321: error: dereferencing pointer to incomplete type Button.c:321: error: request for member 'command' in something not a structure or union Button.c:321: error: request for member 'set' in something not a structure or union Button.c:321: warning: statement with no effect Button.c:323: error: dereferencing pointer to incomplete type Button.c:323: error: request for member 'command' in something not a structure or union Button.c:323: error: request for member 'set' in something not a structure or union Button.c:323: warning: statement with no effect Button.c: In function 'ButtonSet': Button.c:337: error: dereferencing pointer to incomplete type Button.c:337: error: request for member 'command' in something not a structure or union Button.c:337: error: request for member 'set' in something not a structure or union Button.c:338: error: dereferencing pointer to incomplete type Button.c:338: error: request for member 'command' in something not a structure or union Button.c:338: error: request for member 'set' in something not a structure or union Button.c:338: warning: statement with no effect Button.c: In function 'ButtonUnset': Button.c:354: error: dereferencing pointer to incomplete type Button.c:354: error: request for member 'command' in something not a structure or union Button.c:354: error: request for member 'set' in something not a structure or union Button.c:354: warning: statement with no effect Button.c: In function 'ButtonReset': Button.c:369: error: dereferencing pointer to incomplete type Button.c:369: error: request for member 'button' in something not a structure or union Button.c:369: error: request for member 'highlighted' in something not a structure or union Button.c:369: warning: statement with no effect make[1]: * [Button.o] Error 1 make: * [all] Error 2
The line it's referring to is this:
set = bw->command.set;
And I checked, command is a CommandPart, as defined in ButtonP.h, but CommandPart isn't defined anywhere, and that's why it's failing.