[Bf-committers] compiling problems
Torsten Boehm
boehm at obs-mip.fr
Fri Sep 24 18:03:36 CEST 2004
Hi, I saw your thread on the WWW, concerning compilation problems. I
hava a very similar
problem compiling some imported UNIX software on mi bipro G5 (OSX
10.3.5).
I get the following complaints:
g77 -o geometry geometry.o util.o spec.o earth.o ccdfit.o
/Users/boehm/esprit/lib/libfile.a /Users/boehm/esprit/lib/libnr0.a
/Users/boehm/esprit/lib/libmem.a -L/usr/X11R6/lib -lX11
/Users/boehm/esprit/lib/libplot.a -L/usr/lib/gcc/darwin/3.3
-L/sw/lib/pgplot -lgcc -lcpgplot -lpgplot -lpng -lm
/usr/bin/ld: Undefined symbols:
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSBezierPath
.objc_class_name_NSBitmapImageRep
.objc_class_name_NSColor
.objc_class_name_NSConnection
.objc_class_name_NSObject
.objc_class_name_NSString
.objc_class_name_NSWorkspace
.objc_class_name_Protocol
_NSCalibratedRGBColorSpace
_NSLog
___CFConstantStringClassReference
_objc_msgSend
_objc_msgSendSuper
collect2: ld returned 1 exit status
make: *** [geometry] Error 1
Do you have any idea what to do?
I compile with the following makefile:
UTL=/Users/boehm/esprit/lib
MEM=$(UTL)/libmem.a
FIL=$(UTL)/libfile.a
NR0=$(UTL)/libnr0.a
PLT=$(UTL)/libplot.a
GRF=$(PLT) -L/usr/lib/gcc/darwin/3.3 -L/sw/lib/pgplot -lgcc -lcpgplot
-lpgplot
-lpng
LIBX= -L/usr/X11R6/lib -lX11
.c.o:
gcc -c -I$(UTL) $<
geometry: geometry.o util.o spec.o earth.o ccdfit.o $(FIL) $(NR0)
$(MEM) $(PLT)
g77 -o geometry geometry.o util.o spec.o earth.o ccdfit.o
$(FIL) $(NR0)
$(MEM) $(LIBX) $(GRF) -lm
Thanks a lot in advance!
cheers
Torsten
------------------------------------------------------------------------
---------------------------
Dr Torsten Böhm
CNRS
Laboratoire Astrophysique de Toulouse
Observatoire Midi-Pyrénées
14 ave Edouard Belin
F - 31400 Toulouse
Tel: +33 5 61 33 28 32 Fax: +33 5 61 33 28 40
email: boehm at obs-mip.fr
------------------------------------------------------------------------
---------------------------
More information about the Bf-committers
mailing list