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 / 596
595  |  597
Subject: 
random() compile problems
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 20 Dec 1999 07:17:18 GMT
Viewed: 
1230 times
  
Hi all,
We are having troubles compiling code that makes use of the random() (and
srandom()). The error messages that occour when we compile are:
undefined reference to '_srandom'
undefined reference to '_random'

Any help will be greatly appreciated.

Matthew



Message has 1 Reply:
  Re: random() compile problems
 
(...) Hi Matthew, it lokks like the functions are simply not defined neither in the legOS kernel nor in the libs. Following the comment in include/stdlib.h, they should be in libiberty.a, which is somewhere in the cross-compiler tree. However, (...) (25 years ago, 21-Dec-99, to lugnet.robotics.rcx.legos)

3 Messages in This Thread:

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

Custom Search

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