Hello all

While testing the fluidsynth info file for a package update on 10.4.11  
powerpc, I got the following error:

/bin/sh ../libtool --tag=CC   --mode=link gcc  -Wall  -O2 -fomit-frame- 
pointer -funroll-all-loops -finline-functions -Wall -W -Wpointer-arith  
-Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes - 
Winline -Wno-unused-parameter -Wno-cast-qual  -L/sw/lib -o fluidsynth  
fluidsynth-fluidsynth.o libfluidsynth.la -lpthread
libtool: link: gcc -Wall -O2 -fomit-frame-pointer -funroll-all-loops - 
finline-functions -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast- 
qual -Wcast-align -Wstrict-prototypes -Winline -Wno-unused-parameter - 
Wno-cast-qual -o .libs/fluidsynth fluidsynth-fluidsynth.o  -L/sw/ 
lib ./.libs/libfluidsynth.dylib -lm -lreadline -lncurses /sw/lib/ 
libgthread-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libiconv.dylib - 
lc /sw/lib/libintl.dylib /sw/lib/libsndfile.dylib -lpthread
/usr/bin/ld: Undefined symbols:
_CFStringCreateWithCString
_CFStringCreateWithFormat
___CFConstantStringClassReference
collect2: ld returned 1 exit status
make[2]: *** [fluidsynth] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
### execution of ./configure failed, exit code 2
### execution of /var/tmp/tmp.2.B1I4f1 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fluidsynth-1.1.1-280
(Reading database ... 20823 files and directories currently installed.)
Removing fink-buildlock-fluidsynth-1.1.1-280 ...
Failed: phase compiling: fluidsynth-1.1.1-280 failed

So after adding the framework linker flag;

CompileScript: <<
  ./configure %c "LDFLAGS=-framework CoreFoundation" && make
<<

  I still get the following complaint:

Validating .deb dir /sw/src/fink.build/root-fluidsynth-dev-1.1.1-280...
Error: The -framework flag may get munged by libtool. See the gcc  
manpage for information about passing multi-word options to flags for  
specific compiler passes.
         Offending file: /sw/lib/libfluidsynth.la
         Offending line: inherited_linker_flags='  -framework  
CoreFoundation'
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fluidsynth-1.1.1-280
(Reading database ... 20823 files and directories currently installed.)
Removing fink-buildlock-fluidsynth-1.1.1-280 ...
Updating the list of locally available binary packages.
Scanning dists/local/main/binary-darwin-powerpc
Changed package: dists/local/main/binary-darwin-powerpc/fluidsynth- 
shlibs_1.1.1-280_darwin-powerpc.deb
Changed package: dists/local/main/binary-darwin-powerpc/ 
fluidsynth_1.1.1-280_darwin-powerpc.deb
Downloading the indexes of available packages in the binary  
distribution.
/sw/bin/apt-get-lockwait update
Hit http://bindist.finkmirrors.net 10.4/release/main Packages
Hit http://bindist.finkmirrors.net 10.4/release/main Release
Hit http://bindist.finkmirrors.net 10.4/release/crypto Packages
Hit http://bindist.finkmirrors.net 10.4/release/crypto Release
Hit http://bindist.finkmirrors.net 10.4/current/main Packages
Hit http://bindist.finkmirrors.net 10.4/current/main Release
Hit http://bindist.finkmirrors.net 10.4/current/crypto Packages
Hit http://bindist.finkmirrors.net 10.4/current/crypto Release
Reading Package Lists... Done
Building Dependency Tree... Done
Failed: Please correct the above problems and try again!

I presume that I probably used the incorrect syntax for passing the  
framework linker flag. I would appreciate any help in correcting this  
problem.

(BTW, there is no problem with the build on 10.5.8 powerpc.  
Compilation and validation were successful without the need to pass  
the framework linker flag.)

HAPPY NEW YEAR!

Ebrahim



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to