Mail Archives: djgpp/1995/03/20/17:24:21
> 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 -