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:[EMAIL PROTECTED] 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_
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs