I tried to build hc, but it fails with multiple errors during make. I
get the same errors whether I use /sw/bin/yacc or bison's yacc. Here
is the build log (short):
Setting up fink-buildlock-hc-1.1-1 (2008.12.06-13.57.05) ...
gzip -dc /sw/src/hc.tgz | /sw/bin/tar -xf - --no-same-owner --no-same-
permissions
make YACC=/usr/bin/yacc
/usr/bin/yacc hc.y
mv -f y.tab.c hc.c
cc -I/sw/include -c -o hc.o hc.c
hc.y: In function 'yyparse':
hc.y:35: warning: incompatible implicit declaration of built-in
function 'printf'
hc.y:35: error: 'mode' undeclared (first use in this function)
hc.y:35: error: (Each undeclared identifier is reported only once
hc.y:35: error: for each function it appears in.)
hc.y:35: error: 'kHex' undeclared (first use in this function)
hc.y:37: warning: incompatible implicit declaration of built-in
function 'printf'
hc.y:38: error: 'kDec' undeclared (first use in this function)
hc.y:41: warning: incompatible implicit declaration of built-in
function 'printf'
hc.y:42: error: 'kOct' undeclared (first use in this function)
hc.y:43: warning: incompatible implicit declaration of built-in
function 'printf'
hc.y:43: warning: incompatible implicit declaration of built-in
function 'exit'
hc.y: At top level:
hc.y:66: warning: conflicting types for 'output'
hc.y:14: warning: previous implicit declaration of 'output' was here
hc.y: In function 'output':
hc.y:79: warning: incompatible implicit declaration of built-in
function 'exit'
hc.y: At top level:
hc.y:83: warning: conflicting types for 'execerror'
hc.y:22: warning: previous implicit declaration of 'execerror' was here
hc.y:88: warning: conflicting types for 'yyerror'
y.tab.c:1506: warning: previous implicit declaration of 'yyerror' was
here
hc.y:97: warning: conflicting types for 'aboutbox'
hc.y:45: warning: previous implicit declaration of 'aboutbox' was here
hc.y:110: warning: conflicting types for 'help'
hc.y:44: warning: previous implicit declaration of 'help' was here
make: *** [hc.o] Error 1
rm hc.c
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-hc-1.1-1
(Reading database ... 289027 files and directories currently installed.)
Removing fink-buildlock-hc-1.1-1 ...
Failed: phase compiling: hc-1.1-1 failed
I have this package running on my iMac G5, but that is an old
installation where hc was installed a year or two ago. Does anybody
have any idea how to proceed? Is the program simply broke at the
moment? Help would certainly be appreciated.
My kit on my ibook consists of:
Package manager version: 0.28.6
Distribution version: selfupdate-rsync Wed Nov 26 10:06:22 2008, 10.5,
powerpc
OSX 10.5.5
XTools 3.11
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
Gary K Olson
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users