cons-discuss
[Top][All Lists]

## RE: "String too long" during cons build

 From: Kolarik, Tony Subject: RE: "String too long" during cons build Date: Wed, 11 Oct 2000 08:29:29 -0400

```Sorry to bother the non NT users out there but...

It looks like it's cmd.exe (the NT command interpreter) that's choking.

C:\WINNT\system32>strings -a cmd.exe | grep "character string"
The following character string is too long:

I don't know why this happens on only one guys machine - cons emits the same
strings in a given build tree, all relative to the # root.  Any idea if he
may have inadvertently set a maximum string length?  Or how to "advertently"
set it to a larger number?  Thanks,
-- Tony K.

> -----Original Message-----
> Sent: Tuesday, October 10, 2000 7:25 PM
> To: Kolarik, Tony
> Subject: Re: "String too long" during cons build
>
>
> OOh, interesting.  It may be the perl version.  I've never
> seen that exact
> error, but I still use ActiveState 522, since I tried to
> version at one point, and I had some problems (but they were
> worse than
> that -- cons crashed perl).  There's no real advantage to
> you need unicode strings in your output...
>
> Does your machine have the same perl version?
>
> I think you can safely rule out perl if you can't find the
> string "following
> character string" in the perl bin dir anywhere, or in the
> scripts anywhere.
> Use the UNIX (i.e. cygnus or MKS) "strings -a" command, or emacs or
> something.
>
> The only way I can think of to figure out which process is
> doing it would be
> to trace it in the debugger, but even then you won't be sure,
> since it will
> disappear into the system() call at some point, and it could be perl
> complaining from inside the system call.
>
> Good luck :-)
>
>             -Greg.
>
> ----- Original Message -----
> Sent: Tuesday, October 10, 2000 3:43 PM
> Subject: RE: "String too long" during cons build
>
>
> > Any idea how to figure out what process is sending the
> error message?
> >
> > The perl version is ActiveState 616 which I think is fairly recent.
> >  -- Tony K.
> >
> > > -----Original Message-----
> > > From: Greg Spencer [mailto:address@hidden
> > > Sent: Tuesday, October 10, 2000 5:13 PM
> > > To: Kolarik, Tony; address@hidden
> > > Subject: Re: "String too long" during cons build
> > >
> > >
> > > Nope, I've never seen anything like that with cons.
> > >
> > > Maybe one of you has the wrong command shell in your
> path/registry?  I
> > > wouldn't think that would be it, since I don't think Perl
> > > uses one to do
> > > executions, but I could be wrong.  Maybe an old version of Perl?
> > >
> > >                     -Greg.
> > >
> > > ----- Original Message -----
> > > From: "Kolarik, Tony" <address@hidden>
> > > Sent: Tuesday, October 10, 2000 3:02 PM
> > > Subject: FW: "String too long" during cons build
> > >
> > >
> > > > At the bottom of this screen dump you'll see:
> > > > The following character string is too long:
> > > > with nothing after it.
> > > >
> > > > Any one ever seen anything like this on NT?  The same
> > > command runs fine on
> > > > my computer, (of course).
> > > >
> > > > I can't tell if it's the linker complaining or perl or cons.
> > > >
> > > > Any ideas about how to fix it?  Other than not feeding it
> > > so many objs
> > > that
> > > > is :-)  Thanks,
> > > >  -- Tony K.
> > > >
> > > > -----Original Message-----
> > > > From: Gressett, Mark
> > > > Sent: Tuesday, October 10, 2000 4:54 PM
> > > > To: Kolarik, Tony
> > > > Subject: "String too long" during cons build
> > > >
> > > >
> > > > D:\p4>perl cons built\debug
> > > > link.exe /nologo /dll /incremental:no /machine:I386 /debug
> > > > /pdb:built\debug\Src\
> > > > Engine\AeEngine\AeEngine.pdb /pdbtype:consolidate
> > > > /implib:built\debug\Src\Engine
> > > > \AeEngine\AeEngine.lib
> > > /out:built\debug\Src\Engine\AeEngine\AeEngine.dll
> > > > built\d
> > > > ebug\Src\Engine\AeEngine\version.res
> > > > built\debug\Src\Engine\AeEngine\AceMsgXActi
> > > > onReceiver.obj built\debug\Src\Engine\AeEngine\AeEngine.obj
> > > > built\debug\Src\Engi
> > > > ne\AeEngine\AeIdMap.obj
> built\debug\Src\Engine\AeEngine\AudBase.obj
> > > > built\debug\
> > > >
> > > > <snip .... many similar lines of paths to object files ...>
> > > >
> > > > EvalPrediction.obj
> > > built\debug\Src\Engine\AeEngine\TimeEvalReplStream.obj
> > > > /LIBPA
> > > > TH:export\debug\lib /LIBPATH:lib\debug kernel32.lib wininet.lib
> > > kernel32.lib
> > > > use
> > > > r32.lib gdi32.lib winspool.lib comdlg32.lib
> > > > shell32.lib
> > > > ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib aced.lib
> > > tcl82d.lib
> > > > tls1
> > > > 5d.lib xmltok.lib xmlparse.lib xerces-c_1.lib AeLayout.lib
> > > AeStorage.lib
> > > > DSSDelt
> > > > aMgr.lib LtParseStatic.lib LtSegPath.lib
> LtTclInterp.lib LtWatch.lib
> > > > AeUtil.lib
> > > > VbdCommon.lib VbdReplication.lib
> > > > The following character string is too long:
> > > >
> > > > cons: ***
> [built\debug\Src\Engine\AeEngine\AeEngine.dll] Error 256
> > > > cons: errors constructing
> > > built\debug\Src\Engine\AeEngine\AeEngine.pdb
> > > >
> > > > _______________________________________________
> > > > http://mail.gnu.org/mailman/listinfo/cons-discuss
> > > > Cons URL: http://www.dsmit.com/cons/
> > >
> > >
> > > _______________________________________________