Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105181 - typo? "vesafb-tng.o: 'info' undeclared (first use in this function)" during 'make modules'
Summary: typo? "vesafb-tng.o: 'info' undeclared (first use in this function)" during '...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 13:22 UTC by Ole Craig
Modified: 2005-10-29 09:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1-line patch against gentoo-sources-2.6.13 (vesafb-tng_2.6.13.diff,647 bytes, patch)
2005-09-07 13:23 UTC, Ole Craig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Craig 2005-09-07 13:22:09 UTC
fooling around with 2.6.13, I decided to add in vesafb support, and went with
the modular vesafb-tng option. It fails during compile looking for an undeclared
structure, which to me looks like a typo (well, thinko really.)

It's a simple patch, which I'll attach momentarily. 


Reproducible: Always
Steps to Reproduce:
1. cd /usr/src/linux-2.6.13-gentoo
2. make oldconfig
3. make bzImage modules

Actual Results:  
  CC [M]  drivers/video/vesafb-tng.o
drivers/video/vesafb-tng.c: In function `vesafb_exit':
drivers/video/vesafb-tng.c:1180: error: `info' undeclared (first use in this
function)
drivers/video/vesafb-tng.c:1180: error: (Each undeclared identifier is reported
only once
drivers/video/vesafb-tng.c:1180: error: for each function it appears in.)
make[2]: *** [drivers/video/vesafb-tng.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2


Expected Results:  
[...]
  CC [M]  drivers/video/vesafb-tng.o
  CC [M]  sound/isa/gus/interwave.o
[...]

ook src # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ http://gentoo.ccccom.com
http://gentoo.osuosl.org/ ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 a52dec aac aalib acl acpi acpi4linux aim alsa apache2 apm arts
artworkextra audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cddb
cdparanoia cdr codecs crypt ctype cups curl curlwrappers dba dga dio directfb
divx4linux doc dri dvb dvd dvdr dvdread dxr3 eds emacs emboss encode esd
ethereal exif faac faad fam fame fbcon ffmpeg fftw flac flash font-server
foomaticdb fortran freetype ftp gcj gd gdbm ggi gif gimp gimpprint glut glx
gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq
imagemagick imlib insecure-drivers ipv6 jabber jack java jikes joystick jpeg
jpeg2k junit kerberos ladcca lcms ldap libg++ libwww mad mikmod ming mitshm
mjpeg mmap mmx mng motif mozilla mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn
mysql nas ncurses nls nptl odbc ofx ogg oggvorbis openal opengl oscar oss pam
pcmcia pcntl pcre pda pdflib perl php pic pie png pnp posix postgres ppds python
qt quicktime readline samba scanner sdl session shared sharedmem simplexml slang
slp sndfile snmp soap sockets sox spell sse ssl svg svga sysvipc tcltk tcpd
tetex theora tiff truetype truetype-fonts trusted type1-fonts usb v4l v4l2 vcd
videos vidix vorbis win32codecs wmf wxwindows xanim xine xml xml2 xmlrpc xmms
xosd xpm xscreensaver xsl xv xvid xvmc yahoo yv12 zlib video_cards_savage
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Ole Craig 2005-09-07 13:23:55 UTC
Created attachment 67860 [details, diff]
1-line patch against gentoo-sources-2.6.13
Comment 2 L.Stohlmann 2005-10-09 08:02:35 UTC
Pretty easy fix of a simple "typo" (or renaming of a structure, as I suspect)
indeed. Did the same manually and it solves the problem.

Just wondering how sth like this could slip through...
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2005-10-29 09:10:43 UTC
The problem should be fixed in the latest gentoo-sources (2.6.14).