Kernel neu Compilieren



  • Hat jemand schonmal einen PFSense Kernel neu kompiliert?

    Habe mir eine VM mit aktuellem FreeBSD erstellt, und die aktuellen Quellen von Github (https://github.com/pfsense/FreeBSD-src) heruntergeladen…

    habe dann meine zwei änderungen gemacht (http://technotation.com/2012/08/15/freebsd-and-mobile-broadband/) und in amd64/conf das GENERIC copiert zu PFSENSE-2.2.4-LTE

    danach ein "make buildkernel KERNCONF=PFSENSE-2.2.4-LTE"

    Nach einiger Zeit bricht er ab:

    /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:56:54: note: expanded from macro 'BM8'
              W1(_fa) | W1(_fb) | W1(_fc) | W1(_fd) | W1(_fe) | W1(_ff) |   \
                                                                ^~~~~~~
    /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: note: expanded from macro 'W1'
            (((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : (uint64_t) 0))
                                                       ^ ~~~~~~~~~
    /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:81:21: error: shift count is negative [-Werror,-Wshift-count-negative]
             .chan11a_turbo         = BM8(T1_5130_5210,
                                      ^~~~~~~~~~~~~~~~~
    /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:57:4: note: expanded from macro 'BM8'
              W1(_fg) | W1(_fh) }
              ^~~~~~~
    /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h:34:45: note: expanded from macro 'W1'
            (((_a) > 63 && (_a) < 128 ? (((uint64_t) 1)<<((_a)-64)) : (uint64_t) 0))
                                                       ^ ~~~~~~~~~
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    *** Error code 1
    
    Stop.
    make[4]: stopped in /usr/src/sys/modules/ath
    *** Error code 1
    
    Stop.
    make[3]: stopped in /usr/src/sys/modules
    *** Error code 1
    
    Stop.
    make[2]: stopped in /usr/obj/usr/src/sys/PFSENSE-2.2.4-LTE
    *** Error code 1
    
    Stop.
    make[1]: stopped in /usr/src
    *** Error code 1
    
    Stop.
    make: stopped in /usr/src
    
    

    Hat jemand eine Idee bzw das ganze schonmal gemacht?