Skip to contentSkip to conversation

test13-preX: DRM (tdfx.o) unresolved symbols fixed?

DISCUSSION Dieter N�tzel 3 participants 5 messages Dec 27, 2000 – Dec 28, 2000

lore
Share & tools
lore
#0 lore raw

Hello to all of you,

I got this since test13-pre1 (pre4, now):

SunWave1>depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test13-pre4/kernel/drivers/char/drm/tdfx.o

depmod:         remap_page_range
depmod:         _mmx_memcpy
depmod:         __wake_up
depmod:         mtrr_add
depmod:         __generic_copy_from_user
depmod:         schedule
depmod:         kmalloc
depmod:         si_meminfo
depmod:         create_proc_entry
depmod:         inter_module_put
depmod:         __get_free_pages
depmod:         boot_cpu_data
depmod:         inter_module_get
depmod:         remove_wait_queue
depmod:         high_memory
depmod:         iounmap
depmod:         free_pages
depmod:         __ioremap
depmod:         del_timer
depmod:         interruptible_sleep_on
depmod:         __pollwait
depmod:         kfree
depmod:         remove_proc_entry
depmod:         pci_find_slot
depmod:         kill_fasync
depmod:         fasync_helper
depmod:         add_wait_queue
depmod:         do_mmap_pgoff
depmod:         mem_map
depmod:         sprintf
depmod:         jiffies
depmod:         printk
depmod:         add_timer
depmod:         irq_stat
depmod:         __generic_copy_to_user

Something missing in the 'new' drm/Makefile?

Thanks,
Dieter

Signature · 15 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
Cognitive Systems Group
Vogt-Kölln-Straße 30
D-22527 Hamburg, Germany

email: [email protected]
@home: [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw

Hi all,

Quoted 5 lines · On Wed, 27 Dec 2000, Dieter [iso-8859-1] Nützel wrote:

I got this since test13-pre1 (pre4, now):

SunWave1>depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test13-pre4/kernel/drivers/char/drm/tdfx.o

[snipped]

Quoted 3 lines

Something missing in the 'new' drm/Makefile?

From the test13-pre4 patch, the only difference I can see is that shared code

is now in drmlib.a instead of the object files being linked individually for each drm module.

If I do nm tdfx.o|grep printk, with test12 I get only this:

         U printk_R1b7d4074

with test13-pre4 on my home machine, I get the mangled symbol name plus a non-mangled one, both unresolved, maybe that causes problems.

Nils

Signature · 10 lines
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
[email protected] / [email protected] / [email protected]
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.                  -- Edsger W. Dijkstra


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw

Am Mittwoch, 27. Dezember 2000 11:07 schrieb Nils Philippsen:

Quoted 9 lines

Hi all,

Quoted 5 lines · On Wed, 27 Dec 2000, Dieter [iso-8859-1] Nützel wrote:

I got this since test13-pre1 (pre4, now):

SunWave1>depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test13-pre4/kernel/drivers/char/drm/tdfx.o

Quoted 7 lines

[snipped]

Quoted 1 line

Something missing in the 'new' drm/Makefile?

From the test13-pre4 patch, the only difference I can see is that shared code is now in drmlib.a instead of the object files being linked individually for each drm module.

Yep, I saw this, too.

Quoted 3 lines

If I do nm tdfx.o|grep printk, with test12 I get only this:

         U printk_R1b7d4074

dito
SunWave1>cd ../../../../../2.4.0-test12-pre7/kernel/drivers/char/drm/ SunWave1>nm tdfx.o | grep printk

         U printk_R1b7d4074
Quoted 2 lines

with test13-pre4 on my home machine, I get the mangled symbol name plus a non-mangled one, both unresolved, maybe that causes problems.

SunWave1>cd ../../../../../2.4.0-test13-pre4/kernel/drivers/char/drm/ SunWave1>nm tdfx.o | grep printk

         U printk
         U printk_R1b7d4074

But the strange thing is this:

SunWave1>depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test13-pre4/kernel/drivers/char/drm/tdfx.o

depmod:         remap_page_range
depmod:         _mmx_memcpy
depmod:         __wake_up
depmod:         mtrr_add
depmod:         __generic_copy_from_user
depmod:         schedule

[snip]

-Dieter

Signature · 15 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
Cognitive Systems Group
Vogt-Kölln-Straße 30
D-22527 Hamburg, Germany

email: [email protected]
@home: [email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to Nils Philippsen
Quoted 15 lines · Dieter Nützel

Am Mittwoch, 27. Dezember 2000 11:07 schrieb Nils Philippsen:

Quoted 13 lines

Hi all,

Quoted 5 lines · On Wed, 27 Dec 2000, Dieter [iso-8859-1] Nützel wrote:

I got this since test13-pre1 (pre4, now):

SunWave1>depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test13-pre4/kernel/drivers/char/drm/tdfx.o

[snipped]

Quoted 1 line

Something missing in the 'new' drm/Makefile?

This is a temporary fix:

drmP.h renamed from drmP.old +1 -0
@@ -40,6 +40,7 @@
 #include <asm/current.h>
 #endif /* __alpha__ */
 #include <linux/config.h>
+#include <linux/modversions.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/miscdevice.h>

Tony

Signature · 7 lines
Can't think of a decent signature...

[email protected]		http://www.nothing-on.tv
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#4 lore raw
In reply to Nils Philippsen

Am Donnerstag, 28. Dezember 2000 17:40 schrieb Tony Hoyle:

Quoted 20 lines
Quoted 13 lines · Dieter Nützel

Am Mittwoch, 27. Dezember 2000 11:07 schrieb Nils Philippsen:

Quoted 12 lines

Hi all,

Quoted 5 lines · On Wed, 27 Dec 2000, Dieter [iso-8859-1] Nützel wrote:

I got this since test13-pre1 (pre4, now):

SunWave1>depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.0-test13-pre4/kernel/drivers/char/drm/tdfx.o

[snipped]

Quoted 1 line

Something missing in the 'new' drm/Makefile?

This is a temporary fix:

drmP.h line 46

Quoted 7 lines
drmP.h renamed from drmP.old +1 -0
@@ -40,6 +40,7 @@
 #include <asm/current.h>
 #endif /* __alpha__ */
 #include <linux/config.h>
+#include <linux/modversions.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/miscdevice.h>

If I compile agpgart and tdfx directly into the kernel, it works for me, too.

Thanks!
Dieter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/