From owner-freebsd-arm@FreeBSD.ORG Mon Oct 28 18:33:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9E793EAE for ; Mon, 28 Oct 2013 18:33:30 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2911423F5 for ; Mon, 28 Oct 2013 18:33:30 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id q58so7173783wes.3 for ; Mon, 28 Oct 2013 11:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=puEthanyaTEgE3j9PZWxy/KVNbqMQLp+faWL1QhNYRM=; b=BeTns8kIbiEq+27ll+/L8s1WPzdu4cI5fvLsM5v46wjOCW3T1BynmOGZ2zVBR9YHfE jsSj1ZdCndwWJLVcaa7VAFC6wzHmwB8upgkCCzfKT4Af7Cd/nns7qcqc1BQqJt1bwANH c3BaRQUHcoNNeyOPWMSb1W/qazg1vAMhaYoyZj5/OwLTDJHmkNbSH5mYmgtvpg7Bn3sQ uQtJP1Pa5MN9DGhnig/ZQWRMNhhufrIjjzbVEAWJ+lefKC5uSQkVYNiDFKorlwCMuZKD O7jGfIA/cEm9GeOwy61W5djDcvTWghvjzQ3yeAoq+WmmvRfJwzOxoGxpBg+N14JpoXZg TcWw== MIME-Version: 1.0 X-Received: by 10.180.105.194 with SMTP id go2mr10285183wib.39.1382985208574; Mon, 28 Oct 2013 11:33:28 -0700 (PDT) Received: by 10.217.141.3 with HTTP; Mon, 28 Oct 2013 11:33:28 -0700 (PDT) Date: Mon, 28 Oct 2013 19:33:28 +0100 Message-ID: Subject: if_npe.c broken r257262 From: Berislav Purgar To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 18:33:30 -0000 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