Skip to contentSkip to conversation

Bug in CVS

Qemu-devel Mailinglisten für Philipp Gühring 2 participants 2 messages Aug 4, 2004 – Aug 5, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I tried to compile the current CVS version, and got the following error:

gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/philipp/qemu/cvs/qemu/target-i386 -I/home/philipp/qemu/cvs/qemu -I/home/philipp/qemu/cvs/qemu/linux-user -I/home/philipp/qemu/cvs/qemu/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/philipp/qemu/cvs/qemu/slirp -c -o syscall.o /home/philipp/qemu/cvs/qemu/linux-user/syscall.c /home/philipp/qemu/cvs/qemu/linux-user/syscall.c: In function `do_setsockopt':
/home/philipp/qemu/cvs/qemu/linux-user/syscall.c:580: error: `SO_BSDCOMPAT' undeclared (first use in this function)
/home/philipp/qemu/cvs/qemu/linux-user/syscall.c:580: error: (Each undeclared identifier is reported only once
/home/philipp/qemu/cvs/qemu/linux-user/syscall.c:580: error: for each function it appears in.)
m

Commenting the line 580 helped to compile it, and I guess that it is not needed on Linux.

Many greetings,
Philip Gühring

#1 lore raw

Am Donnerstag, 5. August 2004 01:15 schrieb Mailinglisten für Philipp Gühring:
[...]

Quoted 2 lines

/home/philipp/qemu/cvs/qemu/linux-user/syscall.c:580: error: `SO_BSDCOMPAT' undeclared (first use in this function)

SO_BSDCOMPAT is obsolete since the 2.4 kernels.
If You want just full system emulation, You can comment this safely out.

Mikesch