All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Frank <sfr@gmx.net>
To: lkml <linux-kernel@vger.kernel.org>
Subject: 2.4.19-pre8 compile error [in drivers/char/serial.c]
Date: Mon, 6 May 2002 13:41:43 +0200	[thread overview]
Message-ID: <20020506114143.GA26760@asterix> (raw)

Hi,

got the following compile error :


make-kpkg --revision=1 kernel_image
.
.
.
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=console
-DEXPORT_SYMTAB -c console.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=selection
-DEXPORT_SYMTAB -c selection.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -I
/usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=serial
-DEXPORT_SYMTAB -c serial.c
In file included from serial.c:186:
/usr/src/linux-2.4/include/linux/serialP.h:27: parse error
serial.c:206: parse error
serial.c:209: parse error
serial.c:230: parse error
serial.c:683: parse error
serial.c:1444: parse error
serial.c:1593: parse error
serial.c:2169: parse error
serial.c:2216: parse error
serial.c:2393: parse error
serial.c:2550: parse error
serial.c:2565: parse error
serial.c:3179: parse error
serial.c:3846: parse error
serial.c:3851: linux/symtab_begin.h: No such file or directory
serial.c:3854: linux/symtab_end.h: No such file or directory
serial.c:5360: parse error
serial.c:5363: parse error
serial.c:5398: parse error
serial.c:5401: parse error
serial.c:5412: parse error
serial.c:5419: parse error
serial.c: In function `receive_chars':
serial.c:686: warning: implicit declaration of function `queue_task_irq_off'
serial.c: In function `rs_write':
serial.c:1888: warning: implicit declaration of function `copy_from_user'
serial.c: In function `get_serial_info':
serial.c:2086: warning: implicit declaration of function `copy_to_user'
serial.c: At top level:
serial.c:3850: variable `serial_syms' has initializer but incomplete type
serial.c:3852: warning: implicit declaration of function `X'
serial.c:3852: warning: excess elements in struct initializer
serial.c:3852: warning: (near initialization for `serial_syms')
serial.c:3853: warning: excess elements in struct initializer
serial.c:3853: warning: (near initialization for `serial_syms')
serial.c:2410: warning: `rs_break' defined but not used
serial.c:3850: warning: `serial_syms' defined but not used
make[4]: *** [serial.o] Fehler 1
make[4]: Leaving directory `/usr/src/linux-2.4/drivers/char'
make[3]: *** [first_rule] Fehler 2
make[3]: Leaving directory `/usr/src/linux-2.4/drivers/char'
make[2]: *** [_subdir_char] Fehler 2
make[2]: Leaving directory `/usr/src/linux-2.4/drivers'
make[1]: *** [_dir_drivers] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.4'
make: *** [stamp-build] Fehler 2

asterix:/usr/src/linux/scripts# ./ver_linux 
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
 Linux asterix 2.4.18-a1 #1 Mon Apr 15 19:53:06 CEST 2002 i686 unknown
  
  Gnu C                  2.95.4
  Gnu make               3.79.1
  util-linux             2.11n
  mount                  2.11n
  modutils               2.4.15
  e2fsprogs              1.27
  PPP                    2.4.1
  Linux C Library        2.2.5
  Dynamic linker (ldd)   2.2.5
  Procps                 2.0.7
  Net-tools              1.60
  Console-tools          0.2.3
  Sh-utils               2.0.11
  Modules Loaded         parport_pc lp parport snd-seq-midi snd-seq-oss
  snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-cs46xx
  snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec snd
  soundcore 3c59x w83781d i2c-proc i2c-viapro i2c-matroxfb i2c-algo-bit
  i2c-core apm ide-scsi rtc
  

This is on Debian sid using the kernel-package.

Bye, Stefan

-- 
Proboscis:  The rudimentary organ of an elephant which serves him in place
of the knife-and-fork that Evolution has as yet denied him.  For purposes
of humor it is popularly called a trunk.
-- Ambrose Bierce

             reply	other threads:[~2002-05-06 11:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-06 11:41 Stefan Frank [this message]
2002-05-06 17:00 ` 2.4.19-pre8 compile error [in drivers/char/serial.c] Stefan Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020506114143.GA26760@asterix \
    --to=sfr@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.