Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 19:33:28 +0100
From:      Berislav Purgar <bpurgar@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   if_npe.c broken r257262
Message-ID:  <CAAUsrB7OSBf%2BcwqbytBzwd0bCgwF4E7vOcNvWmiKzYLiHfpskA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello ...


Here is error messages :

cc  -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt
-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 -mcpu=xscale -mno-thumb-interwork -ffreestanding
-Werror  /usr/src/sys/arm/xscale/ixp425/if_npe.c
cc1: warnings being treated as errors
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_attach':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:339: warning: implicit declaration
of function 'if_alloc'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:339: warning: nested extern
declaration of 'if_alloc' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:339: warning: assignment makes
pointer from integer without a cast
/usr/src/sys/arm/xscale/ixp425/if_npe.c:356: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:357: warning: implicit declaration
of function 'if_initname'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:357: warning: nested extern
declaration of 'if_initname' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:358: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:359: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:360: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:361: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:362: warning: implicit declaration
of function 'IFQ_SET_MAXLEN'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:362: warning: nested extern
declaration of 'IFQ_SET_MAXLEN' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:362: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:363: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:363: error: 'ifqmaxlen' undeclared
(first use in this function)
/usr/src/sys/arm/xscale/ixp425/if_npe.c:363: error: (Each undeclared
identifier is reported only once
/usr/src/sys/arm/xscale/ixp425/if_npe.c:363: error: for each function it
appears in.)
/usr/src/sys/arm/xscale/ixp425/if_npe.c:364: warning: implicit declaration
of function 'IFQ_SET_READY'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:364: warning: nested extern
declaration of 'IFQ_SET_READY' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:364: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:365: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:366: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:369: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:370: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:370: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:372: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:386: warning: implicit declaration
of function 'if_free'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:386: warning: nested extern
declaration of 'if_free' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_detach':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:399: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:400: warning: implicit declaration
of function 'ether_poll_deregister'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:400: warning: nested extern
declaration of 'ether_poll_deregister' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_setmcast':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:422: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:425: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:438: warning: implicit declaration
of function 'if_maddr_rlock'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:438: warning: nested extern
declaration of 'if_maddr_rlock' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:439: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:439: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:440: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:442: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:442: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:448: warning: implicit declaration
of function 'if_maddr_runlock'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:448: warning: nested extern
declaration of 'if_maddr_runlock' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_ifmedia_update':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:844: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_ifmedia_status':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:861: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_addstats':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:910: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:915: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:920: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_txdone_finish':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1003: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1004: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_rxdone':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1142: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1143: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: At top level:
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1162: warning: 'enum poll_cmd'
declared inside parameter list
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1162: warning: its scope is only
this definition or declaration, which is probably not what you want
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1162: error: parameter 2 ('cmd')
has incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npe_poll':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1164: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1167: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npeinit_locked':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1223: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1262: warning: implicit declaration
of function 'IF_LLADDR'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1262: warning: nested extern
declaration of 'IF_LLADDR' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1262: warning: passing argument 2
of 'npe_setmac' makes pointer from integer without a cast
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1263: warning: passing argument 2
of 'npe_setportaddress' makes pointer from integer without a cast
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1269: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1270: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npestart_locked':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1297: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1308: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1312: warning: implicit declaration
of function 'IFQ_DRV_DEQUEUE'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1312: warning: nested extern
declaration of 'IFQ_DRV_DEQUEUE' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1312: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1315: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1325: warning: implicit declaration
of function 'if_printf'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1325: warning: nested extern
declaration of 'if_printf' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1347: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1347: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1375: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npestart':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1381: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npestop':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1442: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npewatchdog':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1471: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c: In function 'npeioctl':
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1479: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1490: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1491: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1492: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1518: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1521: warning: implicit declaration
of function 'ether_poll_register'
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1521: warning: nested extern
declaration of 'ether_poll_register' [-Wnested-externs]
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1528: error: dereferencing pointer
to incomplete type
/usr/src/sys/arm/xscale/ixp425/if_npe.c:1539: error: dereferencing pointer
to incomplete type
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/arm.armeb/usr/src/sys/AVILA
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
[root@brzi /usr/src]# svn info
Path: .
Working Copy Root Path: /usr/src
URL: http://svn.freebsd.org/base/head
Relative URL: ^/head
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 257262
Node Kind: directory
Schedule: normal
Last Changed Author: sbruno
Last Changed Rev: 257262
Last Changed Date: 2013-10-28 17:27:01 +0100 (Mon, 28 Oct 2013)

[root@brzi /usr/src]#


Beri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAUsrB7OSBf%2BcwqbytBzwd0bCgwF4E7vOcNvWmiKzYLiHfpskA>