Opened 19 years ago

Closed 19 years ago

Last modified 19 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: 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 chrisalbertson90278@…, 19 years ago

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 by diego@…, 19 years ago

Component: corebuild system
Owner: changed from alex@… to diego@…

comment:3 by diego@…, 19 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.