error: `BIOCVERSION' was not declared in this scope
Adam Nielsen <[email protected]>
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm just trying to compile the latest release of Bochs but I'm coming up with an error. First, is it correct that almost all of the features in Bochs are disabled by default? I tried to run "./configure && make" which worked, but then Bochs exited complaining the specified CPU was invalid. Is it correct that you have to specify a dozen or so --enable lines to configure? Most projects seem to enable everything by default and let you disable what you don't need, so I'm a bit confused as to whether Bochs is the opposite to this or whether I'm doing something wrong. However doing this, I then get a compile error: $ ./configure --enable-idle-hack --enable-plugins --enable-a20-pin --enable-cpu-level=6 --enable-ne2000 --enable-pci --enable-usb --enable-repeat-speedups --enable-fast-function-calls --enable-handlers-chaining --enable-gdb-stub --enable-iodebug --enable-readline --enable-cdrom --enable-sb16 --with-all-libs && make eth_fbsd.cc: In constructor `bx_fbsd_pktmover_c::bx_fbsd_pktmover_c(const char*, const char*, eth_rx_handler_t, eth_rx_status_t, bx_devmodel_c*, const char*)': eth_fbsd.cc:155:22: error: aggregate `bx_fbsd_pktmover_c::bx_fbsd_pktmover_c(const char*, const char*, eth_rx_handler_t, eth_rx_status_t, bx_devmodel_c*, const char*)::bpf_version bv' has incomplete type and cannot be defined eth_fbsd.cc:176:27: error: `BIOCVERSION' was not declared in this scope eth_fbsd.cc:182:22: error: `BPF_MAJOR_VERSION' was not declared in this scope eth_fbsd.cc:182:57: error: `BPF_MINOR_VERSION' was not declared in this scope eth_fbsd.cc:191:27: error: `BIOCSBLEN' was not declared in this scope eth_fbsd.cc:199:27: error: `BIOCSETIF' was not declared in this scope eth_fbsd.cc:206:27: error: `BIOCGDLT' was not declared in this scope eth_fbsd.cc:223:27: error: `BIOCPROMISC' was not declared in this scope eth_fbsd.cc:231:27: error: `BIOCIMMEDIATE' was not declared in this scope eth_fbsd.cc:264:27: error: `BIOCSETF' was not declared in this scope eth_fbsd.cc: In member function `void bx_fbsd_pktmover_c::rx_timer()': eth_fbsd.cc:333:21: error: aggregate `bx_fbsd_pktmover_c::rx_timer()::bpf_stat bstat' has incomplete type and cannot be defined eth_fbsd.cc:334:28: error: aggregate `bx_fbsd_pktmover_c::rx_timer()::bpf_stat previous_bstat' has incomplete type and cannot be defined eth_fbsd.cc:342:29: error: `BIOCGSTATS' was not declared in this scope eth_fbsd.cc:350:13: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:350:37: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:351:82: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:355:27: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:357:62: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:357:79: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:377:53: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:377:71: error: invalid use of incomplete type `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' eth_fbsd.cc:332:10: error: forward declaration of `struct bx_fbsd_pktmover_c::rx_timer()::bpf_hdr' make[1]: *** [eth_fbsd.lo] Error 1 Did I do something wrong? Thanks, Adam. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct