Re: 20050526: GEMPAK binary for Mac OS X / Darwin

I have posted an updated 5.8.2a source code distribution that contains
the necessary modifications to build GEMPAK under Mac OSX.

Specific notes:

1) I built gcc/g77 3.4.4 since the Apple gcc in the system did not
have the fortran language supplied.

2) I built openmotif 2.3.3 which is necessary for GEMPAK.

3) You will encounter complaints about needing to run ranlib separately
for jasper.a as the configure script supplied with that package did not
correctly determing the ARFLAGS.
Attempts to mix fink g77 with apple's gcc will produce S_REGULAR versus
S_COALESCED library mismatches. See #1 above.

Steve Chiswell
Unidata User SUpport





On Fri, 2005-05-27 at 14:52, Christian Pagé wrote:
Hi,

I have some more problems compiling GEMPAK 5.8.2.a on Mac OS X 10.4.1:

In dcgrib2:
gcc -no-cpp-precomp -fno-common -DUNDERSCORE -DDarwin - D__APPLE_API_UNSTABLE -I/usr/local/gempak/GEMPAK5.8.2a/gempak/include -I/usr/X11R6/include -I/sw/include -g -I/usr/local/gempak/ GEMPAK5.8.2a/gempak/source/gemlib/gb -I/usr/local/gempak/GEMPAK5.8.2a/ gempak/source/bridge/dc -c -o dcfillgrid.o dcfillgrid.c
In file included from dcfillgrid.c:7:
dcgrib.h:163: error: conflicting types for 'gr_mnav_'
/usr/local/gempak/GEMPAK5.8.2a/gempak/include/proto_gemlib.h:282: error: previous declaration of 'gr_mnav_' was here
dcgrib.h:184: error: conflicting types for 'tg_itoc_'
/usr/local/gempak/GEMPAK5.8.2a/gempak/include/proto_gemlib.h:363: error: previous declaration of 'tg_itoc_' was here
make: *** [dcfillgrid.o] Error 1
Exit 2

Also, for garp:
Making all in /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gempak/darwin
/usr/bin/ld: multiple definitions of symbol _GARP_versionXmS
init/darwin/main.o definition of _GARP_versionXmS in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (callbacks.o) definition of _GARP_versionXmS in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a(gui.o) definition of _GARP_versionXmS in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (updatecb.o) definition of _GARP_versionXmS in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _ButtonDownMotionActionFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _ButtonDownMotionActionFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _ButtonDownMotionActionFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _ButtonDownMotionDrawFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _ButtonDownMotionDrawFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _ButtonDownMotionDrawFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _DoubleClickActionFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _DoubleClickActionFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _DoubleClickActionFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _DoubleClickDrawFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _DoubleClickDrawFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _DoubleClickDrawFunc in section (__DATA,__common) /usr/bin/ld: multiple definitions of symbol _EndButtonDownMotionActionFunc /usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _EndButtonDownMotionActionFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _EndButtonDownMotionActionFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _EndButtonDownMotionDrawFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _EndButtonDownMotionDrawFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _EndButtonDownMotionDrawFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _SingleClickActionFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _SingleClickActionFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _SingleClickActionFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _SingleClickDrawFunc
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/init/darwin/init.a (init_actions.o) definition of _SingleClickDrawFunc in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a (winactions.o) definition of _SingleClickDrawFunc in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _display
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/gui/darwin/gui.a(gui.o) definition of _display in section (__DATA,__common) /usr/local/gempak/GEMPAK5.8.2a/comet/garp/gempak/darwin/gempak.a (imgcolormod.o) definition of _display in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _imgData
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/gempak/darwin/gempak.a (readimgdata.o) definition of _imgData in section (__DATA,__data) /usr/local/gempak/GEMPAK5.8.2a/lib/darwin/gemlib.a(imicmn.o) definition of _imgData in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _last_rawsize
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/gempak/darwin/gempak.a (readimgdata.o) definition of _last_rawsize in section (__DATA,__data) /usr/local/gempak/GEMPAK5.8.2a/lib/darwin/gemlib.a(imicmn.o) definition of _last_rawsize in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _rawData
/usr/local/gempak/GEMPAK5.8.2a/comet/garp/gempak/darwin/gempak.a (readimgdata.o) definition of _rawData in section (__DATA,__data) /usr/local/gempak/GEMPAK5.8.2a/lib/darwin/gemlib.a(imicmn.o) definition of _rawData in section (__DATA,__common)
collect2: ld returned 1 exit status
make: *** [darwin/garp] Error 1


Christian Pagé
http://meteocentre.com/    http://meteoalerte.com/

Etudiant au Doctorat en Sciences de l'environnement UQAM
+1 514 987 3000 ext. 2376



  • 2005 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: