To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2541
2540  |  2542
Subject: 
Re: ___cmpsi2
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 9 May 2002 10:59:55 GMT
Viewed: 
2279 times
  
main.o(.text+0x72):main.c: undefined reference to `___cmpsi2'

cmpsi2 is part of the libmint.a library. Would you please post (or send me)
your source code and your Makefile?

Regards,

Mike



Message has 1 Reply:
  Re: ___cmpsi2
 
(...) I don't find cmpsi2 in the sources of LegOS 0.2.5 (in lib/mint)! I found a _cmpsi2.o in libgcc.a (from egcs 1.1.2), but I really don't know how gcc (and ld) uses that library. The makefiles come from the LegOS tarball. According to the output, (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  ___cmpsi2
 
Using a multiplication between an int (in my case time_t) and a double number results in the following error: main.o(.text+0x72):main.c: undefined reference to `___cmpsi2' Can someone help me? I'm running egcs 1.1.2 and binutils 2.12. Eric (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR