Hi,

sorry for the late reply, I've been pretty busy after the xmas break /:

On Jan 17, 2012, at 6:05 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 1/17/12 5:56 AM, Ivan Glushkov wrote:
>> Hi guys,
>> 
>> I am trying to install with fink root5-5.32.00-11 package and I get
>> the error below.. I have no idea why clang++ is used instead of
>> g++..
> 
> We use clang by default on 10.7, and it looks like the maintainer set
> that explicitly.  I'm assuming that's what OS version you're using,
> since you didn't provide that information.

Yep. ROOT now uses clang as default compiler on 10.7.

>> 
>> clang++ -dynamiclib -single_module -Wl,-dead_strip_dylibs
>> -install_name /sw/lib/root/libMinuit2.5.dylib -O2 -m64
>> -mmacosx-version-min=10.7 -o lib/libMinuit2.5.32.dylib
>> math/minuit2/src/AnalyticalGradientCalculator.o
>> math/minuit2/src/BasicMinimumError.o
>> math/minuit2/src/CombinedMinimumBuilder.o
>> math/minuit2/src/DavidonErrorUpdator.o
>> math/minuit2/src/FitterUtil.o math/minuit2/src/FumiliBuilder.o
>> math/minuit2/src/FumiliErrorUpdator.o
>> math/minuit2/src/FumiliGradientCalculator.o
>> math/minuit2/src/FumiliMinimizer.o
>> math/minuit2/src/FumiliStandardChi2FCN.o
>> math/minuit2/src/FumiliStandardMaximumLikelihoodFCN.o
>> math/minuit2/src/HessianGradientCalculator.o
>> math/minuit2/src/InitialGradientCalculator.o
>> math/minuit2/src/LaEigenValues.o math/minuit2/src/LaInnerProduct.o
>> math/minuit2/src/LaInverse.o math/minuit2/src/LaOuterProduct.o
>> math/minuit2/src/LaSumOfElements.o
>> math/minuit2/src/LaVtMVSimilarity.o math/minuit2/src/MPIProcess.o
>> math/minuit2/src/Minuit2Minimizer.o
>> math/minuit2/src/MnApplication.o math/minuit2/src/MnContours.o
>> math/minuit2/src/MnCovarianceSqueeze.o math/minuit2/src/MnEigen.o
>> math/minuit2/src/MnFcn.o math/minuit2/src/MnFumiliMinimize.o
>> math/minuit2/src/MnFunctionCross.o
>> math/minuit2/src/MnGlobalCorrelationCoeff.o
>> math/minuit2/src/MnHesse.o math/minuit2/src/MnLineSearch.o
>> math/minuit2/src/MnMachinePrecision.o math/minuit2/src/MnMinos.o
>> math/minuit2/src/MnParabolaFactory.o
>> math/minuit2/src/MnParameterScan.o math/minuit2/src/MnPlot.o
>> math/minuit2/src/MnPosDef.o math/minuit2/src/MnPrint.o
>> math/minuit2/src/MnScan.o math/minuit2/src/MnSeedGenerator.o
>> math/minuit2/src/MnStrategy.o math/minuit2/src/MnTiny.o
>> math/minuit2/src/MnUserFcn.o
>> math/minuit2/src/MnUserParameterState.o
>> math/minuit2/src/MnUserParameters.o
>> math/minuit2/src/MnUserTransformation.o
>> math/minuit2/src/ModularFunctionMinimizer.o
>> math/minuit2/src/NegativeG2LineSearch.o
>> math/minuit2/src/Numerical2PGradientCalculator.o
>> math/minuit2/src/ParametricFunction.o
>> math/minuit2/src/ScanBuilder.o math/minuit2/src/SimplexBuilder.o
>> math/minuit2/src/SimplexParameters.o
>> math/minuit2/src/SimplexSeedGenerator.o
>> math/minuit2/src/SinParameterTransformation.o
>> math/minuit2/src/SqrtLowParameterTransformation.o
>> math/minuit2/src/SqrtUpParameterTransformation.o
>> math/minuit2/src/TBinLikelihoodFCN.o
>> math/minuit2/src/TChi2ExtendedFCN.o
>> math/minuit2/src/TChi2ExtendedFitData.o math/minuit2/src/TChi2FCN.o
>> math/minuit2/src/TChi2FitData.o math/minuit2/src/TFcnAdapter.o
>> math/minuit2/src/TFitterFumili.o math/minuit2/src/TFitterMinuit.o
>> math/minuit2/src/TFumiliFCN.o
>> math/minuit2/src/VariableMetricBuilder.o
>> math/minuit2/src/VariableMetricEDMEstimator.o
>> math/minuit2/src/mnbins.o math/minuit2/src/mndasum.o
>> math/minuit2/src/mndaxpy.o math/minuit2/src/mnddot.o
>> math/minuit2/src/mndscal.o math/minuit2/src/mndspmv.o
>> math/minuit2/src/mndspr.o math/minuit2/src/mnlsame.o
>> math/minuit2/src/mnteigen.o math/minuit2/src/mntplot.o
>> math/minuit2/src/mnvert.o math/minuit2/src/mnxerbla.o
>> math/minuit2/src/G__Minuit2.o -ldl -Llib -lGraf -lHist -lMatrix
>> -lMathCore -Llib -lCore -lCint -compatibility_version 5
>> -current_version 5.32.00 Undefined symbols for architecture
>> x86_64: "_jpeg_CreateCompress", referenced from: _ASImage2jpeg in
>> libAfterImage.a(export.o) "_jpeg_stdio_dest", referenced from: 
>> _ASImage2jpeg in libAfterImage.a(export.o) "_jpeg_set_defaults",
>> referenced from: _ASImage2jpeg in libAfterImage.a(export.o) 
>> "_jpeg_set_quality", referenced from: _ASImage2jpeg in
>> libAfterImage.a(export.o) "_jpeg_start_compress", referenced from: 
>> _ASImage2jpeg in libAfterImage.a(export.o) "_jpeg_write_scanlines",
>> referenced from: _ASImage2jpeg in libAfterImage.a(export.o) 
>> "_jpeg_finish_compress", referenced from: _ASImage2jpeg in
>> libAfterImage.a(export.o) "_jpeg_destroy_compress", referenced
>> from: _ASImage2jpeg in libAfterImage.a(export.o) "_TIFFSetField",
>> referenced from: _ASImage2tiff in libAfterImage.a(export.o) 
>> "_TIFFScanlineSize", referenced from: _ASImage2tiff in
>> libAfterImage.a(export.o) "__TIFFmemset", referenced from: 
>> _ASImage2tiff in libAfterImage.a(export.o) "_TIFFDefaultStripSize",
>> referenced from: _ASImage2tiff in libAfterImage.a(export.o) 
>> "_TIFFWriteScanline", referenced from: _ASImage2tiff in
>> libAfterImage.a(export.o) "_jpeg_std_error", referenced from: 
>> _jpeg2ASImage in libAfterImage.a(import.o) _ASImage2jpeg in
>> libAfterImage.a(export.o) "_jpeg_destroy_decompress", referenced
>> from: _jpeg2ASImage in libAfterImage.a(import.o) 
>> "_jpeg_CreateDecompress", referenced from: _jpeg2ASImage in
>> libAfterImage.a(import.o) "_jpeg_stdio_src", referenced from: 
>> _jpeg2ASImage in libAfterImage.a(import.o) "_jpeg_read_header",
>> referenced from: _jpeg2ASImage in libAfterImage.a(import.o) 
>> "_jpeg_start_decompress", referenced from: _jpeg2ASImage in
>> libAfterImage.a(import.o) "_jpeg_read_scanlines", referenced from: 
>> _jpeg2ASImage in libAfterImage.a(import.o) 
>> "_jpeg_abort_decompress", referenced from: _jpeg2ASImage in
>> libAfterImage.a(import.o) "_jpeg_finish_decompress", referenced
>> from: _jpeg2ASImage in libAfterImage.a(import.o) "_TIFFOpen",
>> referenced from: _tiff2ASImage in libAfterImage.a(import.o) 
>> _ASImage2tiff in libAfterImage.a(export.o) "_TIFFSetDirectory",
>> referenced from: _tiff2ASImage in libAfterImage.a(import.o) 
>> "_TIFFClose", referenced from: _tiff2ASImage in
>> libAfterImage.a(import.o) _ASImage2tiff in
>> libAfterImage.a(export.o) "_TIFFGetField", referenced from: 
>> _tiff2ASImage in libAfterImage.a(import.o) "__TIFFmalloc",
>> referenced from: _tiff2ASImage in libAfterImage.a(import.o) 
>> _ASImage2tiff in libAfterImage.a(export.o) "_TIFFNumberOfStrips",
>> referenced from: _tiff2ASImage in libAfterImage.a(import.o) 
>> "__TIFFfree", referenced from: _tiff2ASImage in
>> libAfterImage.a(import.o) "_TIFFReadRawStrip", referenced from: 
>> _tiff2ASImage in libAfterImage.a(import.o) "_TIFFReadEncodedStrip",
>> referenced from: _tiff2ASImage in libAfterImage.a(import.o) 
>> "_TIFFReadRGBAStrip", referenced from: _tiff2ASImage in
>> libAfterImage.a(import.o) ld: symbol(s) not found for architecture
>> x86_64 clang: error: linker command failed with exit code 1 (use -v
>> to see invocation) make: *** [lib/libASImage.dylib] Error 1 make:
>> *** Waiting for unfinished jobs.... ln -fs libMinuit2.5.32.dylib
>> lib/libMinuit2.so ==> lib/libMinuit2.5.32.dylib done ### execution
>> of /var/tmp/tmp.1.w853el failed, exit code 2 Removing runtime
>> build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait
>> -r fink-buildlock-root5-5.32.00-11 (Reading database ... 168358
>> files and directories currently installed.) Removing
>> fink-buildlock-root5-5.32.00-11 ... Failed: phase compiling:
>> root5-5.32.00-11 failed
>> 
>> 
>> Cheers, Ivan
>> 
>> 
>> 
>> 
>> 
>> Cheers, Ivan
>> 
>> 
>> 
>> 
>> 
> 
> I get the same error (10.7/Xcode 4.2).  The missing symbols _are_
> defined in libjpeg.dylib and libtiff.dylib (well, the real libs those
> link to), and I don't see -ljpeg and -ltiff on the compiler line
> above, so I suspect that the build needs to be given these explicitly
> by Remi.

Strange. I cannot reproduce the problem on my box (10.7/Xcode 4.2.1). Something 
must go wrong when building the libAfterImage static library. Can you please 
send me the full build log (off-list)?

Thanks,
Remi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to