www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/28/04:15:02

To: csaba AT vuse DOT vanderbilt DOT edu (Csaba A. Biegl)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Problem with GRX103m1
Date: Tue, 28 Jun 94 09:22:05 +0200
From: Marios Siormanolakis <sior AT i50s18 DOT ira DOT uka DOT de>

>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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019