Hi,
We have a DM365 based design that incorporates a wl1837 and been working off of dvsdk 4.02 and the following guide
http://processors.wiki.ti.com/index.php/Using_WL18xx_with_DM365_EVM
Initially everything was building ok, but after switching to a different RFS and rebuilding again we now cannot seem to build the modules successfully. We have tried to init and then tried update but still have the same build problem. We also reinstalled the kernel patches with no luck. We've build each of the specific components successfully with the exception of modules and iw. The output is below, thanks in advance. Tom
====================================
rarebit@rarebit-laptop:~/topcon/build-utilites$ ./sudo_build_wl18xx.sh modules
Finished adding sudo to build script, Running...
Changing ROOTFS path to /home/rarebit/topcon/wl8-filesystem
Using user defined kernel
Makefile was found. Kernel version was set to 2.6.37.
***** building only Driver modules *****
/home/rarebit/topcon/build-utilites/src/backports
Copy original source files ...
Apply patches ...
Failed to apply changes from backport-adjustments/flow_dissector.patch
> patching file compat/net-core-flow_dissector.c
> Hunk #1 FAILED at 177.
> 1 out of 1 hunk FAILED -- saving rejects to file compat/net-core-flow_dissector.c.rej
Failed to apply changes from collateral-evolutions/network/85-hid_ll_driver/net_bluetooth_hidp_core.patch
> patching file net/bluetooth/hidp/core.c
> Hunk #1 succeeded at 268 with fuzz 1 (offset 45 lines).
> Hunk #2 succeeded at 353 with fuzz 2 (offset 45 lines).
> Hunk #3 FAILED at 396.
> Hunk #4 succeeded at 474 with fuzz 2 (offset 65 lines).
> Hunk #5 FAILED at 739.
> 2 out of 5 hunks FAILED -- saving rejects to file net/bluetooth/hidp/core.c.rej
Failed to apply changes from collateral-evolutions/network/86-qdisc_tx_busylock/ieee802154.patch
> patching file net/ieee802154/6lowpan.c
> Hunk #1 FAILED at 530.
> Hunk #2 FAILED at 545.
> 2 out of 2 hunks FAILED -- saving rejects to file net/ieee802154/6lowpan.c.rej
Modify Kconfig tree ...
Rewrite Makefiles and Kconfig files ...
Traceback (most recent call last):
File "./gentree.py", line 846, in <module>
ret = _main()
File "./gentree.py", line 493, in _main
logwrite=logwrite)
File "./gentree.py", line 785, in process
fo = open(os.path.join(root, f), 'w')
IOError: [Errno 13] Permission denied: '/home/rarebit/topcon/build-utilites/src/compat_wireless/defconfigs/.svn/entries'
/home/rarebit/topcon/build-utilites
Generating local configuration database from kernel ... done.
scripts/Makefile.clean:17: /home/rarebit/topcon/build-utilites/src/compat_wireless/drivers/net/ethernet/3com/Makefile: No such file or directory
make[6]: *** No rule to make target `/home/rarebit/topcon/build-utilites/src/compat_wireless/drivers/net/ethernet/3com/Makefile'. Stop.
make[5]: *** [/home/rarebit/topcon/build-utilites/src/compat_wireless/drivers/net/ethernet/3com] Error 2
make[4]: *** [/home/rarebit/topcon/build-utilites/src/compat_wireless/drivers/net/ethernet] Error 2
make[3]: *** [_clean_/home/rarebit/topcon/build-utilites/src/compat_wireless] Error 2
make[2]: *** [clean] Error 2
make[1]: *** [clean] Error 2
make: *** [clean] Error 2
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o zconf.tab.o zconf.tab.c
cc conf.o zconf.tab.o -o conf
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
make[5]: `conf' is up to date.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
CC [M] /home/rarebit/topcon/build-utilites/src/compat_wireless/compat/main.o
CC [M] /home/rarebit/topcon/build-utilites/src/compat_wireless/compat/compat-2.6.39.o
In file included from /home/rarebit/topcon/build-utilites/src/compat_wireless/compat/compat-2.6.39.c:11:
/home/rarebit/topcon/build-utilites/src/compat_wireless/backport-include/linux/compat.h:18: error: expected ';', ',' or ')' before '*' token
CC [M] /home/rarebit/topcon/build-utilites/src/compat_wireless/compat/kstrtox.o
make[6]: *** [/home/rarebit/topcon/build-utilites/src/compat_wireless/compat/compat-2.6.39.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/home/rarebit/topcon/build-utilites/src/compat_wireless/compat] Error 2
make[4]: *** [_module_/home/rarebit/topcon/build-utilites/src/compat_wireless] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2
****** ERROR 0 *******
rarebit@rarebit-laptop:~/topcon/build-utilites$