[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in linking gst to c prog?
From: |
Peter Wiehe |
Subject: |
bug in linking gst to c prog? |
Date: |
Thu, 09 Nov 2000 10:25:23 +0100 |
Don't know if this is a real bug, but the answer for this may be
interesting for others, so I post it here.
When I try to link gst statically to this C program(test.c):
#include <gstpub.h>
char STCode[256];
main()
{ initSmalltalk();
strcpy(&STCode[0], "1!" );
evalCode( &STCode[0] );
}
with this command:
gcc -otest test.c /usr/local/lib/libgst.a
I get the following errors:
With Windows95 + Cygwin:
a C string:1: parse error
a C string:1: Invalid message pattern
a C string:1: Error occured while not in byte code interpreter!!
Segmentation fault
With Suse Linux:
/ur/local/lib/libgst.a(lex.o) in function 'ParserNumber'
lex.o(.text+0xf01) undefined reference to 'pow'
followed by a long list of more undefined references.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug in linking gst to c prog?,
Peter Wiehe <=