Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#341 closed defect (fixed)

Compile fails on Solaris 10/x86, found easy work around

Reported by: chrisalbertson90278@… Owned by: diego@…
Priority: normal Component: build system
Version: 1.0pre7 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


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" {
/*/ <<<<<<< comments added <<<<<<<<<
/*int sysi86(int, void*);*/ <<<<<<< comments added <<<<<<<<<
/*/ <<<<<<< comments added <<<<<<<<<

Change History (3)

comment:1 Changed 15 years ago by chrisalbertson90278@…

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

comment:2 Changed 14 years ago by diego@…

  • Component changed from core to build system
  • Owner changed from alex@… to diego@…

comment:3 Changed 14 years ago by diego@…

  • Resolution set to fixed
  • Status changed from new to closed

I have committed a patch that was submitted to fix this issue to CVS.

Note: See TracTickets for help on using tickets.