[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Havard Gullbekk <hgull@mail.ukans.edu>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Havard Gullbekk <hgull@mail.ukans.edu>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Thu, 24 May 2001 20:56:01 +0200 (CEST)
>From owner-rtl Thu May 24 10:41:00 2001
Received: from lark.cc.ukans.edu (root@lark.cc.ukans.edu [129.237.34.2])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4OGexP17038
for <rtl@rtlinux.org>; Thu, 24 May 2001 10:40:59 -0600
Received: from webmail.ku.edu by lark.cc.ukans.edu (8.8.8/1.1.8.2/12Jan95-0207PM)
id LAA0000030512; Thu, 24 May 2001 11:35:57 -0500 (CDT)
X-WebMail-UserID: hgull@mail.ukans.edu
Date: Thu, 24 May 2001 11:37:42 -0500
Sender: Havard Gullbekk <hgull@mail.ukans.edu>
From: Havard Gullbekk <hgull@mail.ukans.edu>
To: rtl@rtlinux.org
X-EXP32-SerialNo: 00002424
Subject: uresolved symbol __udivdi3 and __umoddi3
Message-ID: <3B1223D9@webmail.ku.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: WebMail (Hydra) SMTP v3.61.07
Hello!
I just uppgraded from rtlinux 2.2 on RH 6.2 to rtlinux 3.0 on SuSE 7.1.
I'm using the prepatched, 2.4.0-test1-rtl kernel.
My program was running on the old version, but I got some unresolved
symbols on my math functions (sin, cos etc) after uppgrading so I added
the -lm and -lc as described in the FAQ.
My makefile now looks like this:
ahrs.o: ahrs.c
$(CC) ${CFLAGS} -c -o ahrs_tmp.o ahrs.c
$(LD) -r -static ahrs_tmp.o -o ahrs.o -L/usr/lib -lm -lc
rm -f ahrs_tmp.o
When I insert ahrs.o as a module (insmod ahrs.o) I get these errors:
ahrs.o: unresolved symbol __udivdi3
ahrs.o: unresolved symbol __umoddi3
I have no idea where the __udivdi3 and __umoddi3 are comming from and
what their purpose is. So any suggestions are welcome.
Thanks
Havard