|
From: chrysos on 17 Oct 2005 22:35 Hi I cannot install mpack error "conflicting types for malloc" Could somebody please tell me what to check and fix? Thanks Audrey $ ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for connect... (cached) yes checking for res_search... (cached) no checking for res_search in -lresolv... (cached) yes checking for dn_expand... (cached) yes checking for dns_lookup... (cached) no checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for getopt... (cached) yes creating ./config.status creating Makefile $ make check gcc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -g -O2 -c unixos.c unixos.c:42: error: conflicting types for 'malloc' unixos.c:42: error: conflicting types for 'malloc' make: *** [unixos.o] Error 1
From: Lew Pitcher on 17 Oct 2005 22:44 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 chrysos(a)gmail.com wrote: > Hi > I cannot install mpack error "conflicting types for malloc" > Could somebody please tell me what to check and fix? [snip] > $ make check > gcc -DPACKAGE=\"mpack\" -DVERSION=\"1.6\" -DHAVE_DN_EXPAND=1 > -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1 -DHAVE_GETOPT=1 -I. -I. -g > -O2 -c unixos.c > unixos.c:42: error: conflicting types for 'malloc' > unixos.c:42: error: conflicting types for 'malloc' First off, I would look at line 42 in file unixos.c to see what it says. - From the error, I would look for an incorrect or missing prototype for malloc() - -- Lew Pitcher Master Codewright & JOAT-in-training | GPG public key available on request Registered Linux User #112576 (http://counter.li.org/) Slackware - Because I know what I'm doing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFDVGGTagVFX4UWr64RAvnwAJ42nW1HshG7yM4r8kMlrAsz/GDVEgCdGD5d tb0wvoP6ncMen2K9xVtl9Io= =d0sZ -----END PGP SIGNATURE-----
|
Pages: 1 Prev: Wireless networking/Mepis/OS question Next: Kodak DVC325 webcam driver? |