Date: Mon, 04 Mar 1996 12:12:53 -0600 From: "Eric L. Hernes" <erich@lodgenet.com> To: hackers@freebsd.org Subject: C++ and wierd symbols Message-ID: <199603041812.MAA09741@jake.lodgenet.com>
next in thread | raw e-mail | index | archive | help
howdy, I'm trying to compile some c++ stuff and I'm getting wierd link errors, like c++ is trying to overload some functions. does anyone have a clue as what's wrong? here's the source that makes the call: from `editor.c' ... picture = pnm_readpnm(in_pipe,&cols,&rows,&maxval,&format); if(picture==NULL) ... the reference to pnm_readpnm() somehow gets translated into _pnm_readpnm__FP7__sFILEPiT1PUsT1(), 'cause the link line reports: editor.o: Undefined symbol `_pnm_readpnm__FP7__sFILEPiT1PUsT1' referenced from text segment editor.o: Undefined symbol `_pnm_promoteformat__FPP5pixeliiUsiUsi' referenced from text segment editor.o: Undefined symbol `_pnm_promoteformat__FPP5pixeliiUsiUsi' referenced from text segment editor.o: Undefined symbol `_pnm_promoteformat__FPP5pixeliiUsiUsi' referenced from text segment editor.o: Undefined symbol `_pm_freearray__FPPci' referenced from text segment editor.o: Undefined symbol `_pm_allocarray__Fiii' referenced from text segment editor.o: Undefined symbol `_ppm_writeppm__FP7__sFILEPP5pixeliiUsi' referenced from text segment editor.o: Undefined symbol `_pm_freearray__FPPci' referenced from text segment *** Error code 1 help. eric. -- erich@lodgenet.com erich@rrnet.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603041812.MAA09741>