From: "merser" To: "DJGPP" Subject: STL: undeclared lrand48 ?? Date: Tue, 14 Apr 1998 21:31:18 +0200 Message-ID: <01bd67db$e61868a0$LocalHost@Image> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Precedence: bulk The error message below came when I tried to recompile a litle program that uses a STL algorithm 'random_shuffle'. Using find and grep it aint possible to locate any declaration or definition in the headers, only the call itself in stl_algo.h. Any suggestions how to solve this problem appreciated? c:/djgpp/lang/cxx/stl_algo.h: In function `void __random_shuffle(float *, float *, int *)': c:/djgpp/lang/cxx/stl_algo.h:617: `lrand48' undeclared (first use this function) c:/djgpp/lang/cxx/stl_algo.h:617: (Each undeclared identifier is reported only once c:/djgpp/lang/cxx/stl_algo.h:617: for each function it appears in.) make.exe: *** [heap.o] Error 1