delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/20/17:24:21

Date: Mon, 20 Mar 1995 14:19:27 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: Mousex.h
To: sarda_jea AT lsi DOT supelec DOT fr
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>	hello,
>	I tried to link 2 .o files with gcc, one was compiled with <grx.h> and 
><stdio.h>, and the other one was compiled with <stdio.h>, <stdlib.h>, <conio.h>, 
><math.h> and <mousex.h>.
>
>	It makes this error : 'Redefinition of raw_clock()'
>(I 'm not using the procedure raw_clock() in my programs!!)
>
>	I think this error is due to <mouse.x> because I have it since i 
>included it.
>So, how can I solve this problem?

No, the problem is with libgrx.  For some reason, libgrx.a contains a bad
version of mouse.o; you can fix this by compiling a new version and replacing
the old one with it.  (For information on replacement, either look up ar
in the binutils docs or look at the batch files which came with some
maintenance releases.)

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
Geek code 2.1 [for explanation, finger hayden@ | `God's Laws' (Rudy Rucker,  
vax1.mankato.msus.edu]: GCS/M/S d(-) H s g+ p? \ _Master of Space and Time_):
!au a17 w+ v+(++) C++(+++)>++++ UL++(S+)>++++	\ 1) Be clean. 2) Follow Gary.
P+(++) L++ 3(-) E- N+(++) K- W--(---) M-@ V-(--) \ 3) Teach God's Laws.
po-(--) Y+ t(+) !5 j(++) R(-) G' tv--(-) b+++	  +---------------------------
!D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


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