LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2003, 07:49 AM   #1
Mad_C
Member
 
Registered: Dec 2002
Location: Austria
Distribution: Slax, ccux-Linux, coLinux
Posts: 49

Rep: Reputation: 15
Where is __get_user_bad?


Since I changed some copy_from_user statements to get_user, my character device driver won't load because of "unresolved symbol __get_user_bad". I am using ARM-Linux 2.4.18-rmk7 on an SSV DNP1110 (SA1110 StrongARM).
What am I missing?
 
Old 06-26-2003, 07:02 AM   #2
Mad_C
Member
 
Registered: Dec 2002
Location: Austria
Distribution: Slax, ccux-Linux, coLinux
Posts: 49

Original Poster
Rep: Reputation: 15
Hmm. In include/asm-arm/uaccess.h is a line "extern int __get_user_bad(void);",
while in arch/arm/lib/getuser.S there is a note saying " * Note also that it is intended that __get_user_bad is not global."
So, htf is that intended to work?

Pleez, somebody enlighten me!

Last edited by Mad_C; 06-26-2003 at 07:05 AM.
 
Old 03-28-2006, 08:03 AM   #3
liyi_hust
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
when you compile this module, -O is needed
 
Old 03-28-2006, 08:11 AM   #4
Mad_C
Member
 
Registered: Dec 2002
Location: Austria
Distribution: Slax, ccux-Linux, coLinux
Posts: 49

Original Poster
Rep: Reputation: 15
Better late than never...
Took me a while to remember what this was all about, but I apparently got it fixed one way or the other.

Thanks anyway for the reply,

Chris
 
  


Reply



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



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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