Hi,

On Fri, 2005-12-09 at 12:32 +0100, Patric Schmitz wrote: 
> Hello opensg-users,
> 
> i am still trying to compile OpenSG (now the cvs version) on Solaris 
> 2.9, and i run into new troubles.
> First of all, i was wrong about those those lex errors, they have not 
> vanished, i just overlooked them. The first errors i get now, are:
> 
> when comiling 
> Builds/sparc-sun-solaris2.9-CC/SystemLib/obj-dbg/OSGScanParseSkel.lex.cpp:
> 
> "lex.OSGScanParseSkel_.cc":
> line 87217: Error: yy_buffer_stack is not defined.
> line 87217: Error: yy_buffer_stack is not defined.
> line 87217: Error: yy_buffer_stack_top is not defined.
> line 87218: Error: The function "yyensure_buffer_stack" must have a 
> prototype.
> ...
> ...
> 
> I don't understand what is happening there. There is a #line 3 
> lex.OSGScanParseSkel_.cc directive (which i do not know about, sadly) at 
> the beginning of OSGScanParseSkel.lex.cpp. The compiler reports errors 
> in the cpp file lex.OSGScanParseSkel_.cc though i can not find it 
> anywhere in the project tree.

it is the OSGScanParseSkel.lex.cpp file,  lex.OSGScanParseSkel_.cc gets
renamed during the build to match our make rules. The #line part makes
the compiler report a different file.

> These are errors about not defined symbols, so i guess i have to modify 
> the include/library path? or is it a flex/bison/m4/whatever version problem?

which version of flex are you using ? I can't find any of the symbols 
in my version  2.5.4 output.

> 
> I also still get these errors:
> Source/System/NodeCores/Drawables/Geometry/OSGGeoPropPtrs.h":
> line 80: Error: GeoNormals3b is not defined.
> line 80: Error: PtrType is not defined.
> 
> I guess there is another #ifndef __sun missing..

can you just change it to :

#ifndef OSG_NO_INT8_PNT
typedef GeoNormals3b::PtrType    GeoNormals3bPtr;
#endif 


regards,
 gerrit




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to