linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Field <danf@nuclear-dawn.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: tgafb broken in 2.6test9 compile
Date: Sun, 23 Nov 2003 22:53:06 +0000	[thread overview]
Message-ID: <20031123225306.GC4146@mail.nuclear-dawn.com> (raw)

Hi.

I'm trying to compile 2.6.0test9 and ran into the following error:

make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
    CC      drivers/video/tgafb.o
    drivers/video/tgafb.c:83: `tgafb_pci_unregister' undeclared here
    (not in a function)
    drivers/video/tgafb.c:83: initializer element is not constant
    drivers/video/tgafb.c:83: (near initialization for
    `tgafb_driver.remove')
    drivers/video/tgafb.c:84: initializer element is not constant
    drivers/video/tgafb.c:84: (near initialization for `tgafb_driver')
    drivers/video/tgafb.c: In function `tgafb_set_par':
    drivers/video/tgafb.c:233: `color_table' undeclared (first use in
    this function)
    drivers/video/tgafb.c:233: (Each undeclared identifier is reported
    only once
    drivers/video/tgafb.c:233: for each function it appears in.)
    drivers/video/tgafb.c:234: `default_red' undeclared (first use in
    this function)
    drivers/video/tgafb.c:236: `default_grn' undeclared (first use in
    this function)
    drivers/video/tgafb.c:238: `default_blu' undeclared (first use in
    this function)
    make[2]: *** [drivers/video/tgafb.o] Error 1
    make[1]: *** [drivers/video] Error 2
    make: *** [drivers] Error 2
    


I tried adding #include <linux/selection.h> as pointed out at the
following URL

http://www.ussg.iu.edu/hypermail/linux/kernel/0309.2/0027.html

but then got this:

make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
    CC      drivers/video/tgafb.o
    drivers/video/tgafb.c:84: `tgafb_pci_unregister' undeclared here
    (not in a function)
    drivers/video/tgafb.c:84: initializer element is not constant
    drivers/video/tgafb.c:84: (near initialization for
    `tgafb_driver.remove')
    drivers/video/tgafb.c:85: initializer element is not constant
    drivers/video/tgafb.c:85: (near initialization for `tgafb_driver')
    make[2]: *** [drivers/video/tgafb.o] Error 1
    make[1]: *** [drivers/video] Error 2
    make: *** [drivers] Error 2
    
-- 
Dan Field <danf@nuclear-dawn.com>

http://www.nuclear-dawn.com/ - Drunk on the Lawn in a Nuclear Dawn


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

             reply	other threads:[~2003-11-23 22:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-23 22:53 Dan Field [this message]
2003-11-24 16:38 ` tgafb broken in 2.6test9 compile Geert Uytterhoeven

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=20031123225306.GC4146@mail.nuclear-dawn.com \
    --to=danf@nuclear-dawn.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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).