Skip to contentSkip to conversation

SO_BSDCOMPAT in qemu's syscall.c

Qemu-devel Stefan Stonjek 2 participants 2 messages Mar 10, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

I just tried to compile qemu 0.6.1 on SuSE Linux 9.2. Since a standard "configure ; make ; make install" failed, I checked the reason.

The problem was that line 580 of syscall.c refers to a preprocessor constant SO_BSDCOMPAT. This should normaly come from /usr/include/asm/socket.h. Even though Redhat has this constant defined as 14, SuSE 9.2 does not have it at all. In fact 14 is not defined at all.

Since I do not know what the situation is with other Linux distribution and since qemu compiles without SO_BSDCOMPAT I would like to know whether I could make sense to avoid this line.

Thanks
Stefan

Signature · 4 lines
************* Stefan Stonjek ******** [email protected] ******
* Univ. of Oxford;  Physics Dept.;   Keble Road;  Oxford; OX1 3RH;  UK *
******** phone: +44-1865-283111 ********** fax: +44-1865-273418 ********
* FNAL; MS 318; P.O. Box 500; Batavia, IL 60510, USA * +1-630-840-3066 *
#1 lore raw
Quoted 7 lines · Stefan Stonjek

Hello,

I just tried to compile qemu 0.6.1 on SuSE Linux 9.2. Since a standard "configure ; make ; make install" failed, I checked the reason.

The problem was that line 580 of syscall.c refers to a preprocessor constant SO_BSDCOMPAT.

This has already been fixed in CVS.

Paul