bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Installation process: make failed


From: Allan . Pomeroy
Subject: RE: Installation process: make failed
Date: Wed, 12 Dec 2001 13:24:41 -0500

Larry,

Thanks for the prompt response, and the good answer!  

Exporting CC=cc got me past that make error, but I got two warnings ... is
that ok?

        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c history.c
"history.c", line 676.63: 1506-280 (W) Function argument assignment between
types "int(*)(const void*,const void*)" and "int(*)()" is not allowed.
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c modules.c
"modules.c", line 927.60: 1506-280 (W) Function argument assignment between
types "int(*)(const void*,const void*)" and "int(*)()" is not allowed.

I tried two versions:  1.10 and 1.11.1p1, and got the same warning messages
from both.  Here is the entire output of the make for v1.10:

$ make
making all in lib
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c vasprintf.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c fnmatch.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c argmatch.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c getline.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c getopt.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c getopt1.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c md5.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c regex.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c savecwd.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c sighandle.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c stripslash.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c xgetwd.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c yesno.c
        cc  -I.. -I. -I../src  -DHAVE_CONFIG_H -g -c getdate.c
        ar cr libcvs.a vasprintf.o fnmatch.o  argmatch.o  getline.o
getopt.o  getopt1.o  md5.o  regex.o  savecwd.o  sighandle.o  stripslash.o
xgetwd.o  yesno.o  getdate.o
        ranlib libcvs.a
Target "all" is up to date.
making all in zlib
        cc -g -c adler32.c
        cc -g -c compress.c
        cc -g -c crc32.c
        cc -g -c gzio.c
        cc -g -c uncompr.c
        cc -g -c deflate.c
        cc -g -c trees.c
        cc -g -c zutil.c
        cc -g -c inflate.c
        cc -g -c infblock.c
        cc -g -c inftrees.c
        cc -g -c infcodes.c
        cc -g -c infutil.c
        cc -g -c inffast.c
        ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o
trees.o  zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o
inffast.o
Target "all" is up to date.
making all in diff
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g diff.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g diff3.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g analyze.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g cmpbuf.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g dir.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g io.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g
-DPR_PROGRAM=\"/bin/pr\" util.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g context.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g ed.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g ifdef.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g normal.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g side.c
        cc -c  -DHAVE_CONFIG_H  -I. -I.. -I. -I../lib -g version.c
        ar cr libdiff.a diff.o diff3.o analyze.o cmpbuf.o dir.o io.o util.o
context.o ed.o ifdef.o normal.o side.o version.o
        ranlib libdiff.a
Target "all" is up to date.
making all in src
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c add.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c admin.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c buffer.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c checkin.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c checkout.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c classify.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c client.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c commit.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c create_adm.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c cvsrc.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c diff.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c edit.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c entries.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c expand_path.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c fileattr.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c find_names.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c hardlink.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c hash.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c history.c
"history.c", line 676.63: 1506-280 (W) Function argument assignment between
types "int(*)(const void*,const void*)" and "int(*)()" is not allowed.
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c ignore.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c import.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c lock.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c log.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c login.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c logmsg.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c main.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c mkmodules.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c modules.c
"modules.c", line 927.60: 1506-280 (W) Function argument assignment between
types "int(*)(const void*,const void*)" and "int(*)()" is not allowed.
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c myndbm.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c no_diff.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c parseinfo.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c patch.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c rcs.c
        cc  -I. -I.. -I. -I../lib -I../diff -DHAVE_CONFIG_H  -g -c
./rcscmds.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c recurse.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c release.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c remove.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c repos.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c root.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c rtag.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c scramble.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c server.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c status.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c tag.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c update.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c watch.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c wrapper.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c vers_ts.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c subr.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c filesubr.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c run.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c version.c
        cc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -c error.c
        cc  -I. -I.. -I. -I../lib -I../zlib -DHAVE_CONFIG_H  -g -c ./zlib.c
        cc add.o admin.o buffer.o checkin.o checkout.o classify.o client.o
