freebsd / freebsd-wifi-build

freebsd-wifi-build
142 stars 59 forks source link

FreeBSD Wr1043ND build fail on PC-BSD 64bit #3

Closed gwlim closed 10 years ago

gwlim commented 10 years ago
    ===> tools/tools/ath/athprom (all)
    In file included from /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/athprom.c:36:
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/../../../../sys/dev/ath/ath_hal/ah_eeprom_v3.h:26:1: warning: "AR_EEPROM_MAC" redefined
    In file included from /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/athprom.c:35:
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/../../../../sys/dev/ath/ath_hal/ah_eeprom_v1.h:42:1: warning: this is the location of the previous definition
    In file included from /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/athprom.c:36:
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/../../../../sys/dev/ath/ath_hal/ah_eeprom_v3.h:32:1: warning: "AR_EEPROM_ATHEROS" redefined
    In file included from /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/athprom.c:35:
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/../../../../sys/dev/ath/ath_hal/ah_eeprom_v1.h:49:1: warning: this is the location of the previous definition
    In file included from /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/athprom.c:36:
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/../../../../sys/dev/ath/ath_hal/ah_eeprom_v3.h:33:1: warning: "AR_EEPROM_ATHEROS_MAX" redefined
    In file included from /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/athprom.c:35:
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athprom/../../../../sys/dev/ath/ath_hal/ah_eeprom_v1.h:48:1: warning: this is the location of the previous definition
    ===> tools/tools/ath/athrd (all)
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athrd/../../../../sys/dev/ath/ath_hal/ah_regdomain.c: In function 'getchannels':
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athrd/../../../../sys/dev/ath/ath_hal/ah_regdomain.c:554: warning: implicit declaration of function 'bzero'
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athrd/../../../../sys/dev/ath/ath_hal/ah_regdomain.c:554: warning: incompatible implicit declaration of built-in function 'bzero'
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athrd/../../../../sys/dev/ath/ath_hal/ah_regdomain.c: In function 'assignPrivateChannels':
    /usr/home/pcbsd/work/freebsd/head/src/tools/tools/ath/athrd/../../../../sys/dev/ath/ath_hal/ah_regdomain.c:677: warning: incompatible implicit declaration of built-in function 'bzero'
    ===> tools/tools/ath/athregs (all)
    ===> tools/tools/ath/athalq (all)
    ===> tools/tools/ath/athstats (all)
    ===> tools/tools/ath/ath_prom_read (all)
    ===> tools/tools/ath/athradar (all)
    ===> tools/tools/ath/athaggrstats (all)
    ===> tools/tools/ath/ath_ee_v14_print (all)
    ===> tools/tools/ath/ath_ee_v4k_print (all)
    ===> tools/tools/ath/ath_ee_9287_print (all)
    ===> tools/tools/ath/ath_ee_9300_print (all)
    ===> tools/tools/ath/athsurvey (all)
    ===> tools/tools/ath/athratestats (all)
    ===> tools/tools/ath/athspectral (all)
    ===> tools/tools/net80211/wlanstats (all)
    /usr/home/pcbsd/work/freebsd/head/src/../obj/mips//mips.mips/usr/home/pcbsd/work/freebsd/head/src/tmp/usr/bin/ld: cannot find -lbsdstat
    --- wlanstats ---
    *** [wlanstats] Error code 1

    make[3]: stopped in /usr/home/pcbsd/work/freebsd/head/src/tools/tools/net80211/wlanstats
    1 error

    make[3]: stopped in /usr/home/pcbsd/work/freebsd/head/src/tools/tools/net80211/wlanstats
    --- tools/tools/net80211/wlanstats.all__D ---
    *** [tools/tools/net80211/wlanstats.all__D] Error code 2

    make[2]: stopped in /usr/home/pcbsd/work/freebsd/head/src
    A failure has been detected in another branch of the parallel make

    make[5]: stopped in /usr/home/pcbsd/work/freebsd/head/src/usr.sbin/wpa/wpa_supplicant
    --- _sub.all ---
    *** [_sub.all] Error code 2

    make[4]: stopped in /usr/home/pcbsd/work/freebsd/head/src/usr.sbin/wpa
    1 error

    make[4]: stopped in /usr/home/pcbsd/work/freebsd/head/src/usr.sbin/wpa
    --- all_subdir_wpa ---
    *** [all_subdir_wpa] Error code 2

    make[3]: stopped in /usr/home/pcbsd/work/freebsd/head/src/usr.sbin
    1 error

    make[3]: stopped in /usr/home/pcbsd/work/freebsd/head/src/usr.sbin
    --- usr.sbin.all__D ---
    *** [usr.sbin.all__D] Error code 2

    make[2]: stopped in /usr/home/pcbsd/work/freebsd/head/src
    2 errors

    make[2]: stopped in /usr/home/pcbsd/work/freebsd/head/src
    --- everything ---
    *** [everything] Error code 2

    make[1]: stopped in /usr/home/pcbsd/work/freebsd/head/src
    1 error

    make[1]: stopped in /usr/home/pcbsd/work/freebsd/head/src
    --- buildworld ---
    *** [buildworld] Error code 2

    make: stopped in /usr/home/pcbsd/work/freebsd/head/src
    1 error

    make: stopped in /usr/home/pcbsd/work/freebsd/head/src
hirenp commented 10 years ago

Try patching your tree with http://svnweb.freebsd.org/changeset/base/269951

gwlim commented 10 years ago

What is the command to clean the tree?

hirenp commented 10 years ago

I am not sure which tree you are talking about. If you apply the patch and re-run the wifi build script, it should do the right thing.

seanbruno commented 10 years ago

comment timeout on this issue. Not sure if we even are going to support x-building from PCBSD