Re: Compiling flops.c
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David A. Parker wrote:
> Hello,
>
> I am trying to compile flops.c on my Debian (etch) system. I have used
> gcc 3.4, 4.0, and 4.1 with the same result. This is the output I receive:
>
> $ gcc-4.1 -o flops flops.c
> flops.c: In function 'main':
> flops.c:174: warning: return type of 'main' is not 'int'
> /tmp/cce46kOB.o: In function `main':
> flops.c:(.text+0xc4): undefined reference to `dtime'
> flops.c:(.text+0xd0): undefined reference to `dtime'
> flops.c:(.text+0x113): undefined reference to `dtime'
> flops.c:(.text+0x18e): undefined reference to `dtime'
> flops.c:(.text+0x1e2): undefined reference to `dtime'
> /tmp/cce46kOB.o:flops.c:(.text+0x203): more undefined references to
> `dtime' follow
> collect2: ld returned 1 exit status
>
> I also tried compiling it on a Solaris system with gcc 3.4 and had no
> luck. Any ideas about how I can get flops to compile?
After 10 seconds of Googling, I found the source code.
Have *you* looked at the source code and followed the instructions
in "Timer options."?
- --
Ron Johnson, Jr.
Jefferson LA USA
Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE/aFzS9HxQb37XmcRAsEeAJ9mnOsePIKn2zLj+Y1/5hJB4S0JTgCfSOw2
mI95K/w2ugK25rLmGqJM0m4=
=AmOF
-----END PGP SIGNATURE-----
Reply to: