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

Christian,

The 5.8.2a source distribution with flags such as you show below is not
the configuration that I used to build with Darwin 8.1.0,
and as I mentioned, there were specific modifications I made not only to
the source code, but also to the build environment. At this time, I have
not reposted a 5.8.2a source distribution that can be used to build
under Mac OSx.
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: