bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: redefinition of `struct random_data'


From: Sam Steingold
Subject: error: redefinition of `struct random_data'
Date: Mon, 11 Oct 2010 17:12:51 -0400
User-agent: Thunderbird 2.0.0.24 (X11/20100721)

All of a sudden (after the 27-Sep-10 sync with gnulib) I am getting this error when compiling gllib in the regexp clisp module on mingw and cygwin: gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I/.../current/modules/regexp/gllib -I.. -I/.../top/include -I/.../current/build-mingw-g-7/gllib -I/.../current/build-mingw-g-7 -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -DDYNAMIC_MODULES -DNO_GETTEXT -I. -DDLL_EXPORT -DPIC -I/.../current/build-mingw-g-7/ -MT malloc.o -MD -MP -MF .deps/malloc.Tpo -c -o malloc.o /.../current/modules/regexp/gllib/malloc.c
In file included from /.../current/modules/regexp/gllib/malloc.c:
32:./stdlib.h:65: error: redefinition of `struct random_data'
make[4]: *** [malloc.o] Error 1

indeed, I have stdlib.h both in gllib and regexp/gllib.
what has happened?
thanks.
Sam.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]