Dose wine people hate Solaris?

eric pouech eric.pouech at wanadoo.fr
Fri Aug 3 01:20:29 CDT 2001


> gcc -c -I. -I. -I../include -I../include  -g -O2 -Wall -mpreferred-stack-bou
> ndary=2 -fPIC -DSTRICT -D_REENTRANT -I/usr/openwin/include -o stabs.o
> stabs.c
> stabs.c:1271: warning: `struct r_debug' declared inside parameter list
> stabs.c:1271: warning: its scope is only this definition or declaration,
> which is probably not what you want.
> stabs.c: In function `DEBUG_WalkList':
> stabs.c:1274: storage size of `lm' isn't known
> stabs.c:1284: dereferencing pointer to incomplete type
> stabs.c:1274: warning: unused variable `lm'
> stabs.c:1273: warning: `lm_addr' might be used uninitialized in this
> function
> stabs.c: In function `DEBUG_RescanElf':
> stabs.c:1302: storage size of `dbg_hdr' isn't known
> stabs.c:1309: `RT_CONSISTENT' undeclared (first use in this function)
> stabs.c:1309: (Each undeclared identifier is reported only once
> stabs.c:1309: for each function it appears in.)
> stabs.c:1313: `RT_ADD' undeclared (first use in this function)
> stabs.c:1315: `RT_DELETE' undeclared (first use in this function)
> stabs.c:1310: warning: unreachable code at beginning of switch statement
> stabs.c:1302: warning: unused variable `dbg_hdr'
> stabs.c: In function `DEBUG_ReadExecutableDbgInfo':
> stabs.c:1324: `Elf32_Dyn' undeclared (first use in this function)
> stabs.c:1324: parse error before `dyn'
> stabs.c:1325: storage size of `dbg_hdr' isn't known
> stabs.c:1336: `dyn' undeclared (first use in this function)
> stabs.c:1339: `DT_DEBUG' undeclared (first use in this function)
> stabs.c:1339: `DT_NULL' undeclared (first use in this function)
> stabs.c:1325: warning: unused variable `dbg_hdr'
> make[1]: *** [stabs.o] Error 1
> make[1]: Leaving directory `/export/home/system/wine-20010629/debugger'
> make: *** [debugger/winedbg] Error 2
> 
> Compilation failed, aborting install.
> 
> Any idea?
this is due to the differences in ELF symbol loading between Linux/BSD
and
Solaris. This has to be fixed, some day.
One simple fix would be to turn off manually the ELF definition at the
top
of the debugger/stabs.c file. If you're still around in the next day, I
may send you some fixes to test if they work on Solaris

(this is the part to be removed)

#if defined(__svr4__) || defined(__sun)
#define __ELF__
#endif

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle




More information about the wine-devel mailing list