ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@fandra.org>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] insmod help need
Date: Fri Dec 29 03:01:01 2000
Message-ID: <20001229030429.A5715@LDV.fandra.org> (raw)
In-Reply-To: <20001228211244.Q2483@avilink.net>; from ab@avilink.net on Thu, Dec 28, 2000 at 09:12:44PM +0200

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

On Thu, Dec 28, 2000 at 09:12:44PM +0200, Alexander Bokovoy wrote:
> > AN> > # insmod airo
> > AN> > Using /lib/modules/2.2.18-ipl1mdk/net/airo.o
> > AN> > /lib/modules/2.2.18-ipl1mdk/net/airo.o: unresolved symbol memcpy
> > AN> >
> > AN> > Как этот memcpy побороть?
> > AN> > Помогите плиз, очень надо это чудо заставить работать!
> > AN> >
> > AN> 
> > AN> depmod -a
> > AN> modprobe airo
> > 
> > # depmod -a
> > depmod: *** Unresolved symbols in /lib/modules/2.2.18-ipl1mdk/net/airo.o
> > 
> > Вот что получаю. :-(
> Посмотрите в Makefile / Rules.make в /usr/src/linux на опции компилятору и 
> линковщику.
> Например, -D__KERNEL__ и прочие.

Совершенно верно; очень важно, в частности, использовать тот же уровень
оптимизации, что был использован при сборке ядра.

Попробуйте так:
kgcc -pipe -O2 -fexpensive-optimizations -march=i586 -fomit-frame-pointer -fno-strict-aliasing -malign-loops=2 -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 -Wall -D__KERNEL__ -DMODULE -DMODVERSIONS -DCPU=586 -include /usr/include/linux/modversions.h -c airo.c


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@fandra.org
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2000-12-29  3:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-28 21:35 Igor Solovyov
2000-12-28 21:52 ` Aleksey Novodvorsky
2000-12-28 22:07   ` Igor Solovyov
2000-12-28 22:13     ` Alexander Bokovoy
2000-12-29  3:01       ` Dmitry V. Levin [this message]
2000-12-29  9:40 ` Krivulja Sergey
2000-12-29 14:21   ` Dmitry V. Levin
2000-12-30  7:57     ` Igor Solovyov

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=20001229030429.A5715@LDV.fandra.org \
    --to=ldv@fandra.org \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git