Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-17-2014, 10:54 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 22

Rep: Reputation: Disabled
Unable to compile driver module after upgrade to 3.13.0-35-generic

I have an Aspire-XC-605 desktop with a ID 0bda:0129 Realtek Semiconductor Corporation
SD card reader.
I was using rts5139 module which worked.However after upgrade to 3.13.0-35-generic Kernel
in ubuntu 12.04 it no longer works I am not able to compile the module
Here is the result of make command

$ make
sed "s/RTSX_MK_TIME/`date +%y.%m.%d.%H.%M`/" > timestamp.h
cp -f define.release define.h
make -C /lib/modules/3.13.0-35-generic/build/ SUBDIRS=/home/george/Temp/rts5139-old modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-35-generic'
CC [M] /home/george/Temp/rts5139-old/rts51x_transport.o
CC [M] /home/george/Temp/rts5139-old/rts51x_common.o
CC [M] /home/george/Temp/rts5139-old/rts51x_scsi.o
CC [M] /home/george/Temp/rts5139-old/rts51x_fop.o
CC [M] /home/george/Temp/rts5139-old/rts51x.o
/home/george/Temp/rts5139-old/rts51x.c:88:2: error: unknown field ‘proc_info’ specified in initializer
/home/george/Temp/rts5139-old/rts51x.c:88:2: warning: initialization from incompatible pointer type [enabled by default]
/home/george/Temp/rts5139-old/rts51x.c:88:2: warning: (near initialization for ‘rts51x_host_template.proc_dir’) [enabled by default]
make[2]: *** [/home/george/Temp/rts5139-old/rts51x.o] Error 1
make[1]: *** [_module_/home/george/Temp/rts5139-old] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-35-generic'
make: *** [default] Error 2
Old 09-17-2014, 11:11 AM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,073

Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
Why are you using old code and not building the code in the kernel? It's in drivers/staging/rts5139.
Old 09-25-2014, 10:26 AM   #3
LQ Newbie
Registered: Oct 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
After upgrade to 3.13.0-36-generic
It now works .


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unable to compile a sample module under suse 10.3 Aquarius_Girl Linux - General 3 10-08-2009 04:47 AM
unable to compile module abk4523 Linux - Kernel 2 02-02-2007 10:45 AM
Generic video driver, how to upgrade ? paulocr Slackware 2 05-04-2006 03:53 PM
how do i successfully compile a driver? (in the generic sense). stairwayoflight Linux - Newbie 1 04-25-2006 12:05 PM
unable to compile scsi_mod as module in 2.6.9 nbd Linux - General 5 11-28-2004 11:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration