Subject: Problem compiling graphics/gdchart on Darwin
To: None <tech-pkg@netbsd.org>
From: Adam <adam@albedo.art.pl>
List: tech-pkg
Date: 03/10/2005 21:22:22
Greetings,
Compilation of graphics/gdcharts ends with:
libtool --mode=link gcc -pipe -o libgdchart.la price_conv.lo gdc.lo
gdc_pie.lo gdchart.lo array_alloc.lo -L/lib/ -lgd -version-info 0:11
-rpath /usr/pkg/lib
gcc -pipe -dynamiclib ${wl}-flat_namespace ${wl}-undefined
${wl}suppress -o .libs/libgdchart.0.0.11.dylib .libs/price_conv.o
.libs/gdc.o .libs/gdc_pie.o .libs/gdchart.o .libs/array_alloc.o
/Volumes/Packages/pkgsrc/graphics/gdchart/work/.buildlink/lib/
libgd.dylib
/Volumes/Packages/pkgsrc/graphics/gdchart/work/.buildlink/lib/
libjpeg.dylib
/Volumes/Packages/pkgsrc/graphics/gdchart/work/.buildlink/lib/
libfreetype.dylib
/Volumes/Packages/pkgsrc/graphics/gdchart/work/.buildlink/lib/
libpng.dylib
/Volumes/Packages/pkgsrc/graphics/gdchart/work/.buildlink/lib/
libz.dylib
-L/Volumes/Packages/pkgsrc/graphics/gdchart/work/.buildlink/lib
-install_name /usr/pkg/lib/libgdchart.0.dylib
-Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.11
ld: multiple definitions of symbol _GDC_generate_img
.libs/gdc.o definition of _GDC_generate_img in section (__DATA,__common)
.libs/gdc_pie.o definition of _GDC_generate_img in section
(__DATA,__common)
ld: multiple definitions of symbol _GDC_hold_img
.libs/gdc.o definition of _GDC_hold_img in section (__DATA,__common)
.libs/gdc_pie.o definition of _GDC_hold_img in section (__DATA,__common)
ld: multiple definitions of symbol _GDC_image
.libs/gdc.o definition of _GDC_image in section (__DATA,__common)
.libs/gdc_pie.o definition of _GDC_image in section (__DATA,__common)
ld: multiple definitions of symbol _GDC_image_type
.libs/gdc.o definition of _GDC_image_type in section (__DATA,__common)
.libs/gdc_pie.o definition of _GDC_image_type in section
(__DATA,__common)
ld: multiple definitions of symbol _GDC_jpeg_quality
.libs/gdc.o definition of _GDC_jpeg_quality in section (__DATA,__common)
.libs/gdc_pie.o definition of _GDC_jpeg_quality in section
(__DATA,__common)
.libs/gdchart.o definition of _GDC_generate_img in section
(__DATA,__common)
.libs/gdchart.o definition of _GDC_hold_img in section (__DATA,__common)
.libs/gdchart.o definition of _GDC_image in section (__DATA,__common)
.libs/gdchart.o definition of _GDC_image_type in section
(__DATA,__common)
.libs/gdchart.o definition of _GDC_jpeg_quality in section
(__DATA,__common)
I wonder where "${wl}" comes from. Can someone familiar with pkgsrc
wrappers take a look at that?
Thank you
Kind regards,
Adam