Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[netCDF #NRQ-166824]: compiling issue __divdi3



Hi Brian,

There was no followup to the related message in our Mail archives,
so we don't know whether or how the problem was resolved.

The line referenced is dividing an integer by a number of type
off_t, which is probably a 64-bit integer or "long long" on
your platform.  If you are compiling on a 32-bit platform, the
fact that this cannot be found in your installed gcc runtime
libraries may indicate that you have 64-bit run time libraries
with a 32-bit compiler or some similar misconfiguration of gcc
and its runtime libraries.  Or perhaps the version of gcc is
not compatible with the version of libgcc.

Also make sure you are using gcc to link and not trying to
manually link with ld, as gcc should know where to find its
runtime libraries.

--Russ


--Russ


Russ Rew                                         UCAR Unidata Program
russ@xxxxxxxxxxxxxxxx                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: NRQ-166824
Department: Support netCDF
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690