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

Bug#1907: program ld got fatal signal 6



  Juhana K Kouhia writes:
  Juhana> /usr/bin/gcc -c -g -O -I. -I.. -I.././tools -I.././libtiff
  Juhana> .././tools/gif2tiff.c
  Juhana> /usr/bin/gcc -o gif2tiff -g -O -I. -I.. -I.././tools -I.././libtiff
  Juhana> gif2tiff.o ../libtiff/libtiff.a -lm
  Juhana> ld: Output file requires shared library `libc.so.4' gcc: Internal
  Juhana> compiler error: program ld got fatal signal 6 make[1]: ***
  Juhana> [gif2tiff] Error 1

If you compile and link with '-g' for debugging (or '-pg' for profiling'),
you now need to add '-static' at the link stage. This is a new feature that
isn't very well documented AFAIK.

--
Dirk.Eddelbuettel@qed.econ.queensu.ca          http://qed.econ.queensu.ca/~edd


Reply to: