Eygene Ryabinkin wrote:
Giulio, good day.

Thu, Mar 13, 2008 at 02:43:57PM +0100, Giulio Ferro wrote:
Pyun YongHyeon wrote:
To rule out other possible issues, would you try the following
files on your box?

http://people.freebsd.org/~yongari/re/if_re.c
http://people.freebsd.org/~yongari/re/if_rereg.h

The latter is if_rlreg.h, I guess...

Anyway they don't compile:

If you're running 7.x, you probably want to get the files from
  http://people.freebsd.org/~yongari/re/7.0R/
Yes, these are the files I'm now using...
# md5 if_re.c
MD5 (if_re.c) = bab9ab56e24b5090b9cac6f697736602

# md5 if_rlreg.h
MD5 (if_rlreg.h) = aa08e0f34bf394f7e43d180f0ffdd855

# uname -a
FreeBSD x.x.x 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Mar 10 13:28:18 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FIREWALL amd64


And this is how it aborts:

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/dev/re/if_re.c
/usr/src/sys/dev/re/if_re.c: In function 're_allocmem':
/usr/src/sys/dev/re/if_re.c:999: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1000: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1019: error: 'RL_NTXSEGS' undeclared (first use in this function) /usr/src/sys/dev/re/if_re.c:1019: error: (Each undeclared identifier is reported only once
/usr/src/sys/dev/re/if_re.c:1019: error: for each function it appears in.)
/usr/src/sys/dev/re/if_re.c:1020: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1032: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1075: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1076: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1077: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:1121: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1122: error: 'struct rl_list_data' has no member named 'rl_rx_sparemap' /usr/src/sys/dev/re/if_re.c:1127: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1128: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1129: error: 'struct rl_list_data' has no member named 'rl_rx_desc'
/usr/src/sys/dev/re/if_re.c: In function 're_attach':
/usr/src/sys/dev/re/if_re.c:1260: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1260: error: 'RL_8169_TX_DESC_CNT' undeclared (first use in this function) /usr/src/sys/dev/re/if_re.c:1261: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1261: error: 'RL_8169_RX_DESC_CNT' undeclared (first use in this function) /usr/src/sys/dev/re/if_re.c:1266: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1266: error: 'RL_8139_TX_DESC_CNT' undeclared (first use in this function) /usr/src/sys/dev/re/if_re.c:1267: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1267: error: 'RL_8139_RX_DESC_CNT' undeclared (first use in this function)
/usr/src/sys/dev/re/if_re.c: In function 're_detach':
/usr/src/sys/dev/re/if_re.c:1503: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1504: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1505: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1506: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:1507: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1509: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1510: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1511: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1512: error: 'struct rl_list_data' has no member named 'rl_rx_desc' /usr/src/sys/dev/re/if_re.c:1513: error: 'struct rl_list_data' has no member named 'rl_rx_sparemap' /usr/src/sys/dev/re/if_re.c:1514: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1515: error: 'struct rl_list_data' has no member named 'rl_rx_sparemap' /usr/src/sys/dev/re/if_re.c:1516: error: 'struct rl_list_data' has no member named 'rl_rx_mtag'
/usr/src/sys/dev/re/if_re.c: In function 're_discard_rxbuf':
/usr/src/sys/dev/re/if_re.c:1547: error: 'struct rl_list_data' has no member named 'rl_rx_desc' /usr/src/sys/dev/re/if_re.c:1550: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1551: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt'
/usr/src/sys/dev/re/if_re.c: In function 're_newbuf':
/usr/src/sys/dev/re/if_re.c:1587: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1588: error: 'struct rl_list_data' has no member named 'rl_rx_sparemap' /usr/src/sys/dev/re/if_re.c:1595: error: 'struct rl_list_data' has no member named 'rl_rx_desc' /usr/src/sys/dev/re/if_re.c:1596: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1597: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1597: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1597: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1599: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1599: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1599: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1602: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1603: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1604: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1604: error: 'struct rl_list_data' has no member named 'rl_rx_sparemap' /usr/src/sys/dev/re/if_re.c:1605: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1606: error: 'struct rl_list_data' has no member named 'rl_rx_sparemap' /usr/src/sys/dev/re/if_re.c:1607: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1607: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:1607: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1615: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt'
/usr/src/sys/dev/re/if_re.c: In function 're_tx_list_init':
/usr/src/sys/dev/re/if_re.c:1652: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1653: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1654: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:1656: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1665: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt'
/usr/src/sys/dev/re/if_re.c: In function 're_rx_list_init':
/usr/src/sys/dev/re/if_re.c:1677: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1678: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:1679: error: 'struct rl_list_data' has no member named 'rl_rx_desc'
cc1: warnings being treated as errors
/usr/src/sys/dev/re/if_re.c: In function 're_rxeof':
/usr/src/sys/dev/re/if_re.c:1723: warning: implicit declaration of function 'RL_RX_DESC_NXT' /usr/src/sys/dev/re/if_re.c:1723: warning: nested extern declaration of 'RL_RX_DESC_NXT' /usr/src/sys/dev/re/if_re.c:1730: error: 'struct rl_list_data' has no member named 'rl_rx_desc'
/usr/src/sys/dev/re/if_re.c: In function 're_txeof':
/usr/src/sys/dev/re/if_re.c:1906: warning: implicit declaration of function 'RL_TX_DESC_NXT' /usr/src/sys/dev/re/if_re.c:1906: warning: nested extern declaration of 'RL_TX_DESC_NXT' /usr/src/sys/dev/re/if_re.c:1917: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:1918: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1918: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1918: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1920: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1920: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:1920: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1924: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1925: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:1941: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt'
/usr/src/sys/dev/re/if_re.c: In function 're_encap':
/usr/src/sys/dev/re/if_re.c:2137: error: 'RL_NTXSEGS' undeclared (first use in this function) /usr/src/sys/dev/re/if_re.c:2199: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:2200: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2200: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2210: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2211: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2227: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2227: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2227: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2231: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2231: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2231: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2263: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:2272: warning: implicit declaration of function 'RL_TX_DESC_PRV' /usr/src/sys/dev/re/if_re.c:2272: warning: nested extern declaration of 'RL_TX_DESC_PRV' /usr/src/sys/dev/re/if_re.c:2294: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:2295: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2296: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2296: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2297: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2298: error: dereferencing pointer to incomplete type
/usr/src/sys/dev/re/if_re.c:2137: warning: unused variable 'segs'
/usr/src/sys/dev/re/if_re.c: In function 're_stop':
/usr/src/sys/dev/re/if_re.c:2781: error: 'struct rl_list_data' has no member named 'rl_tx_desc_cnt' /usr/src/sys/dev/re/if_re.c:2782: error: 'struct rl_list_data' has no member named 'rl_tx_desc' /usr/src/sys/dev/re/if_re.c:2783: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2784: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2784: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2784: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2786: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2786: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2786: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2788: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2789: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2795: error: 'struct rl_list_data' has no member named 'rl_rx_desc_cnt' /usr/src/sys/dev/re/if_re.c:2796: error: 'struct rl_list_data' has no member named 'rl_rx_desc' /usr/src/sys/dev/re/if_re.c:2797: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2798: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2798: error: 'struct rl_list_data' has no member named 'rl_tx_mtag' /usr/src/sys/dev/re/if_re.c:2798: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2800: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2800: error: 'struct rl_list_data' has no member named 'rl_rx_mtag' /usr/src/sys/dev/re/if_re.c:2800: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2802: error: dereferencing pointer to incomplete type /usr/src/sys/dev/re/if_re.c:2803: error: dereferencing pointer to incomplete type
*** Error code 1

Stop in /usr/obj/usr/src/sys/FIREWALL.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to