Re: [Amcl-users] hi all, need some help
Status: Beta
Brought to you by:
lobbin
|
From: Mattias H. <mh...@sd...> - 2002-04-18 16:51:45
|
ok, this is how my make looks like now make -s Making all in doc Making all in C Making all in intl Making all in po Making all in src In file included from data.c:24: regex.h:314: parse error before `_ANSI_ARGS_' regex.h:323: parse error before `_ANSI_ARGS_' regex.h:325: parse error before `_ANSI_ARGS_' regex.h:326: parse error before `_ANSI_ARGS_' data.c: In function `match_line': data.c:158: warning: implicit declaration of function `TclReFree' make[2]: *** [data.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Exit 2 I found regcomp and regexec in regex but they where commented out of the code, as you see they are uncommented now. I have also been able to fix that re_void thing, just a matter of large and small text. 3 warnings fixed... the TclReFree I cant not find anywhere else butone place only, in regex.h That line looks like this #define regfree TclReFree I didnt find it in /usr/include or /usr/include/sys nor in the src dir for gnome-mud so what is it? and to the last point... _ANSI_ARGS_? these lines look like this...they start at row number 307. #ifndef __REG_NOCHAR int re_comp _ANSI_ARGS_((regex_t *, __REG_CONST char *, size_t, int)); #endif #ifndef __REG_NOFRONT int regcomp _ANSI_ARGS_((regex_t *, __REG_CONST char *, int)); #endif #ifdef __REG_WIDE_T int __REG_WIDE_COMPILE _ANSI_ARGS_((regex_t *, __REG_CONST __REG_WIDE_T *, = size_t, int)); #endif #ifndef __REG_NOCHAR int re_exec _ANSI_ARGS_((regex_t *, __REG_CONST char *, size_t, rm_detail_t= *, size_t, regmat$ #endif #ifndef __REG_NOFRONT int regexec _ANSI_ARGS_((regex_t *, __REG_CONST char *, size_t, regmatch_t = [], int)); #endif #ifdef __REG_WIDE_T int __REG_WIDE_EXEC _ANSI_ARGS_((regex_t *, __REG_CONST __REG_WIDE_T *, siz= e_t, rm_detail_t *$ #endif re_void regfree _ANSI_ARGS_((regex_t *)); extern size_t regerror _ANSI_ARGS_((int, __REG_CONST regex_t *, char *, siz= e_t)); how do I fix this? MvH Mattias "Nallen" Holmstr=F6m On Sun, 14 Apr 2002, Jordi Mallach wrote: > [If you're subscribed to amcl-users, tell me and I won't Cc: you] > > On Sun, Apr 14, 2002 at 09:29:00PM +0200, Mattias Holmstroem wrote: > > gnome-mud-0.9.0.tar.gz > > Ok. > > > In file included from data.c:24: > > regex.h:145: parse error before `re_void' > > regex.h:145: warning: type defaults to `int' in declaration of `re_void= ' > > regex.h:145: warning: data definition has no type or storage class > > regex.h:314: parse error before `_ANSI_ARGS_' > > regex.h:323: parse error before `_ANSI_ARGS_' > > regex.h:326: parse error before `_ANSI_ARGS_' > > data.c: In function `match_line': > > data.c:147: warning: implicit declaration of function `regcomp' > > data.c:148: warning: implicit declaration of function `regexec' > > data.c:149: warning: implicit declaration of function `TclReFree' > > I have no SunOS box, by luck, so I can't really know what's going on > there. Can you grep recursively for "regcomp" in all files in > /usr/include (or wherever includes are in Solaris)? > > Thanks, > Jordi > -- > Jordi Mallach P=E9rez || jo...@pu... || Rediscovering Freed= om, > aka Oskuro in || jo...@si... || Using Debian GNU/Linu= x > Reinos de Leyenda || jo...@de... || http://debian.org > > http://sindominio.net GnuPG public information: pub 1024D/917A225E > telnet pusa.uv.es 23 73ED 4244 FD43 5886 20AC 2644 2584 94BA 917A 225E > |