commit.o create_adm.o cvsrc.o diff.o edit.o entries.o expand_path.o
fileattr.o find_names.o hardlink.o hash.o history.o ignore.o import.o
lock.o log.o login.o logmsg.o main.o mkmodules.o modules.o myndbm.o
no_diff.o  parseinfo.o patch.o rcs.o rcscmds.o recurse.o release.o remove.o
repos.o  root.o rtag.o scramble.o server.o status.o tag.o update.o  watch.o
wrapper.o vers_ts.o  subr.o filesubr.o run.o version.o error.o zlib.o
../lib/libcvs.a ../zlib/libz.a ../diff/libdiff.a -lcrypt   -o cvs 
        echo > .fname  cvs-`sed < ./version.c \
                    -e '/version_string/!d' \
                    -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \
                    -e q`
        sed -e 's,xLIBDIRx,/publishing/download/cvs/install/lib/cvs,g'  -e
"s,xVERSIONx,`cat .fname`,g" ./cvsbug.sh > cvsbug-t
        rm -f .fname
        mv cvsbug-t cvsbug
        chmod a+x cvsbug
Target "all" is up to date.
making all in man
Target "all" is up to date.
making all in doc
Target "all" is up to date.
making all in contrib
        rm -f rcs2log
        cp rcs2log.sh rcs2log
        chmod +x rcs2log
        rm -f clmerge
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' clmerge.pl > clmerge-t
        mv clmerge-t clmerge
        chmod +x clmerge
        rm -f cln_hist
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' cln_hist.pl > cln_hist-t
        mv cln_hist-t cln_hist
        chmod +x cln_hist
        rm -f commit_prep
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' commit_prep.pl >
commit_prep-t
        mv commit_prep-t commit_prep
        chmod +x commit_prep
        rm -f cvs2vendor
        cp cvs2vendor.sh cvs2vendor
        chmod +x cvs2vendor
        rm -f cvs_acls
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' cvs_acls.pl > cvs_acls-t
        mv cvs_acls-t cvs_acls
        chmod +x cvs_acls
        rm -f cvscheck
        cp cvscheck.sh cvscheck
        chmod +x cvscheck
        rm -f log
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' log.pl > log-t
        mv log-t log
        chmod +x log
        rm -f log_accum
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' log_accum.pl >
log_accum-t
        mv log_accum-t log_accum
        chmod +x log_accum
        rm -f mfpipe
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' mfpipe.pl > mfpipe-t
        mv mfpipe-t mfpipe
        chmod +x mfpipe
        rm -f rcs-to-cvs
        cp rcs-to-cvs.sh rcs-to-cvs
        chmod +x rcs-to-cvs
        rm -f rcslock
        sed -e 's,xPERL_PATHx,/usr/local/bin/perl,' rcslock.pl > rcslock-t
        mv rcslock-t rcslock
        chmod +x rcslock
        rm -f sccs2rcs
        sed -e 's,xCSH_PATHx,/usr/bin/csh,' sccs2rcs.csh > sccs2rcs-t
        mv sccs2rcs-t sccs2rcs
        chmod +x sccs2rcs
Target "all" is up to date.
making all in tools
Target "all" is up to date.
making all in windows-NT
Target "all" is up to date.
making all in os2
Target "all" is up to date.
making all in emx
Target "all" is up to date.
making all in macintosh
Target "all" is up to date.
making all in vms
Target "all" is up to date.

Thanks again!

Allan

-----Original Message-----
From: larry.jones@sdrc.com [mailto:larry.jones@sdrc.com]
Sent: Wednesday, December 12, 2001 12:53 PM
To: Allan.Pomeroy@LibertyMutual.com
Cc: bug-cvs@gnu.org
Subject: Re: Installation process: make failed


Allan.Pomeroy@LibertyMutual.com writes:
> 
> I'm trying to build CVS on an RS/6000 running AIX 4.3.2 (which is on the
> Tested platform list).  I downloaded the source from a mirror site
> (ftp://aeneas.mit.edu/pub/gnu/cvs/).  The make fails, as follows.
(Download
> of the most current version from cvshome fails with the same output.)

Most likely your gcc isn't installed correctly or isn't compatible with
your system.  Try using the system C compiler instead.  (You'll have to
run "make distclean" and rerun configure with CC set to the correct
compiler.)

-Larry Jones

I like maxims that don't encourage behavior modification. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]