paulv
04-14-2006, 04:10 PM
Hi,
I just installed the linux express v6.2d maintenance upgrade when I moved from RHE3 to RHE4. When I build the netCDF library Fortran tests I now get errors like:
../libsrc/libnetcdf.a(nc.o)(.text+0x2d9): In function `NC_begins':
: undefined reference to `__divdi3'
when I link in the netCDF library to the compiled fortran source (the library build itself is fine). The same code compiled, linked and ran fine using v6.2c on RHE3. I';m wondering if something changed between 6.2c and d with regards to the name mangling that occurs when linking in the library? (The above symbols are all C code compiled with gcc) Or could this simply be a RHE4 issue? (last time I checked v6.2d was tested on RHE4)
Thanks for any info.
cheers,
paulv
p.s. The netCDF build and test works fine for PGI and g95 (with the latter I do have to use the -f-no-second-underscore switch.)
I just installed the linux express v6.2d maintenance upgrade when I moved from RHE3 to RHE4. When I build the netCDF library Fortran tests I now get errors like:
../libsrc/libnetcdf.a(nc.o)(.text+0x2d9): In function `NC_begins':
: undefined reference to `__divdi3'
when I link in the netCDF library to the compiled fortran source (the library build itself is fine). The same code compiled, linked and ran fine using v6.2c on RHE3. I';m wondering if something changed between 6.2c and d with regards to the name mangling that occurs when linking in the library? (The above symbols are all C code compiled with gcc) Or could this simply be a RHE4 issue? (last time I checked v6.2d was tested on RHE4)
Thanks for any info.
cheers,
paulv
p.s. The netCDF build and test works fine for PGI and g95 (with the latter I do have to use the -f-no-second-underscore switch.)