Hello,

Currently, the build aborts with the following error:

gcc -Wl,--enable-auto-import -shared -Wl,--out-implib,libchicken.dll.a \
          -o libchicken.dll library.o eval.o data-structures.o ports.o files.o e
xtras.o lolevel.o utils.o tcp.o srfi-1.o srfi-4.o srfi-13.o srfi-14.o srfi-18.o
srfi-69.o posixwin.o regex.o scheduler.o profiler.o stub.o expand.o chicken-synt
ax.o runtime.o apply-hack.x86.o -lm -lws2_32
Creating library file: libchicken.dll.a
extras.o:extras.c:(.text+0x75bb): undefined reference to `srandom'
extras.o:extras.c:(.text+0x7c39): undefined reference to `random'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [libchicken.dll] Error 1

This happens on the latest devel. snapshot (4.1.4), but 4.1.0 fails to
build as well with the same error. I'm using mingw 4.4.1 (Without
msys).

Out of curiosity, why is Chicken using these functions instead of the
standard C rand/srand ? There shouldn't be any difference
functionality-wise AFAIK.

Thanks,
Fadi.


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to