bug-cvs
[Top][All Lists]
Advanced

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

Re: Broken CVS tree?


From: Derek R. Price
Subject: Re: Broken CVS tree?
Date: Wed, 20 Jun 2001 16:00:23 -0400

Jerzy Kaczorowski wrote:

> OK, it is better, but still cant pass the linking - here is what I am
> getting now:
>
> --------------------Configuration: cvsnt - Win32 Debug--------------------
> Linking...
> buffer.obj : error LNK2001: unresolved external symbol _shutdown
> buffer.obj : error LNK2001: unresolved external symbol _S_ISSOCK
> client.obj : error LNK2001: unresolved external symbol _S_ISSOCK
> .\Debug\cvs.exe : fatal error LNK1120: 2 unresolved externals
> Error executing link.exe.
>
> cvs.exe - 4 error(s), 0 warning(s)
>
> I also removed the #define NO_SOCKET_TO_FD 1
> from the ccvs\windows-NT\config.h (could not find system.h) but with

My fault.  That's what I meant.


> similiar
> errors:
>
> --------------------Configuration: cvsnt - Win32 Debug--------------------
> Linking...
> buffer.obj : error LNK2001: unresolved external symbol _shutdown
> buffer.obj : error LNK2001: unresolved external symbol _S_ISSOCK
> .\Debug\cvs.exe : fatal error LNK1120: 2 unresolved externals
> Error executing link.exe.
>
> cvs.exe - 3 error(s), 0 warning(s)

Okay, I'm not going to have any more time to work on this today, so I'll tell
you what I know before I go:

This baffles me since S_ISSOCK is supposed to be a POSIX macro and shutdown is
also called from window-NT/startserver.c, which hasn't had any changes made to
it since 1998 and which I know was compiling withing the last year.

Anyway if you can find any difference between the compilation commands for
startserver.c and buffer.c in the makefile (toplevel, ./cvsnt.mak), then that
might be a good place to start.

lib/system.h defines S_ISSOCK sometimes.  Getting it to be defined for your
build might be usable as a last resort.  I would think though, if the Windows
compiler didn't complain about S_ISSOCK until the link stage that Windows was
defining it somewhere and something else is wrong though.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net         CollabNet ( http://collab.net )
--
Of all the gin joints in all the towns in all the world, she walks into mine.

                - Humphrey Bogart as Rick, _Casablanca_






reply via email to

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