Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A response from Walnut Creek



>>>>> "Jim" == Jim Schweizer <schweiz@example.com> writes:

    Jim> Ok, I ugraded to 2.7.2 and now when I do the make dep ; make
    Jim> clean I'm getting a zillion ( well, 8 anyway) error messages
    Jim> that I never saw before:

    Jim> genksysms "ksyms.c": warning: symbol [do_mmap] unknown 'struct
    Jim> sem_undo'

    Jim> and additional similar warnings about sem_queue, [etc]

Looks like a version mismatch in the source tree to me.

    Jim> /usr/src/linuxelf-1.2.13/include/asm/io.h:82 inconsistant [...]
                  ^^^^^^^^^^^^^^^
Are you trying to build 1.2.13?  If not, you need to clean up your
source tree and your system includes.  The main one is that
"/usr/include/linux/" should point to the correct system files for
your hardware (ie, i386) and kernel version.  This is best
accomplished by making /usr/include/linux be a symlink to
/usr/src/linux/include/linux.  If you are going to work with multiple
versions, it's best to do

    cd /usr/src
    rm linux                    # assumes this is a symlink
    tar xvzf linux-V.R.P.tar.gz
    mv linux linux-V.R.P
    ln -s linux-V.R.P linux
    cd linux                    # and do your build

If you are trying to build 1.2.13, you may be getting burned by the
version incompatibility between old kernels and new GCCs; I can't
testify to that as I don't think I ever tried to build a 1.2.x kernel
with GCC 2.7.x.

You don't need the source for anything as long as you're not building
programs.  So it should be safe to burn your entire source tree right
to the ground, then rebuild it as suggested above.  First, of course,
do a "make [dist]clean" in every source tree and then tar them up and
save them in a safe place.  If you already have the source
distributions, you only need to save any patches you made yourself, as 
well as configuration files.  (Do a ls -al first to find any ".config" 
type files, .depend you can throw away but others may be what you need 
to recover your config parameters.)

Good luck
Steve

-- 
                           Stephen John Turnbull
University of Tsukuba                                        Yaseppochi-Gumi
Institute of Policy and Planning Sciences  http://turnbull.sk.tsukuba.ac.jp/
Tennodai 1-1-1, Tsukuba, 305 JAPAN                 turnbull@example.com
-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links