Spider.C

2007-08-27 Thread Christopher G. Lewis
Micah - 

 Your latest checkin for Spider.C breaks the windows build:

link @C:\DOCUME~1\chris\LOCALS~1\Temp\nm142.tmp /opt:ref
/out:wget.exe cmpt.obj safe-ctype.obj convert.obj conne
ct.obj host.obj http.obj netrc.obj  ftp-basic.obj ftp.obj ftp-ls.obj
ftp-opie.obj getopt.obj hash.obj  html-pars
e.obj html-url.obj progress.obj retr.obj recur.obj res.obj url.obj
cookies.obj init.obj utils.obj main.obj ptimer.obj v
ersion.obj xmalloc.obj   mswindows.obj gen-md5.obj gnu-md5.obj log.obj
openssl.obj http-ntlm.obj spider.obj kernel32.lib
 advapi32.lib wsock32.lib user32.lib gdi32.lib libeay32.lib ssleay32.lib
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

spider.obj : error LNK2019: unresolved external symbol _ngettext referenced
in function _print_broken_links
wget.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
8\VC\BIN\link.EXE' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio
8\VC\BIN\nmake.exe' : return code '0x2'
Stop.

Looks like here:

  logprintf (LOG_NOTQUIET, ngettext(Found %d broken link.\n\n,
Found %d broken links.\n\n,
num_elems),
 num_elems);


ngettext not defined anywhere

Christopher G. Lewis
http://www.ChristopherLewis.com



smime.p7s
Description: S/MIME cryptographic signature


Re: Spider.C

2007-08-27 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Sorry, hadn't noticed this was also sent to the list. Sending a copy there.

Christopher G. Lewis wrote:
 Micah -

  Your latest checkin for Spider.C breaks the windows build:

snip

   logprintf (LOG_NOTQUIET, ngettext(Found %d broken link.\n\n,
 Found %d broken links.\n\n,
 num_elems),
  num_elems);

Hi Chris,

I didn't realize that lack of NLS gets worked-around by #defining _(s)
to return s... r2364 should hopefully fix your problem.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG0u+z7M8hyUobTrERCATkAKCLKiqYaHpyWvFl80jgBHwbU9mAGgCdER9w
heQi4nA1qjwJ1zDcB1+xpyU=
=qmV1
-END PGP SIGNATURE-