opensubscriber
   Find in this group all groups
 
Unknown more information…

f : fink-devel@lists.sourceforge.net 23 November 2009 • 6:04PM -0500

[Fink-devel] build failure for libsndfile, preventing libsamplerate from working
by Richard Kettlewell

REPLY TO AUTHOR
 
REPLY TO GROUP






(What I actually want is libsamplerate; libsndfile is just a dependency
of it.  However that's where it's all going wrong...)

Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libsndfile1-1.0.15-1
/sw/src/
fink.builddpkg-deb: building package
`fink-buildlock-libsndfile1-1.0.15-1' in `/sw/src/fin
k.build/fink-buildlock-libsndfile1-1.0.15-1_2009.11.23-09.46.45_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-libsndfile1-1.0.15-1_
2009.11.23-09.46.45_darwin-i386.deb
Selecting previously deselected package fink-buildlock-libsndfile1-1.0.15-1.
(Reading database ... 78167 files and directories currently installed.)
Unpacking fink-buildlock-libsndfile1-1.0.15-1 (from
.../fink-buildlock-libsndfile1-1.0.15-1_2009.11.23-09.46.45_darwin-i386.deb)
...
Setting up fink-buildlock-libsndfile1-1.0.15-1 (2009.11.23-09.46.45) ...
gzip -dc /sw/src/libsndfile-1.0.15.tar.gz | /sw/bin/tar -xf -
--no-same-owner -
-no-same-permissions
[...]
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I/sw/include -g -O2 -std=gnu99 -W
-Wall -Wdecl
aration-after-statement -Wstrict-prototypes -Wmissing-prototypes
-Wcast-align -W
cast-qual -Wnested-externs -Wbad-function-cast -Wwrite-strings -pipe
-fpascal-st
rings -I/Developer/Headers/FlatCarbon -c flac.c  -fno-common -DPIC -o
.libs/flac
.o
flac.c:63: error: expected specifier-qualifier-list before
'FLAC__SeekableStream
Decoder'
flac.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sf_f
lac_read_callback'
flac.c:112: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sf_f
lac_seek_callback'
flac.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sf_f
lac_tell_callback'
flac.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'sf_f
lac_length_callback'
flac.c:115: warning: type defaults to 'int' in declaration of
'FLAC__SeekableStr
eamDecoder'
[and so on]

chymax$ fink list *sndfile*
Information about 3257 packages read in 1 seconds.
      libsndfile0      0.0.28-1     Read and write files containing
sampled s...
      libsndfile0-dev  0.0.28-1     Read and write files containing
sampled s...
      libsndfile0-shl  0.0.28-1     Read and write files containing
sampled s...
      libsndfile1      1.0.15-1     Read and write files containing
sampled s...
*i*  libsndfile1-dev  1.0.20-1     Read and write files containing
sampled s...
*i*  libsndfile1-shl  1.0.20-1     Read and write files containing
sampled s...
chymax$ fink list *sample*
Information about 3257 packages read in 0 seconds.
      libsamplerate0   0.1.3-1      Samplerate conversion library
      libsamplerate0-  0.1.3-1      Headers and libraries for libsamplerate
      libsamplerate0-  0.1.3-1      Shared libraries for libsamplerate
chymax$ dpkg -l *flac*|grep ^i
ii  flac           1.2.1-1000     Free lossless audio codec
ii  libflac8       1.2.1-1000     Free lossless audio codec - shared libs
ii  libflac8-dev   1.2.1-1000     Free lossless audio codec -
encoder/decoder
chymax$ uname -a
Darwin chymax.anjou.terraraq.org.uk 10.2.0 Darwin Kernel Version 10.2.0:
Tue Nov  3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386
i386 MacPro1,1 Darwin

I made sure I'd run selfupdate and update-all just before doing this.

ttfn/rjk

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-devel mailing list
Fink-devel@list...
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.