#341 closed defect (fixed)
Compile fails on Solaris 10/x86, found easy work around
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | build system |
Version: | 1.0pre7 | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
On Solaris 10 compile files because sysi86() is defined twice.
It seems Solaris 10 now has a sysi86() defines in system
head files whereas older Solaris lacked this.
I commented out one line in ldt_keeper.c to fix the problem.
I better fix would involve modifying the configure script to check
for sysi86() present in /usr/include/sys/sysi86.h I don't know
how to do that cleanly, sorry.
Lines from ldt_keeper.c follow...
/* solaris x86: add missing prototype for sysi86() */
#ifdef cplusplus
extern "C" {
#endif
/*/ <<<<<<< comments added <<<<<<<<<
/*int sysi86(int, void*);*/ <<<<<<< comments added <<<<<<<<<
/*/ <<<<<<< comments added <<<<<<<<<
#ifdef cplusplus
}
#endif
Change History (3)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Component: | core → build system |
---|---|
Owner: | changed from | to
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I have committed a patch that was submitted to fix this issue to CVS.
Seems that getting Mplayer to compile is not enough.
Solaris 10 sysi86() is somehow different. I don't
know yet. I'll have to look into this later Lunchtime is almost over, have to
do "real work" now.
Here is the run time message I got just before the seg fault
Opening video decoder: [dmo] DMO video codecs
sysi86(SI86DSCR): Invalid argument
Couldn't install fs segment, expect segfault