From help-octave-request Fri Feb 12 15:35:00 1993 Subject: Re: two comilation errors From: John Fletcher To: richard at blazers dot tv dot tek dot com, help-octave Date: 12 Feb 93 10:31:21 GMT > Date: Thu, 11 Feb 93 18:03:11 PST > From: richard at blazers dot tv dot tek dot com (Richard Kim) > To: Octave List > Cc: richard at blazers dot tv dot tek dot com > Subject: two comilation errors > > I use SPARC IPC, SunOS 4.1.1, X11R5 > gcc-2.3.3 > octave-0.67 (patched from 0.66 to 0.67) > > > > Second, while linking "src/octave", the loader gives the following error: > > ld: Undefined symbol > _malloc__FUi > This looks to me that malloc is being treated as a C++ routine rather than a C routine, hence the mangled name. I guess that is a header problem. The header should have extern "C" put round it in C++ context. > > What is wrong? > > Richard Y. Kim (503) 627-2375 (Office) > richard at tv dot tv dot tek dot com (503) 627-1707 (Fax) > I hope this helps. John --------------------------------------------------------------------- Dr John P. Fletcher Department of Chemical Engineering and Applied Chemistry, Aston University, Tel: (44) 21 359 3611 ext 4625 Aston Triangle, Email(Most systems): J dot P dot FLETCHER at ASTON dot AC dot UK BIRMINGHAM B4 7ET U.K. Email(JANET only): J dot P dot FLETCHER at UK dot AC dot ASTON ---------------------------------------------------------------------