[Top][All Lists]

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

Re: Build failure in IRIX 6.5

From: Mark D. Baushke
Subject: Re: Build failure in IRIX 6.5
Date: Tue, 18 Mar 2003 15:13:18 -0800

Dan Strahs <address@hidden> writes:

> I'm trying to compile CVS for the first time. My platform is an SGI
> Octane2 under 6.5. I'm compiling CVS 1.11.5
> I'm attempting a simple installation:
> 1) ./configure --prefix=/myhomedirectory
> 2) make
> No apparent error is reported in either configure or make until the last
> step. When the object files are loaded, ld crashes due to unresolved text
> objects. There are many of these unresolved text objects. For example,
> the load of src/add.o fails due to a missing variable called cvs_optind.
> However, I'm baffled - I can't find these objects in any file in the CVS
> 1.11.5 distribution, so I can't backtrack the dependency.

lib/getopt.h contains a #define optind cvs_optind under some cases.
lib/getopt.c should have the definition of the optind by either name So,
somehow you are referencing lib/getopt.h and lib/getopt.c and are not
linking with the lib/getopt.o that is put into the lib/libcvs.a archive.
> I assume this is some failure of configure, but I'm not sure where.
> I've attached config.status, Makefile, and the outputs for configure and
> make. Any help would be greatly appreciated.

Well, it would have been well to include config.h lib/Makefile and
src/Makefile ... but I hope the above hints will help you to help
yourself now that you know where things are getting defined. Check to
make sure that your include paths are consistent everywhere and look at
what is in your lib/libcvs.a file.

        Good luck,
        -- Mark

reply via email to

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