[Xastir-Dev] Error on Mac OS X 10.3 clean install
Marinus van Opzeeland
m.vanopzeeland at chello.nl
Sat Nov 15 10:50:01 EST 2003
I did a clean install of Mac OS X 10.3 on my system. Now that I am
re-installing Xastir, I get a number of warnings that "HAVE_MALLOC"
is redefined.
(example)
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include
-I/usr/X11R6/include -I/sw/include/freetype2 -D_REENTRANT
-I/usr/X11R6/include/X11 -I/sw/include/libxml2
-DXASTIR_DATA_BASE=\"/sw/share/xastir\" -g -O2 -pipe -Wall -MT main.o
-MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
In file included from /sw/include/magick/api.h:27,
from main.c:70:
/sw/include/magick/magick_config.h:131:1: warning: "HAVE_MALLOC"
redefined
In file included from snprintf.h:29,
from main.c:27:
../config.h:172:1: warning: this is the location of the previous
definition
Once it gets to the linker, it stops with following error
gcc -g -O2 -pipe -Wall -L/sw/lib -L/usr/X11R6/lib -o xastir alert.o
awk.o bulletin_gui.o color.o datum.o db.o dbfawk.o draw_symbols.o
fcc_data.o festival.o gps.o hostname.o igate.o interface.o
interface_gui.o lang.o list_gui.o locate_gui.o location.o
location_gui.o main.o maps.o map_dos.o map_geo.o map_gdal.o map_gnis.o
map_pdb.o map_shp.o map_tif.o map_tiger.o messages.o messages_gui.o
popup_gui.o rac_data.o rotated.o snprintf.o sound.o track_gui.o util.o
view_message_gui.o wx.o wx_gui.o xa_config.o -lXm -lXt -lX11 -lMagick
-llcms -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM
-lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lintl -lcurl -lXm -lXt -lXp
-lXext -lSM -lICE -lX11
ld: warning prebinding disabled because dependent library:
/sw/lib/libXm.2.dylib is not prebound
ld: warning can't open dynamic library: /sw/lib/libdl.0.dylib (checking
for undefined symbols may be affected) (No such file or directory,
errno = 2)
ld: Undefined symbols:
_rpl_malloc
make[2]: *** [xastir] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any suggestions ?
73, Marinus - PE1LIF
More information about the Xastir-dev
mailing list