Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
compiling gnuplotfortran with xlf95
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling gnuplotfortran with xlf95




Hello all,

I'm trying to compile this package
http://gnuplotfortran.sourceforge.net/
with xlf on mac os x...

the original makefile has -shared as an f95 flag in order to build a
shared library...

I changed the -shared flag to -dynamic (not being able to find anything
related in the xlf manual) and got this:

$ make
xlf95 -F:f90 -dynamic gnuplot_fortran95.f90 -o libgnuplotfortran.so
** datatypes   === End of Compilation 1 ===
** gnuplot_module_data   === End of Compilation 2 ===
** polar_cartesian   === End of Compilation 3 ===
** gnuplot_module   === End of Compilation 4 ===
1501-510  Compilation successful for file gnuplot_fortran95.f90.
/usr/bin/ld: Undefined symbols:
_main
_fortran_access
_fortran_fflush
_fortran_fputs
_fortran_getcwd
_fortran_getenv
_fortran_gethostname
_fortran_getlogin
_fortran_mkdir
_fortran_pclose
_fortran_pipebufsize
_fortran_popen
_fortran_rmdir
make: *** [libgnuplotfortran.so] Error 1

Any kind soul out there with suggestion(s) ?

Best regards,
Peter


Best regards,
Peter
___________________________________________
Department: Mathematics, NJIT
Office    : Cullimore Hall, Rm. 608
Phone     : (973)596-5626
FAX       : (973)596-6467
E-mail    : email@hidden
URL       : http://web.njit.edu/~peterp/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Fortran-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

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 © 2011 Apple Inc. All rights reserved.