Mail Archives: djgpp/1998/04/14/15:41:12
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 *,
int>(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
- Raw text -