linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Dransfield <mike@blueroot.net>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: make xconfig segfaults, menuconfig fails
Date: Wed, 16 Jul 2003 18:08:34 +0100	[thread overview]
Message-ID: <5.1.0.14.0.20030716174759.02753238@212.67.194.181> (raw)
In-Reply-To: <Pine.LNX.4.44.0307161709230.717-100000@serv>

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

At 17:15 16/07/2003 +0200, Roman Zippel wrote:
>Hi,
>
>On Wed, 16 Jul 2003, Michael Dransfield wrote:
>
> > Typing 'make xconfig' segfaults - core dump can be sent if you need
>
>Your xconfig output doesn't make any sense, it shouldn't start compiling,
>did you really only 'make xconfig'?

just extracted the tar.bz2 file and the typed make xconfig.  Im not exactly 
a kernel hacker, so am following the directions in the Kernel-HOWTO

# nohup make modules 1> modules.out 2> modules.err &

produces compile errors (modules.out and modules.err attached)

>Anyway, a backtrace might be enough. ('gdb scripts/kconfig/qconf',
>'r arch/i386/Kconfig', 'bt')

i have attached the output from gdb, I normally get the xLib errors when 
starting X programs, it is a known problem when using mandrake 9.1 and 
tightvnc (which I am)


> > 'make menuconfig' produces errors and fails (output attached)
>
>You need to install the ncurses devel package.

thanks!  installed ncurses-5.3-1.20030215.1mdk and it worked



>bye, Roman

[-- Attachment #2: gdb.out --]
[-- Type: text/plain, Size: 1080 bytes --]

gdb scripts/kconfig/qconf
GNU gdb 5.3-22mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...
(gdb) r arch/i386/Kconfig
Starting program: /linux/linux-2.6.0-test1/scripts/kconfig/qconf arch/i386/Kconfig
[New Thread 16384 (LWP 13084)]
Xlib:  extension "GLX" missing on display ":1.0".
Xlib:  extension "GLX" missing on display ":1.0".
boolean symbol BINFMT_ZFLAT tested for 'm'? test forced to 'n'
#
# using defaults found in .config
#
Xlib:  extension "RENDER" missing on display ":1.0".

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13084)]
0x409d1ca9 in XftDrawString16 () from /usr/X11R6/lib/libXft.so.2
(gdb) bt
#0  0x409d1ca9 in XftDrawString16 () from /usr/X11R6/lib/libXft.so.2
(gdb) quit


[-- Attachment #3: modules.err --]
[-- Type: application/octet-stream, Size: 2363 bytes --]

drivers/char/esp.c:110: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/esp.c:110: warning: parameter names (without types) in function declaration
drivers/char/esp.c: In function `rs_sched_event':
drivers/char/esp.c:275: warning: implicit declaration of function `queue_task'
drivers/char/esp.c:275: `tq_esp' undeclared (first use in this function)
drivers/char/esp.c:275: (Each undeclared identifier is reported only once
drivers/char/esp.c:275: for each function it appears in.)
drivers/char/esp.c:276: warning: implicit declaration of function `mark_bh'
drivers/char/esp.c:276: `ESP_BH' undeclared (first use in this function)
drivers/char/esp.c: In function `receive_chars_pio':
drivers/char/esp.c:371: structure has no member named `tqueue'
drivers/char/esp.c:371: `tq_timer' undeclared (first use in this function)
drivers/char/esp.c: In function `receive_chars_dma_done':
drivers/char/esp.c:446: structure has no member named `tqueue'
drivers/char/esp.c:446: `tq_timer' undeclared (first use in this function)
drivers/char/esp.c: In function `check_modem_status':
drivers/char/esp.c:639: warning: implicit declaration of function `schedule_task'
drivers/char/esp.c: In function `do_serial_bh':
drivers/char/esp.c:768: warning: implicit declaration of function `run_task_queue'
drivers/char/esp.c:768: `tq_esp' undeclared (first use in this function)
drivers/char/esp.c: In function `autoconfig':
drivers/char/esp.c:2398: warning: `check_region' is deprecated (declared at include/linux/ioport.h:117)
drivers/char/esp.c: In function `espserial_init':
drivers/char/esp.c:2480: warning: implicit declaration of function `init_bh'
drivers/char/esp.c:2480: `ESP_BH' undeclared (first use in this function)
drivers/char/esp.c:2571: structure has no member named `routine'
drivers/char/esp.c:2573: structure has no member named `routine'
drivers/char/esp.c: In function `espserial_exit':
drivers/char/esp.c:2643: warning: implicit declaration of function `remove_bh'
drivers/char/esp.c:2643: `ESP_BH' undeclared (first use in this function)
drivers/char/esp.c:2635: warning: unused variable `e2'
drivers/char/esp.c: At top level:
drivers/char/esp.c:110: warning: `DECLARE_TASK_QUEUE' declared `static' but never defined
make[2]: *** [drivers/char/esp.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

[-- Attachment #4: modules.out --]
[-- Type: text/plain, Size: 474 bytes --]

  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
make[1]: `scripts/kconfig/conf' is up to date.
./scripts/kconfig/conf -s arch/i386/Kconfig
boolean symbol BINFMT_ZFLAT tested for 'm'? test forced to 'n'
#
# using defaults found in .config
#
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  drivers/char/esp.o

[-- Attachment #5: Type: text/plain, Size: 0 bytes --]



      reply	other threads:[~2003-07-16 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 14:22 PROBLEM: make xconfig segfaults, menuconfig fails Michael Dransfield
2003-07-16 15:15 ` Roman Zippel
2003-07-16 17:08   ` Michael Dransfield [this message]

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=5.1.0.14.0.20030716174759.02753238@212.67.194.181 \
    --to=mike@blueroot.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.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;
as well as URLs for NNTP newsgroup(s).