#3 Symbols undefined when building with gcc (2.95.2)

closed-fixed
nobody
None
5
2001-01-03
2000-11-15
Andreas Dietrich
No

The libraries built contain the undefined symbols s_cmp and s_copy, which are used by gcc f77 and are defined in libg2c.a

Solution:
Explicitely state -lg2c in LDC_LIBS or use f77 instead of gcc in SHLIB_BUILD.

Same problem with the static libs. Users have to remember to use -lg2c with gcc or to use g77 to statically link their programs

Discussion

  • Alan W. Irwin
    Alan W. Irwin
    2001-01-03

    This bug now fixed at cvs HEAD. Closed

     
  • Alan W. Irwin
    Alan W. Irwin
    2001-01-03

    • status: open --> open-fixed
     
  • Alan W. Irwin
    Alan W. Irwin
    2001-01-03

    • status: open-fixed --> closed-fixed