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

BOUNCE rtl@rtlinux.org: Approval required: (fwd)



>From owner-rtl Wed Jul 11 04:35:58 2001
Received: from kalman.iau.dtu.dk (kalman.iau.dtu.dk [192.38.66.22])
	by localhost.localdomain (8.11.2/8.11.2) with ESMTP id f6BAZvf11614
	for <rtl@rtlinux.org>; Wed, 11 Jul 2001 04:35:57 -0600
Received: from pc120 (pc120 [192.38.66.220])
	by kalman.iau.dtu.dk (8.9.3/8.9.3) with SMTP id MAA12053;
	Wed, 11 Jul 2001 12:35:24 +0200
Message-ID: <005a01c109f5$469fa670$dc4226c0@pc120>
From: "Ivan Martinez" <im@iau.dtu.dk>
To: "RTLinux mailing list" <rtl@rtlinux.org>
Cc: <jlu@oersted.dtu.dk>
Subject: Missing symbols problem
Date: Wed, 11 Jul 2001 12:35:59 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Hello all,
    Below I include the description of a problem somebody in my office is
having. We have been searching in the mailing list archive but we couldn't
find any solution. The funny thing is the same module in my computer works
fine without any special linking, just including math.h. I saw a post from
Paolo saying that should be enough from gcc 2.95.2.
    I'm using gcc 2.95.3 and the same RTLinux kernel than my partner, but
with Mandrake 7.2. You can see below he's using newer versions of gcc and
Mandrake.
    Can anybody help us?. Thank you.

Ivan Martinez
Software Engineering MSc student
http://www.iau.dtu.dk/~im/
"Got fabes?"
----- Original Message -----
From: "Khi Long" <KhiLong@mail-online.dk>
To: <im@iau.dtu.dk>
Sent: Wednesday, July 11, 2001 12:28 PM
Subject: Missing symbols problem


> I have a problem with some missing symbols when I use the
> insmod command.
> I use gcc version 2.96 on a Mandrake Linux 8.0 system
> The rtlinux version is 3.0 for the 2.2.18 linux kernel.
>
> At first I just couldn't find the math symbols pow and cos, but
> I looked in the mailing list for a solution to the problem.
> I found it! Somebody said that I should just write this:
>
> ld -r -static -o enginemodel.o temp.o -L/usr/lib -lc -lm
>
> So I did! But that doesn't help!
> First of all -static is not an option for ld!
> Well.... It helps in the way that cos and pow are not unresolved anymore,
> but now  __isnan stderr and fputs can't be found!
> If I switch the -lc and -lm flags then  __udivdi3 and __umoddi3
> can't be found!
>
> It seems that there is no way of making a module without something
> missing in it!
>
> What's the problem?
> And what can I do?
>
> Please :-)
>
>
>
>
> __________________________________________________
>
> Gratis email for alle: www.mail-online.dk
> Laes dagens nyheder: www.directoffice.dk
> Find dit nye job: www.job-online.dk
> Postkort: www.post-online.dk
>

----- End of forwarded message from owner-rtl@fsmlabs.com -----