public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans-Peter Jansen <hpj@urpla.net>
To: Alan Cox <alan@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.21pre5-ac3 DRM build problem
Date: Wed, 12 Mar 2003 19:50:50 +0100	[thread overview]
Message-ID: <200303121950.50620.hpj@urpla.net> (raw)
In-Reply-To: <200303121358.h2CDwmB06606@devserv.devel.redhat.com>

Hi Alan,

compiling your current snapshot, I'm running into this problem:

make[3]: Wechsel in das Verzeichnis 
»/usr/src/linux-2.4.21-pre5-ac3-nb/drivers/char«
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pre5-ac3-nb/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix 
include -DKBUILD_BASENAME=tty_io  -DEXPORT_SYMTAB -c tty_io.c
tty_io.c:1845:1: directives may not be used inside a macro argument
tty_io.c:1844:1: unterminated argument list invoking macro "put_user"
tty_io.c: In function `tty_ioctl':
tty_io.c:1848: `put_user' undeclared (first use in this function)
tty_io.c:1848: (Each undeclared identifier is reported only once
tty_io.c:1848: for each function it appears in.)
tty_io.c:1848: parse error before "struct"
tty_io.c:1855: warning: `return' with no value, in function returning non-void
tty_io.c: In function `do_SAK':
tty_io.c:1898: `__do_SAK' undeclared (first use in this function)
tty_io.c: In function `tty_ioctl':
tty_io.c:2080: section attribute cannot be specified for local variables
tty_io.c:2080: section attribute cannot be specified for local variables
tty_io.c:2081: section attribute cannot be specified for local variables
tty_io.c:2081: section attribute cannot be specified for local variables
tty_io.c:2416: parse error at end of input
tty_io.c:2081: warning: unused variable `__ksymtab_tty_unregister_devfs'
tty_io.c:2080: warning: unused variable `__ksymtab_tty_register_devfs'
tty_io.c:136: warning: `initialize_tty_struct' used but never defined
tty_io.c:1652: warning: `send_break' defined but not used

Looks like TTY_SOFT_SAK macro isn't defined anywhere, at least a grep -r 
doesn't reveal one...

Relevant .config:
CONFIG_AGP=m
CONFIG_AGP_INTEL=y
# CONFIG_AGP_I810 is not set
CONFIG_AGP_VIA=y
CONFIG_AGP_AMD=y
CONFIG_AGP_AMD_8151=y
# CONFIG_AGP_SIS is not set
CONFIG_AGP_ALI=y
# CONFIG_AGP_SWORKS is not set
CONFIG_DRM=y
CONFIG_DRM_OLD=y
# CONFIG_DRM40_TDFX is not set
# CONFIG_DRM40_GAMMA is not set
# CONFIG_DRM40_R128 is not set
# CONFIG_DRM40_RADEON is not set
# CONFIG_DRM40_I810 is not set
CONFIG_DRM40_MGA=m
# CONFIG_MWAVE is not set

Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2

Let me know, if I can provide some more infos, testing, whatever.

Thanks,
Pete

  parent reply	other threads:[~2003-03-12 18:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-12 13:58 Linux 2.4.21pre5-ac3 Alan Cox
2003-03-12 14:41 ` Maciej Soltysiak
2003-03-12 15:00   ` John Bradford
2003-03-12 15:47     ` [PATCH][TRIVIAL] Linux 2.4.21pre5-ac3 - remove unused var in ide-proc.c Maciej Soltysiak
2003-03-12 15:48       ` [PATCH][TRIVIAL] Linux 2.4.21pre5-ac3 - change make_config to void Maciej Soltysiak
2003-03-12 15:49       ` [PATCH][TRIVIAL] Linux 2.4.21pre5-ac3 - change format in reiserfs/super.c Maciej Soltysiak
2003-03-12 16:06         ` Oleg Drokin
2003-03-12 18:50 ` Hans-Peter Jansen [this message]
2003-03-13 15:50   ` Linux 2.4.21pre5-ac3 DRM build problem Hans-Peter Jansen

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=200303121950.50620.hpj@urpla.net \
    --to=hpj@urpla.net \
    --cc=alan@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox