Neil
I have the GEMPAK 5.11.4 executables built for Windows under Cygwin.
In the GEMPAK5.11.4/os/cygwin/lib/ look at the gemlib.a file using nm as
follows:
nm gemlib.a | grep -i gg_maps
00000000 T _gg_maps_
U _gg_maps_
You should see the correct number of underscores before and after.
If it is not exactly like this, check your compiler options in
config/Makeinc.darwin. You have the -fno-second-underscore set.
John Huddleston, PhD, PE
-----Original Message-----
From: gembud-bounces@xxxxxxxxxxxxxxxx
[mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Neil Smith
Sent: Thursday, August 27, 2009 6:56 PM
To: ryan jewell
Cc: gembud@xxxxxxxxxxxxxxxx
Subject: Re: [gembud] Greetings
Ryan, I see by the makefile you included in this posting of Aug 3 that
you were having the same symbols issue that I'm still having and don't
know how to get rid of:
======
/usr/local/bin/g77 -fno-second-underscore -I/Users/atmo/GEMPAK5.11.4/
gempak/include -I/Users/atmo/GEMPAK5.11.4/os/darwin/include -O
device.f /Users/atmo/GEMPAK5.11.4/os/darwin/lib/gemlib.a /Users/atmo/
GEMPAK5.11.4/os/darwin/lib/device.a /Users/atmo/GEMPAK5.11.4/os/darwin/
lib/vg.a /Users/atmo/GEMPAK5.11.4/os/d
arwin/lib/gn.a /Users/atmo/GEMPAK5.11.4/os/darwin/lib/cgemlib.a /Users/
atmo/GEMPAK5.11.4/os/darwin/lib/gemlib.a /Users/atmo/GEMPAK5.11.4/os/
darwin/lib/cgemlib.a /Users/atmo/GEMPAK5.11.4/os/darwin/lib/gemlib.a /
Users/atmo/GEMPAK5.11.4/os/darwin/lib/syslib.a -lm -o vg
Undefined symbols:
"_gsmmgn_", referenced from:
_gg_maps_ in gemlib.a(ggmaps.o)
_gg_maps_ in gemlib.a(ggmaps.o)
"_gline_", referenced from:
.
.
.
"_gsgprj_", referenced from:
_im_nidsdriver_ in gemlib.a(im_nids_driver.o)
_gdctbl_ in gemlib.a(gdctbl.o)
_gr_snav_ in gemlib.a(grsnav.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[5]: *** [vg] Error 1
======
I'm getting likewise for the other devices in gempak/source/driver/...
Did you solve that bugger?
-Neil
On Aug 3, 2009, at 1:12 PM, ryan jewell wrote:
> I've got a 6 mb make.out file but still no gui applications. I got
> rid of the "libXm.a" error by modifying all of these files:
>
> Makeinc.common
> Makeinc.darwin, .darwin.mort, .darwin.sav, .darwin.sid.
>
> I changed MOTIFINC to =/usr/OpenMotif/include
> I changed MOTIFLIBS to =/usr/OpenMotif/lib/libXm.a
> I changed GUILIBS to = /usr/OpenMotif/lib/libXm.a
>
> That got ride of the libXm.a errors, but I still have other errors
> like:
>
> g77: /usr/X11R6/lib/libXpm.a: No such file or directory
>
> I checked, and my libXpm.a file is actually called "libXpm.la"
> Are these the same files? Seems like I"m getting deeper into a
> mess modifying more and more files. Where is the "chosen one" who
> knows all? :-)
>
> Ryan
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.409 / Virus Database: 270.13.71/2334 - Release Date: 08/29/09
17:51:00