[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two comilation errors
From: |
John Fletcher |
Subject: |
Re: two comilation errors |
Date: |
12 Feb 93 10:31:21 GMT |
> Date: Thu, 11 Feb 93 18:03:11 PST
> From: address@hidden (Richard Kim)
> To: Octave List <address@hidden>
> Cc: address@hidden
> 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)
>
<first problem deleted>
>
>
> 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)
> address@hidden (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): address@hidden
BIRMINGHAM B4 7ET U.K. Email(JANET only): address@hidden
---------------------------------------------------------------------