[sldev] lscript_compile error

Ajinkya Kale kaleajinkya at gmail.com
Sun Apr 6 04:23:03 PDT 2008


Yes I changed the order and it worked.
But when I build newview I get the same old llcompilequeue.obj  and
llpreviewscript.obj  errors. I am fed up due to these same errors
evrytime :(   I also rebuilt lscript_comiple and
lscript_compile_fb_vc8. They were built without any errors ! So why
the errors on building newview ?

1>------ Skipped Build: Project: win_crash_logger, Configuration:
ReleaseNoOpt Win32 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: newview, Configuration: ReleaseNoOpt
Win32 ------
2>Executing pre-build batch file
2>PREBUILD SUCCESSFUL
2>Linking...
2>llcompilequeue.obj : error LNK2019: unresolved external symbol "int
__cdecl lscript_compile(char const *,char const *,char const *,int)"
(?lscript_compile@@YAHPBD00H at Z) referenced in function "protected:
void __thiscall LLFloaterCompileQueue::compile(char const *,class
LLUUID const &)"
(?compile at LLFloaterCompileQueue@@IAEXPBDABVLLUUID@@@Z)
2>llpreviewscript.obj : error LNK2001: unresolved external symbol "int
__cdecl lscript_compile(char const *,char const *,char const *,int)"
(?lscript_compile@@YAHPBD00H at Z)
2>ReleaseNoOpt/newview_noopt.exe : fatal error LNK1120: 1 unresolved externals
2>Build log was saved at "file://h:\SL Open source
codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\newview\ReleaseNoOpt\BuildLog.htm"
2>newview - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 20 up-to-date, 1 skipped ==========


On Sun, Apr 6, 2008 at 4:09 AM, Marine Kelley <marinekelley at gmail.com> wrote:
> Perhaps you have put C:\Cygwin\bin before the VC bin directory... which
> means VC tries to link using the cygwin link.exe instead of its own. Try to
> change the order of the paths in your Path variable in VC.
>
> Hope this helps
>
>
>
> 2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
> > Ok. So now what i did is I added C:\cygwin\bin to the VC++
> > Directories\Executable Files\   list. And I rebuilt the
> > lscript_compile and lscript_compile_fb_vc8 projects. They were built
> > successfully without any errors.
> >
> > But now when i try to Build newview I get the following error :
> >
> >
> > 1>------ Build started: Project: newview, Configuration:
> > ReleaseForDownload Win32 ------
> > 1>Executing pre-build batch file
> > 1>PREBUILD SUCCESSFUL
> > 1>Linking...
> >
> > 1>link: extra operand `/ERRORREPORT:PROMPT'
> > 1>Try `link --help' for more information.
> > 1>Project : error PRJ0002 : Error result 1 returned from
> > 'C:\cygwin\bin\link.exe'.
> >
> > 1>Build log was saved at "file://h:\SL Open source
> >
> >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\newview\ReleaseForDownload\BuildLog.htm"
> > 1>newview - 1 error(s), 0 warning(s)
> > ========== Build: 0 succeeded, 1 failed, 21 up-to-date, 0 skipped
> ==========
> >
> >
> >
> > Waiting for your suggestions.
> >
> >
> > On Sun, Apr 6, 2008 at 3:57 AM, Marine Kelley <marinekelley at gmail.com>
> wrote:
> > > It seems your bison.exe and mv.exe files are not in any of the paths
> you've
> > > provided to VC.
> > >
> > >
> > >
> > > 2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
> > > > When I try to recompile lscript_compile and lscript_compile_fb_vc8 I
> > > > get the following errors :
> > > >
> > > > 1>------ Rebuild All started: Project: lscript_compile_fb_vc8,
> > > > Configuration: Release Win32 ------
> > > > 1>Deleting intermediate and output files for project
> > > > 'lscript_compile_fb_vc8', configuration 'Release|Win32'
> > > > 2>------ Rebuild All started: Project: lscript_library, Configuration:
> > > > Release Win32 ------
> > > > 2>Deleting intermediate and output files for project
> > > > 'lscript_library', configuration 'Release|Win32'
> > > > 1>Building ytab.cpp
> > > > 2>Compiling...
> > > > 2>lscript_library.cpp
> > > > 1>'bison.exe' is not recognized as an internal or external command,
> > > > 1>operable program or batch file.
> > > > 1>'mv.exe' is not recognized as an internal or external command,
> > > > 1>operable program or batch file.
> > > > 1>Project : error PRJ0019: A tool returned an error code from
> > > > "Building ytab.cpp"
> > > > 2>lscript_export.cpp
> > > > 2>lscript_alloc.cpp
> > > > 2>Generating Code...
> > > >
> > > > 1>Build log was saved at "file://h:\SL Open source
> > > >
> > > >
> > >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\lscript\lscript_compile\Release_fb\BuildLog.htm"
> > > > 1>lscript_compile_fb_vc8 - 1 error(s), 0 warning(s)
> > > > 2>Creating library...
> > > >
> > > > 2>Build log was saved at "file://h:\SL Open source
> > > >
> > > >
> > >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\lscript\lscript_library\Release\BuildLog.htm"
> > > > 2>lscript_library - 0 error(s), 0 warning(s)
> > > > 3>------ Rebuild All started: Project: lscript_compile, Configuration:
> > > > Release Win32 ------
> > > > 3>Deleting intermediate and output files for project
> > > > 'lscript_compile', configuration 'Release|Win32'
> > > > 3>Compiling...
> > > > 3>lscript_typecheck.cpp
> > > > 3>lscript_tree.cpp
> > > > 3>lscript_scope.cpp
> > > > 3>lscript_resource.cpp
> > > > 3>lscript_heap.cpp
> > > > 3>lscript_error.cpp
> > > > 3>lscript_bytecode.cpp
> > > > 3>lscript_alloc.cpp
> > > > 3>Generating Code...
> > > > 3>Creating library...
> > > >
> > > > 3>Build log was saved at "file://h:\SL Open source
> > > >
> > > >
> > >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\lscript\lscript_compile\Release\BuildLog.htm"
> > > > 3>lscript_compile - 0 error(s), 0 warning(s)
> > > > ========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========
> > > >
> > > > I have also separated the commanline in the properties of indra.y.
> > > > Still no success :(
> > > >
> > > > Waiting for your suggestions.
> > > >
> > > >
> > > > On Sun, Apr 6, 2008 at 3:25 AM, Marine Kelley <marinekelley at gmail.com>
> > > wrote:
> > > > > Hi, I'm not sure but when I get link error from obj files I am sure
> I
> > > have
> > > > > already compile, I rebuild the projects they are issued from (or at
> > > least I
> > > > > recompile their cpp files). Most of the time it is due to a VC
> problem,
> > > > > corrupting obj files.
> > > > >
> > > > > Marine
> > > > >
> > > > > 2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
> > > > > > Hi,
> > > > > >
> > > > > > Can anyone please suggest me any work around for the
> > > > > > llcompilequeue.obj and llpreviewscript.obj errors ? I am not able
> to
> > > > > > compile the viewer due to these errors.
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Ciao,
> > > >
> > > > Ajinkya
> > > >
> > >
> > >
> >
> >
> >
> >
> > --
> > Ciao,
> >
> > Ajinkya
> >
>
>



-- 
Ciao,
Ajinkya


More information about the SLDev mailing list