Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Gr8gorilla
Old
#1  
Gr8gorilla's Avatar
Senior Member - OP
Thanks Meter 103
Posts: 887
Join Date: Jan 2010
Location: Atlanta, Ga

 
DONATE TO ME
Default Help with Compiling error please.

I am compiling a custom kernel for CM using cm source and a few other minor tweaks from others, and myself, and I am getting an error having to do with the bcm4329 while compiling.

I am pretty new to c programing and compiling and am not sure how to fix this error any help is greatly appreciated.

cc1: warnings being treated as errors
drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_ap_security.clone.0':
drivers/net/wireless/bcm4329/wl_iw.c:4881: error: 'output' may be used uninitialized in this function
make[4]: *** [drivers/net/wireless/bcm4329/wl_iw.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
 
pershoot
Old
#2  
Recognized Developer
Thanks Meter 3338
Posts: 7,291
Join Date: Dec 2008
Quote:
Originally Posted by Gr8gorilla View Post
I am compiling a custom kernel for CM using cm source and a few other minor tweaks from others, and myself, and I am getting an error having to do with the bcm4329 while compiling.

I am pretty new to c programing and compiling and am not sure how to fix this error any help is greatly appreciated.

cc1: warnings being treated as errors
drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_ap_security.clone.0':
drivers/net/wireless/bcm4329/wl_iw.c:4881: error: 'output' may be used uninitialized in this function
make[4]: *** [drivers/net/wireless/bcm4329/wl_iw.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
have you modified the wlan source at all?

if not, repull down the source fresh, and then re-merge your changes in.
 
Gr8gorilla
Old
#3  
Gr8gorilla's Avatar
Senior Member - OP
Thanks Meter 103
Posts: 887
Join Date: Jan 2010
Location: Atlanta, Ga

 
DONATE TO ME
havn't modified the wlan source at all, so I will repull and try again, will report back. Thanks.
 
Gr8gorilla
Old
#4  
Gr8gorilla's Avatar
Senior Member - OP
Thanks Meter 103
Posts: 887
Join Date: Jan 2010
Location: Atlanta, Ga

 
DONATE TO ME
Ok i got the kernel compiled and now I I want to compile the .ko for the wireless, can I get a little help with that?
 
pershoot
Old
#5  
Recognized Developer
Thanks Meter 3338
Posts: 7,291
Join Date: Dec 2008
Quote:
Originally Posted by Gr8gorilla View Post
Ok i got the kernel compiled and now I I want to compile the .ko for the wireless, can I get a little help with that?
If u ran a make, it was compiled.

Pick it up in drivers/net/wireless/bcm4329
 
Gr8gorilla
Old
#6  
Gr8gorilla's Avatar
Senior Member - OP
Thanks Meter 103
Posts: 887
Join Date: Jan 2010
Location: Atlanta, Ga

 
DONATE TO ME
I ran the make command from the cyanogen wiki, and used make ARCH=arm command and the wireless driver is not in the file it is supposed to be in.
 
pershoot
Old
#7  
Recognized Developer
Thanks Meter 3338
Posts: 7,291
Join Date: Dec 2008
Quote:
Originally Posted by Gr8gorilla View Post
I ran the make command from the cyanogen wiki, and used make ARCH=arm command and the wireless driver is not in the file it is supposed to be in.
Pass this to make:
Foldertoputmodulesin/ modules_install

Then you'll see your modules in there.
 
dalingrin
Old
#8  
Recognized Developer
Thanks Meter 2175
Posts: 1,277
Join Date: Nov 2007
Gr8gorilla,

What did you do to get the kernel to compile? I'm getting the same error with a fresh pull.
 
Gr8gorilla
Old
#9  
Gr8gorilla's Avatar
Senior Member - OP
Thanks Meter 103
Posts: 887
Join Date: Jan 2010
Location: Atlanta, Ga

 
DONATE TO ME
If you check out my overclock how to, I take you step by step through making a kernel.
 
dalingrin
Old
#10  
Recognized Developer
Thanks Meter 2175
Posts: 1,277
Join Date: Nov 2007
Quote:
Originally Posted by Gr8gorilla View Post
If you check out my overclock how to, I take you step by step through making a kernel.
I still get the compile error after I followed the guide except I didn't use your modified files; I'm not overvolting or overclocking.
For what its worth, if I remove the bcm4329 kernel module from the config then it builds fine and is running stable on my Nexus One, albeit, without wifi.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more