Mail Archives: djgpp/1994/06/28/04:15:02
>The solution is to link with 'libc.a' (and 'libpc.a' ?) BEFORE 'libgrx.a'
this doesn't help (see below)
>If this alone does not help, just include a reference to 'rawclock' in one
>of your source files.
There is a prototype for 'rawclock' in mousex.h
>
>Csaba Biegl
>csaba AT vuse DOT vanderbilt DOT edu
I can't get the following program linked with grx103m1.
~~
There's no problem with grx103
===================== test.c ===============
#include <std.h>
#include <grx.h>
#include <mousex.h>
void main()
{
clock();
MouseInit();
}
============================================
C:\TEST>gcc -o test test.c -lgrx
fake(.text+c): multiple definition of 'rawclock (.text)'
mouse.c(.text+0): first seen here
C:\TEST>gcc -o test test.c -lc -lgrx
mouse.c(.text+0): multiple definition of 'rawclock (.text)'
fake(.text+c): first seen here
Marios
sior AT ira DOT uka DOT de
P.S.: I use the djgpp257maint5 package.
- Raw text -