Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st August 2010
godfrank godfrank is offline
Port Guard
Join Date: Jun 2008
Posts: 14
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:

# 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 

# grep cuse4bsd /boot/loader.conf

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!

Last edited by godfrank; 21st August 2010 at 11:41 PM.
Reply With Quote
  #2   (View Single Post)  
Old 28th August 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: New Zealand
Posts: 2,201

Which version of FreeBSD are you using, and how did you install cuse4bsd?

KPTmap lives in sys/i386/i386/pmap.c (i.e., the kernel) and is not something you need to install.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 28th August 2010
godfrank godfrank is offline
Port Guard
Join Date: Jun 2008
Posts: 14


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 installed cuse4bsd from the latest version located in the ports tree.

$ find / -name pmap.c

$ grep KPTmap /usr/src/sys/i386/i386/pmap.c
Reply With Quote
  #4   (View Single Post)  
Old 5th September 2010
godfrank godfrank is offline
Port Guard
Join Date: Jun 2008
Posts: 14

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

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
make buildkernel failure -- undefined reference to . . . rtwingfield FreeBSD Installation and Upgrading 1 22nd June 2010 10:27 PM
Undefined reference to `xpt_bus_deregister' FreeBee FreeBSD Installation and Upgrading 2 6th January 2010 03:59 PM
Undefined function in OpenBSD WeakSauceIII OpenBSD General 4 20th May 2009 12:58 PM
link_elf error while loading gspca.ko kasse FreeBSD General 3 11th September 2008 08:22 AM
ports/sysutils/pfstat; undefined reference to `gdImagePng' chris FreeBSD Ports and Packages 2 5th July 2008 06:31 PM

All times are GMT. The time now is 12:23 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick