[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn checkout leads to broken compile

From: Tim Whitcomb <ude_tim_at_mit.edu>
Date: 2005-01-26 22:12:58 CET

Hi all -

I've looked around google and several archived mailing lists but I am
still stuck on this.

I have a computer model source code that I would like to place under
revision control for ease of modification: modifying Makefiles, run
scripts, and the like. I created a new repository (on a local disk, not
an NFS drive) and did the intial import/checkout. I tried to compile
the newly checked-out version and it did not successfully complete. I
then tried the following experiment:

I downloaded the source tarball, unpacked it, and replaced a single file
that defined path locations for my compilers and libraries. I then
imported this into my repository. This is the control case. I checked
this out into another directory and also used "svn export" to give me a
third directory.

1. The control case, with the freshly unpacked tarball, worked
perfectly. It compiled everything on the first try.

2. The export case worked perfectly.

3. The checked-out case failed to compile all the programs. I got
errors like
../../../lib/libcoda.a(coda.o)(.text+0xfa3): In function `coda_':
: undefined reference to `get_ocn_anl_'
../../../lib/libcoda.a(coda.o)(.text+0x1029): In function `coda_':
: undefined reference to `get_depth_'
and many more of the same. The functions that are missing are all
defined in the same directory.

This is the first time that I've worked on a project this large and I am
at my wit's end trying to figure out what in the world is going on. If
I do a recursive "diff" on the exported and checked-out directory the
only thing that comes up is that the checked-out version has .svn
directories in it but I can't imagine why that would make a difference.

Any ideas on what is going wrong? I apologize for the lenght of this
message but wanted to convey what I've tried so far. Thanks!

Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 22:20:36 2005

This is an archived mail posted to the Subversion Users mailing list.