Hi Gérard,

i'm trying to compile SRC680_m233 on a sparc machine (Solaris Express build 69), with Sun Studio 12 (fully patched): CC -mt -library=%none,Crun -I. -I/home/ooo/build/SRC680_m233/stlport/unxsols4.pro/misc/build/STLport-4.0/src/../stlport/SC5 -I/usr/include -D__SGI_STL_OWN_IOSTREAMS -O3 complex.cpp -c -o obj/SUN/Release/complex.o "/home/ooo/build/SRC680_m233/stlport/unxsols4.pro/misc/build/STLport-4.0/src/../stlport/SC5/stl/_stdio_file.h", line 95: Error: _file is not a member of const __FILE.
1 Error(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `obj/SUN/Release/complex.o'
dmake: Error code 1, while making 'unxsols4.pro/misc/build/so_built_so_stlport'---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /home/ooo/build/SRC680_m233/stlport
dmake:  Error code 1, while making 'build_instsetoo_native'

On a Solaris 10 machine, with Sun Studio 11, i dont see this problem.

Any idea?

It would appear the issue is in accessing the member directly rather than using the fileno macro, which has been introduced if I understand correctly to circumvent some restrictions in the descriptor count or something to that effect. A search on "stlport solaris fileno" will show reports around that issue, and though the problem is probably addressed in the stlport headers from the compiler, the ones from OOo don't have that fix. A likely solution is to replace the call generating that direct access with something using fileno (thanks to Caolan who encountered the problem too for his help in finding the source of it).

Cyrille

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to