The previous version compiled without any problems with the same options! I have checked almost everything and nothing has changed in the 'make' world compared to the previous version. I looked for - module in the main Makefile.am and .in but not in the corresponding subdirectories. I have corrected the subdirectory makefile .am and .in. (Though its the same as the previous successfully compiled version) I will try and report my progress! Btw, xcode is also the same version as far as I can tell.

Many thanks.

On 19 Dec 2005, at 04:02 am, Peter O'Gorman wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Murali Vadivelu wrote:
| /bin/sh ../libtool --silent --tag=CXX --mode=link g++-3.3  -Wnon-
| virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith - Wwrite-
| strings -O3 -fno-check-new -fno-common   -Wl,-flat_namespace -Wl,-
| multiply_defined,suppress -L/sw/lib -o libLabPlot.la -rpath /sw/ lib -
| lkdeui -lgsl -lgslcblas -ljasper `Magick++-config --ldflags -- libs`
| -lnetcdf -laudiofile -lGL -lGLU ../qwtplot3d/ libLabPlotqwtplot3d.la
| -lkdeprint -lkparts -L/usr/X11R6/lib -L/sw/ lib  -lstdc++ -ltiff
| ../libundo/libLabPlotlibundo.la -version-info  6:0:5 -module
| ../cephes/libLabPlotcephes.la ../liborigin/liborigin.la  qjp2io.lo
| qtiffio.lo parser.lo AddGraphDialog.lo AnnotateValues.lo
| ArrangePlotDialog.lo Arrow.lo AverageListDialog.lo AxesDialog.lo
| Axis.lo ColormapReader.lo CompressListDialog.lo ConfigureDialog.lo
| ConvolutionListDialog.lo CorrelationListDialog.lo DataDialog.lo
| DestinationDialog.lo Dialog.lo DifferencesListDialog.lo Ellipse.lo
| ExplorerDialog.lo ExplorerListView.lo ExportDialog.lo FFTListDialog.lo
| FileInfoDialog.lo FilterListDialog.lo  FilterAUDIOFILE.lo
| FilterNETCDF.lo FilterCDF.lo FilterMAGICK.lo  FilterKexiDB.lo
| FitListDialog.lo FunctionDialog.lo Graph.lo  Graph2D.lo Graph3D.lo
| Graph4D.lo GraphM.lo GraphIMAGE.lo GraphList.lo  GraphListView.lo
| GraphListDialog.lo HankelListDialog.lo  HistListDialog.lo History.lo
| InfoDialog.lo ImageListDialog.lo ImageMagickDialog.lo ImportDialog.lo
| ImportOPJ.lo  IntegrationListDialog.lo InterpolationListDialog.lo
| Label.lo  LabPlotDialog.lo LabPlotPart.lo Legend.lo LegendDialog.lo
| LImage.lo Line.lo ListDialog.lo ListPlotDialog.lo LRange.lo LTable.lo
| LTableItem.lo MainWin.lo ModuleFactory.lo NoiseListDialog.lo
| ObjectDialog.lo OperationsListDialog.lo OverlayPlotDialog.lo
| PeakListDialog.lo PeriodicListDialog.lo Plot.lo Plot2D.lo
| Plot2DSimple.lo Plot2DSurface.lo Plot3D.lo PlotPie.lo PlotPolar.lo
| PlotTernary.lo PlotQWT3D.lo PlotDialog.lo PlotSettingsDialog.lo
| Point.lo Point3D.lo Point4D.lo Project.lo ProjectDialog.lo
| PruneListDialog.lo PstoEditDialog.lo Rect.lo RegressionListDialog.lo
| RichTextWidget.lo SeasonalListDialog.lo SmoothListDialog.lo
| Spreadsheet.lo SpreadsheetPropertiesDialog.lo
| SpreadsheetValuesDialog.lo Style.lo Symbol.lo TitleDialog.lo
| WaveletListDialog.lo Worksheet.lo WorksheetDialog.lo WrapperFactory.lo | moc_AddGraphDialog.lo moc_ArrangePlotDialog.lo moc_AverageListDialog.lo
| moc_AxesDialog.lo moc_CompressListDialog.lo  moc_ConfigureDialog.lo
| moc_ConvolutionListDialog.lo  moc_CorrelationListDialog.lo
| moc_DataDialog.lo  moc_DestinationDialog.lo moc_Dialog.lo
| moc_DifferencesListDialog.lo  moc_ExplorerDialog.lo
| moc_ExplorerListView.lo moc_ExportDialog.lo  moc_FFTListDialog.lo
| moc_FileInfoDialog.lo moc_FilterListDialog.lo  moc_FitListDialog.lo
| moc_FunctionDialog.lo moc_GraphListDialog.lo  moc_GraphListView.lo
| moc_HankelListDialog.lo moc_HistListDialog.lo moc_ImageListDialog.lo
| moc_ImageMagickDialog.lo moc_ImportDialog.lo
| moc_IntegrationListDialog.lo moc_InterpolationListDialog.lo
| moc_LabPlotDialog.lo moc_LabPlotPart.lo moc_LegendDialog.lo
| moc_ListDialog.lo moc_ListPlotDialog.lo moc_LTable.lo moc_LTableItem.lo
| moc_MainWin.lo moc_NoiseListDialog.lo  moc_ObjectDialog.lo
| moc_OverlayPlotDialog.lo  moc_OperationsListDialog.lo
| moc_PeakListDialog.lo  moc_PeriodicListDialog.lo moc_PlotDialog.lo
| moc_PlotSettingsDialog.lo moc_ProjectDialog.lo moc_PruneListDialog.lo
| moc_PstoEditDialog.lo  moc_RegressionListDialog.lo
| moc_RichTextWidget.lo moc_SeasonalListDialog.lo moc_SmoothListDialog.lo
| moc_Spreadsheet.lo  moc_SpreadsheetPropertiesDialog.lo
| moc_SpreadsheetValuesDialog.lo  moc_TitleDialog.lo
| moc_WaveletListDialog.lo moc_Worksheet.lo  moc_WorksheetDialog.lo
| moc_WrapperFactory.lo
| ranlib: file: .libs/libLabPlot.a(moc_LTableItem.o) has no symbols
| ranlib: file: .libs/libLabPlot.a(moc_LTableItem.o) has no symbols
| if g++-3.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
| DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -
| DLVERSION=\"1.5.1.pre4\" -DLVERSION_DATE=1 -DHAVE_STRTOD=1 -
| DHAVE_LOG2=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - DHAVE_SYS_STAT_H=1
| -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1
| -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1
| -DHAVE_UNISTD_H=1 -DHAVE_TIFF=1 -DHAVE_GSL=1 - DHAVE_GSL14=1
| -DHAVE_GSL16=1 -DHAVE_JASPER=1 -DHAVE_MAGICK=1 - DHAVE_GL=1
| -DKDELIBSUFF=\"\" -DHAVE_DLFCN_H=1 -DHAVE_SGI_STL=1 - DHAVE_STRLCAT=1
| -DHAVE_STRLCAT_PROTO=1 -DHAVE_STRLCPY=1 - DHAVE_STRLCPY_PROTO=1
| -DHAVE_CRYPT=1 -Dkde_socklen_t=socklen_t - Dksize_t=socklen_t
| -DHAVE_SYS_TYPES_H=1 -DHAVE_STDINT_H=1 - DHAVE_COREAUDIO=1
| -DHAVE_RES_INIT=1 -DHAVE_RES_INIT=1 - DHAVE_RES_INIT_PROTO=1
| -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 - DSIZEOF_LONG=4 -DSIZEOF_CHAR_P=4
| -DSIZEOF_SIZE_T=4 - DSIZEOF_UNSIGNED_LONG=4 -DHAVE_CRT_EXTERNS_H=1
| -DHAVE_NSGETENVIRON=1 - DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1
| -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 - DHAVE_LIBPTHREAD=1 - DSTDC_HEADERS=1 -I.
| -I. `Magick++-config -- cppflags`    -I../qwtplot3d/  -I/sw/include
| -I/sw/include/qt -I/usr/ X11R6/include  -I/sw/include/gsl
| -I../liborigin/ -I../libundo/  - DQT_THREAD_SUPPORT -I/sw/include
| -Wnon-virtual-dtor -Wno-long-long - Wundef -Wall -W -Wpointer-arith
| -Wwrite-strings -O3 -fno-check-new - fno-common -MT LabPlot.o - MD -MP
| -MF ".deps/LabPlot.Tpo" -c -o  LabPlot.o LabPlot.cc; \
| then mv -f ".deps/LabPlot.Tpo" ".deps/LabPlot.Po"; else rm -f ".deps/
| LabPlot.Tpo"; exit 1; fi
| if g++-3.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
| DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= \"\" -
| DLVERSION=\"1.5.1.pre4\" -DLVERSION_DATE=1 -DHAVE_STRTOD=1 -
| DHAVE_LOG2=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - DHAVE_SYS_STAT_H=1
| -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - DHAVE_MEMORY_H=1
| -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - DHAVE_STDINT_H=1
| -DHAVE_UNISTD_H=1 -DHAVE_TIFF=1 -DHAVE_GSL=1 - DHAVE_GSL14=1
| -DHAVE_GSL16=1 -DHAVE_JASPER=1 -DHAVE_MAGICK=1 - DHAVE_GL=1
| -DKDELIBSUFF=\"\" -DHAVE_DLFCN_H=1 -DHAVE_SGI_STL=1 - DHAVE_STRLCAT=1
| -DHAVE_STRLCAT_PROTO=1 -DHAVE_STRLCPY=1 - DHAVE_STRLCPY_PROTO=1
| -DHAVE_CRYPT=1 -Dkde_socklen_t=socklen_t - Dksize_t=socklen_t
| -DHAVE_SYS_TYPES_H=1 -DHAVE_STDINT_H=1 - DHAVE_COREAUDIO=1
| -DHAVE_RES_INIT=1 -DHAVE_RES_INIT=1 - DHAVE_RES_INIT_PROTO=1
| -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 - DSIZEOF_LONG=4 -DSIZEOF_CHAR_P=4
| -DSIZEOF_SIZE_T=4 - DSIZEOF_UNSIGNED_LONG=4 -DHAVE_CRT_EXTERNS_H=1
| -DHAVE_NSGETENVIRON=1 - DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1
| -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 - DHAVE_LIBPTHREAD=1 - DSTDC_HEADERS=1 -I.
| -I. `Magick++-config -- cppflags`    -I../qwtplot3d/  -I/sw/include
| -I/sw/include/qt -I/usr/ X11R6/include  -I/sw/include/gsl
| -I../liborigin/ -I../libundo/  - DQT_THREAD_SUPPORT -I/sw/include
| -Wnon-virtual-dtor -Wno-long-long - Wundef -Wall -W -Wpointer-arith
| -Wwrite-strings -O3 -fno-check-new - fno-common -MT LabPlotSplash.o -MD
| -MP -MF ".deps/LabPlotSplash.Tpo"  -c -o LabPlotSplash.o
| LabPlotSplash.cc; \
| then mv -f ".deps/LabPlotSplash.Tpo" ".deps/LabPlotSplash.Po"; else rm
| -f ".deps/LabPlotSplash.Tpo"; exit 1; fi
| /bin/sh ../libtool --silent --tag=CXX --mode=link g++-3.3  -Wnon-
| virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith - Wwrite-
| strings -O3 -fno-check-new -fno-common   -Wl,-flat_namespace -Wl,-
| multiply_defined,suppress -L/sw/lib -o LabPlot -lkdeui -lgsl - lgslcblas | -ljasper `Magick++-config --ldflags --libs` -lnetcdf - laudiofile
| -lGL -lGLU ../qwtplot3d/libLabPlotqwtplot3d.la  -lkdeprint  -lkparts
| -L/usr/X11R6/lib -L/sw/lib  -lstdc++ -ltiff ../libundo/
| libLabPlotlibundo.la LabPlot.o LabPlotSplash.o libLabPlot.la ../
| cephes/libLabPlotcephes.la ../liborigin/liborigin.la
|
| *** Warning: Linking the executable LabPlot against the loadable module
| *** libLabPlot.so is not portable!
| ** Warning, lib libLabPlot.so is a module, not a shared library
| ld: Undefined symbols:
| __ZThn40_N5Qwt3D11SurfacePlot13setResolutionEi

Hi Murali,
Again, if you turn off the --silent, you'll see that libtool, being unable to link libLabPlot.so has substituded in libLabPlot.a, and there is a link
order problem causing the failure.

since this package wants to link against loadable modules (please complain to the upstream authors, this is not portable), I suggest that you instead make it build dylibs instead of bundles. These can be runtime loaded, same as bundles (although on Panther and earlier there are issues with c+ + and runtime loading dylibs), but they can not be unloaded (maybe in 10.5?).

To do this, find "-module" in your makefile.ams and makefile.ins and remove it.

Peter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ6YwybiDAg3OZTLPAQJapQP6A8qR/Azy+1QYXd2B0AG+fDRn5rBmXrlr
/YESSWSqmyJsEx4ADM2M98sb7MlpY0bQHLNCKPmC/xADaqDLmyQhmouitQYkHMqP
T5TWJe9viMJym+RGSUbe9I6NonVOr3QGosmjcplMr9gjUb446FVgBSu5UkHJ4rPM
Z+0ODUuu3c0=
=+/4/
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to