Hi,
I'm trying to compile (and install) the transcode package under Snow Leopard.
XCode is the version found on the install dvd of SL.
The error is:
creating liboss.la
(cd .libs && rm -f liboss.la && ln -s ../liboss.la liboss.la)
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../include -I/sw/include -g -O2 -Wall -I/sw/include -O2
-fprefetch-loop-arrays
-frename-registers -F/System/Library/Frameworks/Cocoa.framework
-DLIBOSS_INTERNAL -DSYSTEM_LIB=\"/usr/lib/libSystem.dylib\" -g -O2 -Wall
-I/sw/include -O2 -fprefetch-loop-arrays -frename-registers -c -o ossins.lo
`test -f 'ossins.c' || echo './'`ossins.c
rm -f .libs/ossins.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/sw/include -g -O2 -Wall
-I/sw/include -O2 -fprefetch-loop-arrays -frename-registers
-F/System/Library/Frameworks/Cocoa.framework -DLIBOSS_INTERNAL
-DSYSTEM_LIB=\"/usr/lib/libSystem.dylib\" -g -O2 -Wall -I/sw/include -O2
-fprefetch-loop-arrays -frename-registers -c ossins.c -fno-common -DPIC -o
.libs/ossins.lo
ossins.c:27: error: conflicting types for 'write'
/usr/include/unistd.h:513: error: previous declaration of 'write' was here
make[2]: *** [ossins.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-liboss1-0.0.1-105
(Lettura del database ... 53135 file e directory attualmente installati.)
Rimozione di fink-buildlock-liboss1-0.0.1-105 ...
Updating the list of locally available binary packages.
Scanning dists/unstable/main/binary-darwin-i386
New package:
dists/unstable/main/binary-darwin-i386/gnome/gnome-mime-data_2.18.0-3_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/sound/lame-dev_3.98.2-3_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/sound/lame-shlibs_3.98.2-3_darwin-i386.deb
New package:
dists/unstable/main/binary-darwin-i386/sound/lame_3.98.2-3_darwin-i386.deb
Failed: phase compiling: liboss1-0.0.1-105 failed
Any ideas?
Thanks Bye Jack
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners