[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] build fix: Make slirp build on NetBSD
From: |
Christoph Egger |
Subject: |
[Qemu-devel] [PATCH] build fix: Make slirp build on NetBSD |
Date: |
Tue, 30 Jun 2009 11:37:08 +0200 |
User-agent: |
KMail/1.9.7 |
Hi!
slirp fails to build on NetBSD with these errors:
In file included from /data/qemu/qemu-git/slirp/tcp_var.h:37,
from /data/qemu/qemu-git/slirp/tcp.h:72,
from /data/qemu/qemu-git/slirp/slirp.h:192,
from slirp/cksum.c:33:
/data/qemu/qemu-git/slirp/tcp_timer.h:123: error:
expected '=', ',', ';', 'asm' or '_
_attribute__' before numeric constant
/data/qemu/qemu-git/slirp/tcp_timer.h:124: error:
expected '=', ',', ';', 'asm' or '_
_attribute__' before numeric constant
/data/qemu/qemu-git/slirp/tcp_timer.h:125: error:
expected '=', ',', ';', 'asm' or '_
_attribute__' before numeric constant
In file included from /data/qemu/qemu-git/slirp/slirp.h:196,
from slirp/cksum.c:33:
/data/qemu/qemu-git/slirp/udp.h:76: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/udp.h:77: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/udp.h:78: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/udp.h:79: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/udp.h:80: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/udp.h:81: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
In file included from /data/qemu/qemu-git/slirp/slirp.h:197,
from slirp/cksum.c:33:
/data/qemu/qemu-git/slirp/mbuf.h:118: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:119: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:120: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:121: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:122: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:123: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:124: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
/data/qemu/qemu-git/slirp/mbuf.h:125: error: expected '=', ',', ';', 'asm'
or '__attribute__' before numeric constant
Attached patch makes slirp build.
Signed-off-by: Christoph Egger <address@hidden>
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
qemu_slirp.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] build fix: Make slirp build on NetBSD,
Christoph Egger <=