[MacPorts] #13174: guile 1.8.3_0 does not build: warning: implicit declaration of function 'open64'
MacPorts
noreply at macports.org
Fri Nov 14 16:32:16 PST 2008
#13174: guile 1.8.3_0 does not build: warning: implicit declaration of function
'open64'
--------------------------------------+-------------------------------------
Reporter: immanuel at bluebottle.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: closed
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Resolution: worksforme | Keywords:
Port: guile |
--------------------------------------+-------------------------------------
Changes (by blb at macports.org):
* status: new => closed
* resolution: => worksforme
Old description:
> sudo port install guile gives the following error. I got guile to compile
> on my own machine, but that was a hack. The problem is that configure is
> selecting
> the 64bit file functions on macos.
>
>
> fports.c: In function 'scm_open_file':
> fports.c:364: warning: implicit declaration of function 'open64'
> fports.c: At top level:
> fports.c:614: error: syntax error before 'fport_seek_or_seek64'
> fports.c:614: error: syntax error before 'off64_t'
> fports.c:615: warning: return type defaults to 'int'
> fports.c:615: warning: no previous prototype for 'fport_seek_or_seek64'
> fports.c: In function 'fport_seek_or_seek64':
> fports.c:616: error: 'port' undeclared (first use in this function)
> fports.c:616: error: (Each undeclared identifier is reported only once
> fports.c:616: error: for each function it appears in.)
> fports.c:618: error: 'off64_t' undeclared (first use in this function)
> fports.c:618: error: syntax error before 'rv'
> fports.c:623: error: 'offset' undeclared (first use in this function)
> fports.c:623: error: 'whence' undeclared (first use in this function)
> fports.c:626: error: 'result' undeclared (first use in this function)
> fports.c:626: error: 'rv' undeclared (first use in this function)
> fports.c:626: warning: implicit declaration of function 'lseek64'
> fports.c: In function 'fport_seek':
> fports.c:677: error: 'off64_t' undeclared (first use in this function)
> fports.c:677: error: syntax error before 'rv'
> fports.c:678: error: 'rv' undeclared (first use in this function)
> fports.c: In function 'scm_i_fport_truncate':
> fports.c:711: warning: implicit declaration of function 'ftruncate64'
> make[3]: *** [libguile_la-fports.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
New description:
sudo port install guile gives the following error. I got guile to compile
on my own machine, but that was a hack. The problem is that configure is
selecting
the 64bit file functions on macos.
{{{
fports.c: In function 'scm_open_file':
fports.c:364: warning: implicit declaration of function 'open64'
fports.c: At top level:
fports.c:614: error: syntax error before 'fport_seek_or_seek64'
fports.c:614: error: syntax error before 'off64_t'
fports.c:615: warning: return type defaults to 'int'
fports.c:615: warning: no previous prototype for 'fport_seek_or_seek64'
fports.c: In function 'fport_seek_or_seek64':
fports.c:616: error: 'port' undeclared (first use in this function)
fports.c:616: error: (Each undeclared identifier is reported only once
fports.c:616: error: for each function it appears in.)
fports.c:618: error: 'off64_t' undeclared (first use in this function)
fports.c:618: error: syntax error before 'rv'
fports.c:623: error: 'offset' undeclared (first use in this function)
fports.c:623: error: 'whence' undeclared (first use in this function)
fports.c:626: error: 'result' undeclared (first use in this function)
fports.c:626: error: 'rv' undeclared (first use in this function)
fports.c:626: warning: implicit declaration of function 'lseek64'
fports.c: In function 'fport_seek':
fports.c:677: error: 'off64_t' undeclared (first use in this function)
fports.c:677: error: syntax error before 'rv'
fports.c:678: error: 'rv' undeclared (first use in this function)
fports.c: In function 'scm_i_fport_truncate':
fports.c:711: warning: implicit declaration of function 'ftruncate64'
make[3]: *** [libguile_la-fports.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
}}}
--
Comment:
Closing, lack of response, 1.8.5 works for me on 10.5.5 Intel too.
--
Ticket URL: <http://trac.macports.org/ticket/13174#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list