[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-beginners
Subject:    [Fink-beginners] liboss1-0.0.1-105 doesn't compile
From:       Giacomo Petrini <g_petrini () yahoo ! it>
Date:       2009-09-30 8:04:03
Message-ID: 745741.88151.qm () web23605 ! mail ! ird ! yahoo ! com
[Download RAW message or body]

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&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic