[sldev] Impossible to build client under MacOS X X.5 (Leopard) (892 errors after patch)

Matthew Wiggins wiggo at lindenlab.com
Tue Nov 13 13:47:54 PST 2007


This occurs because the XCode 3 yacc build step produces an .hpp file  
rather than the .h that is included by indra.l (indra.l.cpp is  
generated from this file at build time, and is likely cleaned after  
compilation, which is why you can't find it on your machine). You can  
either rename the #include "indra.y.h" to .hpp, or you can add the  
following to Target 'llcommon' info->Rules->Yacc source files script:
if [ -f "${DERIVED_FILES_DIR}/${CURRENT_ARCH}/$ 
{INPUT_FILE_BASE}.y.hpp" ];
then
	mv "${DERIVED_FILES_DIR}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.y.hpp" "$ 
{DERIVED_FILES_DIR}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.y.h" ;
fi

Hope this helps,

Matthew (Wiggo Linden).

On 12 Nov 2007, at 03:38, Lawson English wrote:

> Argent Stonecutter wrote:
>> On 11-Nov-2007, at 18:31, Lawson English wrote:
>>> Argent Stonecutter wrote:
>>>> You need to show more of this... where's the lines where it's  
>>>> running lex and yacc on indra.l and indra.y?
>>
>>> Sigh...
>>>
>>> This was building the library for llCommons.
>>
>> Not having Leopard myself I can't check it out directly. The file  
>> "indra.l.cpp" needs to be built from "indra.l", and since it exists  
>> (or this command would have produced an error about it being  
>> missing) then something has already built it.
>>
>> A larger section of the build log might help.
>>
>> It is possible you have a copy of an old version of indra.l.cpp,  
>> try removing it and trying again.
>>
> No such animal anywhere on my computer. searched all files beginning  
> indra.l.cpp, including the mac build on my other hard drive,  
> compiled with the old xCode under the old OS, which was not booted.
>
> Here's the full build log:
>
>
> Building target “llcommon” of project “macview” with configuration  
> “Development” — (892 errors)
> cd /Developer/SL_folder/linden/indra/newview
> /Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs - 
> fpascal-strings -faltivec -fasm-blocks -O0 -Werror -Wreturn-type - 
> Wnon-virtual-dtor -Wformat -Wmissing-braces -Wparentheses -Wswitch - 
> Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable  
> -Wunused-value -fmessage-length=0 -mtune=G4 -Wno-deprecated- 
> declarations -mmacosx-version-min=10.3 -gdwarf-2 -I/Developer/ 
> SL_folder/linden/indra/newview/build/macview.build/Development/ 
> llcommon.build/llcommon.hmap -Wmost -Wno-sign-compare -Wno-switch -F/ 
> Developer/SL_folder/linden/indra/newview/build/Development -I/ 
> Developer/SL_folder/linden/indra/newview/build/Development/include - 
> I../../libraries/ppc-darwin/include -I../../libraries/include -I../ 
> llcommon -I/Developer/SL_folder/linden/indra/newview/build/ 
> macview.build/Development/llcommon.build/DerivedSources - 
> DLL_DARWIN=1 -DLL_DEBUG=1 -D_DEBUG -fconstant-cfstrings -ffor-scope - 
> Wno-reorder -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Developer/ 
> SL_folder/linden/indra/newview/build/macview.build/Development/ 
> llcommon.build/DerivedSources/ppc/indra.l.cpp -o /Developer/ 
> SL_folder/linden/indra/newview/build/macview.build/Development/ 
> llcommon.build/Objects-normal/ppc/indra.l.o
> /Developer/SL_folder/linden/indra/newview/../lscript/lscript_compile/ 
> indra.l:24:21: error: indra.y.h: No such file or directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20071113/fd47bd2e/attachment.htm


More information about the SLDev mailing list