Date: Mon, 21 Oct 1996 01:25:12 +0400 (MSD) From: "Alexander V. Lukyanov" Message-Id: <199610202125.BAA11009@video.yars.free.net> To: schwenke AT htwm DOT de Cc: djgpp AT delorie DOT com Subject: Re: PDCURSES 2.2 Problem > On Sat, 19 Oct 1996, Axel Schwenke wrote: > > > 3. I looked into libcurso.a with nm and it said me that the > > unsolved symbols are still in (yes as T(ext)) but the linker > > says they aren`t! Why? > > > > 4. The path for the library is o.k. pdcurses is in DJGPP2/CONTRIB/ > > PDCURS22/... and the LIB subdir of this path is included in > > the DJGPP LIBRARY_PATH. Also the linker seems to find libcurso.a The header curses.h in pdcurses don't handle C++ properly. As a workaround, try to include the file like this: extern "C" { #include } Or edit the file and add at the beginning #ifdef __cplusplus extern "C" { #endif and at the end #ifdef __cplusplus } #endif Personally, I did the second.