From: Nathan Scott <nathans@sgi.com>
To: R Dicaire <rdicair@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.25 and xfs compile errors
Date: Mon, 23 Feb 2004 10:41:17 +1100 [thread overview]
Message-ID: <20040222234117.GB3213@frodo> (raw)
In-Reply-To: <1077423230.1589.8.camel@ws.rdb.linux-help.org>
On Sat, Feb 21, 2004 at 11:13:50PM -0500, R Dicaire wrote:
> While trying to compile 2.4.25, I get the following:
>
> ld -m elf_i386 -T /usr/src/linux-2.4.25/arch/i386/vmlinux.lds -e stext
> arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
> init/version.o init/do_mounts.o \
> --start-group \
> arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
> mm/mm.o fs/fs.o ipc/ipc.o \
> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
> drivers/net/net.o drivers/ide/idedriver.o drivers/cdrom/driver.o
> drivers/pci/driver.o drivers/video/video.o drivers/media/media.o
> drivers/md/mddev.o \
> net/network.o \
> /usr/src/linux-2.4.25/arch/i386/lib/lib.a
> /usr/src/linux-2.4.25/lib/lib.a
> /usr/src/linux-2.4.25/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux
> fs/fs.o(.text+0x6fa94): In function `xfs_bmap_add_attrfork_local':
> : undefined reference to `__constant_c_and_count_memset'
> fs/fs.o(.text+0x72d2b): In function `xfs_bmap_alloc':
> : undefined reference to `xfs_do_div'
> ...
> fs/fs.o(.text+0x78afe): In function `xfs_getbmap':
> : undefined reference to `__constant_copy_to_user'
> make: *** [vmlinux] Error 1
> gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
> Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared
> --enable-threads=posix --enable-__cxa_atexit --disable-checking
> --with-gnu-ld --verbose --target=i486-slackware-linux
> --host=i486-slackware-linux
> Thread model: posix
> gcc version 3.2.3
>
Looks like your compiler is getting confused by routines
that have been declared "static inline" in a header - you
probably need to upgrade/downgrade your compiler.
cheers.
--
Nathan
next prev parent reply other threads:[~2004-02-22 23:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-22 4:13 2.4.25 and xfs compile errors R Dicaire
2004-02-22 23:41 ` Nathan Scott [this message]
2004-02-23 0:36 ` R Dicaire
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=20040222234117.GB3213@frodo \
--to=nathans@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdicair@comcast.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