NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41850: implicit agp dependency in (radeon)drm code



>Number:         41850
>Category:       kern
>Synopsis:       implicit agp dependency in (radeon)drm code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 00:35:00 +0000 2009
>Originator:     Thomas Klausner
>Release:        NetBSD 5.99.15
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
        
        
System: NetBSD yt 5.99.15 NetBSD 5.99.15 (YT) #12: Mon Aug 3 01:04:22 CEST 2009 
root@yt:/usr/src/sys/arch/amd64/compile/obj/YT amd64
Architecture: x86_64
Machine: amd64
>Description:
A kernel with radeondrm but without agp fails to link:
drm_agpsupport.o: In function `drm_agp_unbind_memory':
drm_agpsupport.c:(.text+0x40): undefined reference to `agp_find_device'
drm_agpsupport.o: In function `drm_agp_bind_memory':
drm_agpsupport.c:(.text+0x7b): undefined reference to `agp_find_device'
drm_agpsupport.o: In function `drm_agp_free_memory':
drm_agpsupport.c:(.text+0xb8): undefined reference to `agp_find_device'
drm_agpsupport.c:(.text+0xcd): undefined reference to `agp_free_memory'
drm_agpsupport.o: In function `drm_agp_allocate_memory':
drm_agpsupport.c:(.text+0xf6): undefined reference to `agp_find_device'
drm_agpsupport.o: In function `drm_agp_info':
drm_agpsupport.c:(.text+0x15e): undefined reference to `agp_get_info'
drm_agpsupport.o: In function `drm_agp_init':
drm_agpsupport.c:(.text+0x227): undefined reference to `agp_find_device'
drm_agpsupport.c:(.text+0x2b0): undefined reference to `agp_get_info'
drm_agpsupport.o: In function `drm_agp_alloc':
drm_agpsupport.c:(.text+0x707): undefined reference to `agp_memory_info'
drm_agpsupport.o: In function `drm_agp_enable':
drm_agpsupport.c:(.text+0x7f7): undefined reference to `agp_enable'
drm_agpsupport.o: In function `drm_agp_release':
drm_agpsupport.c:(.text+0x850): undefined reference to `agp_release'
drm_agpsupport.o: In function `drm_agp_acquire':
drm_agpsupport.c:(.text+0x8a6): undefined reference to `agp_acquire'
drm_agpsupport.o: In function `drm_agp_unbind_memory':
drm_agpsupport.c:(.text+0x5b): undefined reference to `agp_unbind_memory'
drm_agpsupport.o: In function `drm_agp_bind_memory':
drm_agpsupport.c:(.text+0x9b): undefined reference to `agp_bind_memory'
drm_agpsupport.o: In function `drm_agp_allocate_memory':
drm_agpsupport.c:(.text+0x111): undefined reference to `agp_alloc_memory'
drm_memory.o: In function `drm_netbsd_ioremap':
drm_memory.c:(.text+0x41f): undefined reference to `agp_i810_borrow'
*** [netbsd] Error code 1
1 error
>How-To-Repeat:
Take GENERIC, comment out agp, enable radeondrm, try to compile.
>Fix:
Not provided. Some config(1) magic in external/bsd/drm/conf/files.drm?

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index