[95127] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Error when making modules

daemon@ATHENA.MIT.EDU (David Kramer)
Thu Oct 15 10:40:34 1998

Date: Thu, 15 Oct 1998 10:38:12 -0400
From: David Kramer <david@kramer.ne.mediaone.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I rebuilt my kernel fine, but when I made modules, I got:

make[2]: Leaving directory `/usr/src/linux-2.0.34/drivers/scsi'
make[2]: Entering directory `/usr/src/linux-2.0.34/drivers/sound'
/usr/src/linux-2.0.34/Rules.make:173: target `ad1848.o' given more than
once in the same rule.
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.0.34/include/linux/modversions.h -DEXPORT_SYMTAB -c
uart401.c
uart401.c:449: macro `_basic_version' used with just one arg
uart401.c:450: macro `_basic_version' used with just one arg
uart401.c:451: macro `_basic_version' used with just one arg
uart401.c:452: macro `_basic_version' used with just one arg
make[2]: *** [uart401.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.0.34/drivers/sound'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.34/drivers'
make: *** [modules] Error 2

the relevant lines in uart401.c are:
446
447  static struct symbol_table uart401_syms = {
448  #include <linux/symtab_begin.h>
449          X(attach_uart401),
450          X(probe_uart401),
451          X(unload_uart401),
452          X(uart401intr),
453  #include <linux/symtab_end.h>
454  };
455

X() does not appear to be a #define, and it's a bloody poor name for a
function, so I'm at a loss.  

By way of background, I tried upgrading my kernel at some point to the
lates (.35?), but I got errors about files missing.  It was 2AM and this
is my mail server (I was rebuilding it because I was hacked), so I was
"less than diligent" in documenting my errors.  I uninstalled it as best
as I could then reinstalled this kernel.

Any advice?  Thanks in advance.

-------------------------------------------------------------------
DDDD   David Kramer                    david@kramer.ne.mediaone.net
DK KD                                  http://start.at/david.kramer
DKK D  I much prefer Clinton's "I can't remember sexual affairs,"
DK KD  to Reagan's, "I cannot remember selling arms to 
DDDD   foreign countries."


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post