[Gambas-user] Compile Error: gambas2-1.9.3

Scott mlist at ...908...
Mon Mar 14 02:09:54 CET 2005


Hi,

I am getting a compile error. Any help in solving the problem is very appreciated :-)

Configure is invoked using "configure --prefix=/usr". I am using Gentoo ( Don't know if that matters ).

Version 1.0.4 is compiling without any problems.

The error is:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT regexp.lo -MD -MP -MF .deps/regexp.Tpo -c regexp.c  -fPIC -DPIC -o .libs/regexp.o
In file included from regexp.c:28:
../../../src/share/gb_common.h:87: warning: redefinition of `ulong'
/usr/include/sys/types.h:151: warning: `ulong' previously declared here
regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in a function)
regexp.c:368: error: initializer element is not constant
regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2')
regexp.c:368: error: initializer element is not constant
regexp.c:368: error: (near initialization for `CRegexpDesc[29]')
regexp.c:370: error: initializer element is not constant
regexp.c:370: error: (near initialization for `CRegexpDesc[30]')
regexp.c:371: error: initializer element is not constant
regexp.c:371: error: (near initialization for `CRegexpDesc[31]')
regexp.c:372: error: initializer element is not constant
regexp.c:372: error: (near initialization for `CRegexpDesc[32]')
regexp.c:374: error: initializer element is not constant
regexp.c:374: error: (near initialization for `CRegexpDesc[33]')
make[4]: *** [regexp.lo] Error 1
make[4]: Leaving directory `/home/stodas/src/gambas2-1.9.3/src/lib/pcre'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/stodas/src/gambas2-1.9.3/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/stodas/src/gambas2-1.9.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stodas/src/gambas2-1.9.3'
make: *** [all] Error 2

---

Thanks for your time.

Cheers,

Scott.




More information about the User mailing list