Don:  Just add

-framework Foundation -framework AppKit

-Jeff

On Sat, 26 Oct 2002, Don McKenzie Paul wrote:

> This is probably a bit of topic (to say the least) but I suppose its
> a pretty easy question for you guys.I should also say I'm new to all
> this. Anyway, I am trying to compile some crystallographic
> programmes. All went well until I tried to those ones which included
> pgplot graphics. I get the following output
>
> Command: g77 -O3 grafic.f -L/sw/lib/pgplot/  -lpgplot
> -L/usr/X11R6/lib/  -lX11 /usr/local/ccsl/lib/libmk4.a -o grafic
> 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_NSConstantString
> .objc_class_name_NSObject
> .objc_class_name_NSString
> .objc_class_name_NSWorkspace
> .objc_class_name_Protocol
> _NSCalibratedRGBColorSpace
> _NSLog
> __NSConstantStringClassReference
> _objc_msgSend
> _objc_msgSendSuper
> _png_create_info_struct
> _png_create_write_struct
> _png_destroy_write_struct
> _png_init_io
> _png_set_IHDR
> _png_set_PLTE
> _png_set_tRNS
> _png_set_text
> _png_write_end
> _png_write_info
> _png_write_row
> Error loading grafic
>
> So what library am I missing or what did I do wrong. Answers on a
> postcard or preferably by email.
>
> Don
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ApacheCon, November 18-21 in
> Las Vegas (supported by COMDEX), the only Apache event to be
> fully supported by the ASF. http://www.apachecon.com
> _______________________________________________
> Fink-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-devel
>
>

-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to