Xref: utzoo gnu.g++:682 comp.lang.c++:6646 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!bloom-beacon!athena.mit.edu!ahmed From: ahmed@athena.mit.edu (Shamim Ahmed) Newsgroups: gnu.g++,comp.lang.c++ Subject: Incremental linking using g++ 1.36.1 Keywords: incremental linking Message-ID: <1990Feb26.045320.5270@athena.mit.edu> Date: 26 Feb 90 04:53:20 GMT Sender: news@athena.mit.edu (News system) Reply-To: ahmed@athena.mit.edu (Shamim Ahmed) Organization: Massachusetts Institute of Technology Lines: 22 I notice a problem with the incremental linking feature provided with g++-1.36.1, which worked well with release 1.35.0. For every piece of code that I try to link, for example : #include DECLARE_INIT_FUNCTION (init_1); #include static void init_1 () { printf("hello world \n"); } I get the following link error: crt1.c:33: Undefined symbol ___DTOR_LIST__ referenced from text segment crt1.c:34: Undefined symbol ___DTOR_LIST__ referenced from text segment crt1.c:35: Undefined symbol ___DTOR_LIST__ referenced from text segment ( crt1.c is a file provided with g++) Could anyone please clarify if I am doing something wrong? I'd appreciate e-mail to ahmed@athena.mit.edu. Thanks....Shamim