On 18 Mar 2005 at 4:44, Rick Engebretson wrote:
Prof A Olowofoyeku (The African Chief) wrote:
Hi
I have produced a GPC interface unit for GNU plotutils (courtesy of the "headconv" program). However, there is a problem. Trying to compile a test program gives this error:
"d:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/libgpc.a(init.o): In function `p_initialize': d:/src/mingw/gcc-3.2.3/gcc/p/rts/init.pas:266: multiple definition of `_p_initialize' d:/mingw/lib/libplot.a(p_defplot.o):p_defplot.c:(.text+0x0): first defined here"
[...]
First suggestion. The plot utilities has two redundant sets of prototypes, legacy and new "threadsafe." You might have both being called. I'll check some things later.
No. This is caused by a clashing export in the GPC runtime system (libgpc.a) and p_defplot.c.
Also, I'll get the ada binding uploaded today. I need to get another ISP, my third email address in a month, fourth in six months. Nothing works here anymore, even the mail.
I have the Ada binding. It is far too involved, and is not a direct translation of the C interface. What I have done is to translate "plot.h".
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/