Can't build the latest snapshot with gcc-2.95.2-1.

Kazuhiro Fujieda fujieda@jaist.ac.jp
Thu May 18 08:56:00 GMT 2000


I can't build the latest snapshot properly with gcc-2.95.2-1 as
the following.

gcc -o mount.exe mount.o -lnetapi32 -ladvapi32
mount.o(.text+0x29):mount.cc: undefined reference to `muto::~muto(void)'
/Home/fujieda/cygwin/snap/OBJ/i686-pc-cygwin/winsup/cygwin/libcygwin.a(libccrt0.o)(.text+0x29):libccrt0.cc: undefined reference to `muto::~muto(void)'
collect2: ld returned 1 exit status
make[1]: *** [mount.exe] Error 1
make[1]: Leaving directory `/Home/fujieda/cygwin/snap/OBJ/i686-pc-cygwin/winsup/utils'
make: *** [utils] Error 2

As far as I look into the output of `nm libccrt0.o' (attached
below), the compiler seems to put the unnecessary reference to
the destructor into the libccrt0.o. Should I use the latest
snapshot of GCC?
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


More information about the Cygwin-developers mailing list