e2b9 [Solved] cuse4bsd - link_elf: symbol KPTmap undefined - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old August 27th, 2010, 03:45
godfrank godfrank is offline
Junior Member
 
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default cuse4bsd - link_elf: symbol KPTmap undefined

Hello folks!
I've spent most of the day trying to get a webcam and the motion port working.

I know that I need cuse4bsd and webcamd to use my webcam, but I cannot load the cuse4bsd kernel module as I get the following error if I boot with cuse4bsd_load="YES" and/or kldload cuse4bsd:

Code:
# kldload cuse4bsd
kldload: can't load cuse4bsd: No such file or directory

# dmesg | grep cuse4bsd
KLD file cuse4bsd.ko - could not finalize loading

# dmesg | tail -n 1
link_elf: symbol KPTmap undefined

# ls /boot/modules/cuse4bsd.ko 
/boot/modules/cuse4bsd.ko

# grep cuse4bsd /boot/loader.conf
cuse4bsd_load="YES"

I absolutely have no idea of what to do now. I need help, guys and gals...! The only related information found on Google was people who had the same error but for the nvidia driver port. FYI, the webcam is on a server without X11.

Where can I get that KPTmap symbol!?

Thank you for your time!
Frank
Reply With Quote
  #2  
Old August 27th, 2010, 10:53
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

How did you install cuse4bsd? Using a package or the port?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old August 27th, 2010, 13:57
godfrank godfrank is offline
Junior Member
 
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello!
I installed it from the latest version in the ports tree at the moment.

Thanks!
Reply With Quote
  #4  
Old August 27th, 2010, 14:02
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Ok. At that time was your kernel source in sync with the running kernel?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old August 27th, 2010, 21:08
godfrank godfrank is offline
Junior Member
 
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No. Very good point.

The latest version of the port was on 02 Aug 2010 09:16:58

Code:
FreeBSD X 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Thu Jul 15 20:16:51 EDT 2010     root@X:/usr/obj/usr/src/sys/GENERIC  i386
I did a csup on the src for RELENG_8_0 and I still have the same error when I kldload.

Is there something I may be missing?

Thank you!
Frank

Last edited by DutchDaemon; August 28th, 2010 at 01:09.
Reply With Quote
  #6  
Old September 3rd, 2010, 17:05
Zhwazi Zhwazi is offline
Junior Member
 
Join Date: Nov 2009
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you rebuild the kernel module after you synced? The kernel module builds against whatever source is there when it builds. You probably need to rebuild and reinstall the module now that the system source is synchronized.
Reply With Quote
  #7  
Old September 6th, 2010, 00:30
godfrank godfrank is offline
Junior Member
 
Join Date: Aug 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know how I ended up where I was but after a csup and kernel (8.0 to 8.1), world and userland recompilation, I can now load cuse4bsd.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_jail: Undefined symbol "ap_pcalloc" Dr_Death_UAE Web & Network Services 3 September 5th, 2010 09:20
scrotwm - unresolved symbol XInternAtom eyebone Other Window Managers 1 August 9th, 2010 00:32
Wierd UK currency symbol kb issue cpcnw Peripheral Hardware 0 March 9th, 2010 10:54
libgdk-x11-2.0.so.0: Undefined symbol "shmctl" TzunTzai Installation and Maintenance of FreeBSD Ports or Packages 8 November 23rd, 2009 13:52
[Solved] Makefile from Linux doesn't work on BSD; what is the $^ symbol? caesius Userland Programming & Scripting 1 September 16th, 2009 12:00


All times are GMT +1. The time now is 10:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0