Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linker problems with Leopard



Hi,
I have an Absoft Fortran project that links just fine with 10.4.10. However, under 10.5 I get the following error.

ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib

Below is what my makefile looks like. Any suggestions?

Thanks, Phil

# the directories containing the OpenGL libraries, f90gl libraries, GLUT
# libraries, and f90gl GLUT libraries
OGLLIBDIR = -L../lib

# the directory containing the X11 libraries
X11LIBDIR = 

# the fortran 90 libraries for OpenGL, including GLUT, GLU, OpenGL, fGIO
F90GLUTLIB = -lf90glut -lf90GLU -lf90GL -lfgraphicsio

UNIXLIB = -L/Applications/Absoft8.0/lib -lU77

BOBSLIB = -L/Users/lux/Programs/forlibs -lforsubs

# the X11 libraries
X11LIB = -X -framework -X GLUT -X -framework -X OpenGL -X -framework -X Cocoa

XLIB = -L/usr/X11R6/lib -lX11 /System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation /System/Library/Frameworks/AppKit.framework/Versions/Current/AppKit


# the f90 compiler flag for specifying the location of MOD files
MODS = -p ../include/GL

# fortran 90 compiler and compiler flags
F90 = /Applications/Absoft8.0/bin/f90
F90FLAGS = -g -YEXT_NAMES=LCS -YEXT_SFX=_ -N11 -s

# fortran 90 compiler flag for fixed source form
FFIXED = -f fixed

#----------- end of user configuration parameters ------------

#all: bob1

#glutdino

bob1: bob1.f90 cread.c
$(F90) $(F90FLAGS) -o bob1 $(MODS) bob1.f90 cread.o scaldynsubs.f90 \
trulen.o $(OGLLIBDIR) $(F90GLUTLIB) $(BOBSLIB) $(XLIB) $(X11LIBDIR) \
$(X11LIB) -L/sw/lib -lf2c -lg2c
clean:
rm -f *.o *.mod bob1  

cread.o: cread.c
cc -c cread.c

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.