Re: bglibs: ./installer failure on amd64
Bruce Guenter <[email protected]>
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jun 14, 2005 at 04:44:10PM +0000, Gerrit Pape wrote: > ----- Forwarded message from Kurt Roeckx ----- > > The build log shows: > instlib/installer.c: In function `main': > instlib/installer.c:125: warning: implicit declaration of function `getenv' > instlib/installer.c:125: warning: assignment makes pointer from integer without > a cast > > You need to include <stdlib.h> to get a good declaration of the > function. The implicit declaration defaults to returning an int > instead of a pointer, and pointers are a different size on 64 bit > arches. Yep, that's a bug all right. bglibs 1.022 doesn't have this bug (the getenv has been moved into another file that includes <stdlib.h>), and bg-installer also includes <stdlib.h> properly as well. -- Bruce Guenter <[email protected]> http://em.ca/~bruceg/ http://untroubled.org/ OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA 2E2A E96F B2DC 6999 80E8
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCr55s6W+y3GmZgOgRAs3bAJwJ8DapIYGSZLZiwxXhxttzNhSgZwCZAfJx 0SRBxehpUwO9F6FX3o3vs6g= =l4Pg -----END PGP SIGNATURE-----