I am trying to make a package (that compiled fine under g77 3.1), but chokes using gcc 3.3.1 when referencing the frameworks keyword:

g77 -O2 -o diffkk ../diffkk/diffkk.o ../diffkk/lib.o ../diffkk/dkinp.o ../diffkk/str2at.o ../diffkk/dkfit.o ../diffkk/dkfcn.o ../diffkk/dklog.o libifeffit.a \
-L/sw/lib/pgplot -lpgplot -L/usr/lib -L/sw/lib -lpng -L/usr/X11R6/lib -lX11 -framework Foundation -framework AppKit -lg2c -lm
g77: Foundation: No such file or directory
g77: AppKit: No such file or directory





The funny part is that the framework keyword works elsewhere. Any ideas as to what might be going wrong?


When I tried to get around this (?bug) by using the g77 -v command and using ld myself directly, I encountered a different undefined symbol problem:

[etld1220:ifeffit-1.2.0/src/macosx] paulfons% ld -o diffkk ../diffkk/diffkk.o ../diffkk/lib.o ../diffkk/dkinp.o ../diffkk/str2at.o ../diffkk/dkfit.o ../diffkk/dkfcn.o ../diffkk/dklog.o libifeffit.a -L/sw/lib/pgplot -lpgplot -L/usr/lib -L/sw/lib -lpng -L/usr/X11R6/lib -lX11 -framework Foundation -framework AppKit -lg2c -lm -lfrtbegin -lg2c
ld: Undefined symbols:
dyld_stub_binding_helper
restFP
saveFP
___divdi3
___fixdfdi
___udivdi3
___umoddi3



the -lfrtbegin -lg2c options I parroted from the g77 -v version of the same command. Any ideas?




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to