Article View: comp.sources.d
Article #1294Re: problems building abc
From: Martin Schulte
Date: Tue, 01 Jan 1991 20:08
Date: Tue, 01 Jan 1991 20:08
38 lines
2020 bytes
2020 bytes
I stated, that I made abc compiling on Sun4, but gary@proa.sb.dg.com still
has problems:
>Hmm. Doesn't your compiler/linker notice the strange call to remove? Perhaps
>no one else has run with full header files??
> gcc -pipe -O -DNDEBUG -I../bhdrs -I../ihdrs -I../uhdrs -c i3loc.c
>i3loc.c: In function l_remove:
>i3loc.c:430: warning: argument passing between incompatible pointer types
>i3loc.c:430: too many arguments to function `remove'
>i3loc.c: In function unbind:
>i3loc.c:456: warning: argument passing between incompatible pointer types
>i3loc.c:456: too many arguments to function `remove'
>*** Error code 1
This is certainly due to the fact that you use the ANSI-conform gcc
instead of cc. I don't know how you managed it to get the gcc in your
Makefile, but if you use cc or gcc -traditional instead it should work.
But, as far as we experienced here, it's anyway at least not worse to
use cc instead of gcc on the Sparc, the suns cc produces faster code
and supports dynamic-linking.
>But the big question - which I have reported to the authors - is what is
>the call to remove _really_ supposed to be? Remove() deletes files. It
^^^^^^^^
>doesn't look like that is what is wanted here at all.
I only took a short look on the sources, why do you think it should remove
files ?
Martin
--
--
Martin Schulte
Institute for Theoretical Physics
University of Cologne/Germany
Internet: schulte@thp.uni-koeln.de
Technical Details
Message-ID:
<SCHULTE.91Jan1200851@sun0.thp.uni-koeln.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!unido!uni-koeln!uvax!schulteShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!unido!uni-koeln!uvax!schulte From: schulte@thp.uni-koeln.de (Martin Schulte) Newsgroups: comp.sources.d Subject: Re: problems building abc Message-ID: <SCHULTE.91Jan1200851@sun0.thp.uni-koeln.de> Date: 1 Jan 91 20:08:51 GMT Sender: news@rrz.uni-koeln.de (USENET News System) Distribution: comp Organization: Institute of Theoretical Physics, University of Cologne, F. R. Germany Lines: 38