[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #BNP-247945]: Problem in compiling McIDAS-X 2009



Hi Bob,

re:
> I am trying to compile the latest version of McIDAS-X (2009) on a Mac and
> get the errors below in compiling mcwish.
> 
> The machine info:
> 
> Darwin ITCE68-122-5.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 
> 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
> 
> gfortran version:
> 
> 686-apple-darwin8-gfortran-4.2
> 
> There are many warning errors "cann't find atom for G_GSYM.
> and then:
> Undefined symbols:
> "_BSDgettimeofday", referenced from:
> _NativeGetTime in libtcl8.5.a(tclUnixTime.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> link    mcwish:                 FAILED
> 
> Any help in diagnosing the problem would be appreciated.

Can you send me the full build log file?  It is:

~/mcidas/mcidas2009/src/makelog

This will help me fully understand what is happening, but I
can say that I have a feeling that I have runinto the 
undefined symbol "_BSDgettimeofday" befire on MacOS-X
systems.  I will check through our McIDAS-X archives to
see if my memory is correct and to remind me of what the
fix is.

re:
> Thank you!

No worries.

~mcidas/mcidas2009/src/makelog snippit:
 ...
> gfortran -g -o mcenv mcenv.o -L. -L/usr/X11R6/lib -lmcidas -lXss -lXext -lSM 
> -lICE -lm
> ld warning: can't find atom for N_GSYM stabs 
> lbcom1:G(0,14)=s1036lbterm:(0,1),0,32;lbbeg:(0,1),32,32;lbn:(0,1),64,32;lentbl:(0,15)=ar(0,1);0;255;(0,1),96,8192;;
> in ./libmcidas.a(lbget.o)
> ld warning: can't find atom for N_GSYM stabs lbterm:G(0,1) in 
> ./libmcidas.a(lbget.o)
> ld warning: can't find atom for N_GSYM stabs 
> lbcom2:G(0,16)=u3256icstr:(0,1),0,32;cstr:(0,12),0,1280;clbh:(0,10),1280,96;clby:(0,10),1376,96;ctbl:(0,17)=ar(0,1);0;255;(0,10),1472,24576;;
>  in ./libmcidas.a(lbget.o)
> ld warning: can't find atom for N_GSYM stabs icstr:G(0,1) in 
> ./libmcidas.a(lbget.o)
> ld warning: can't find atom for N_GSYM stabs cstr:G(0,12) in 
> ./libmcidas.a(lbget.o)
> ld warning: can't find atom for N_GSYM stabs 
> lbcom2:G(0,5)=u3256cstr:(0,6)=@S;ar(0,2);1;160;(0,4),0,1280;clbh:(0,3),1280,96;clby:(0,3),1376,96;ictbl:(0,2),1472,32;ctbl:(0,7)=ar(0,2);0;255;(0,3),1472,24576;;
>  in ./libmcidas.a(lbchek.o)
> ld warning: can't find atom for N_GSYM stabs cstr:G(0,6) in 
> ./libmcidas.a(lbchek.o)
> ld warning: can't find atom for N_GSYM stabs 
> lbcom1:G(0,8)=s1036lbterm:(0,2),0,32;lbbeg:(0,2),32,32;lbn:(0,2),64,32;lentbl:(0,9)=ar(0,2);0;255;(0,2),96,8192;;
>  in ./libmcidas.a(lbchek.o)
> ld warning: can't find atom for N_GSYM stabs lbterm:G(0,2) in 
> ./libmcidas.a(lbchek.o)
> ......
> 
> Undefined symbols:
> "_BSDgettimeofday", referenced from:
> _NativeGetTime in libtcl8.5.a(tclUnixTime.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> link    mcwish:                 FAILED
 ...

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: BNP-247945
Department: Support McIDAS
Priority: Normal
Status: Open