Hey,
I'm no longer the maintainer of librcc, adding
fluffy@FreeBSD.org.
For me, librcc still builds fine on 9.1 and 10.0, when did this stop
working for you?
Looking at the source, it seems that DB_VERSION_MISMATCH is set for me,
so that stmp array will be declared correctly. I find no mention of this
though, very weird.
Ah, what does the configure stage say for you? Mine ends with:
Configuration:
POSIX Threading Support: yes
External IConv Library: yes
LibCharset Library: yes
Dynamic Engine Loading Support: yes
Enca Charset Detection Support: yes
LibRCD Charset Detection Support: yes
LibGUESS Charset Detection Support: no
Multilanguage support with DB4: no
Language autodetection using aspell: yes
Libtranslate support: no
Libtranslate Timed Translate: no
User Interfaces:
GTK User Interface: no
GTK2 User Interface: no
GTK3 User Interface: no
Directories:
RCC Data Directory: /usr/local/lib/rcc/
On Wed, 2013-12-11 at 12:08:54 -0800, wrote:
> Hi
>
>
> Even with make jobs unsafe here the error:
>
>
> libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DLIBRCC_DATA_DIR=\
> "/usr/local/lib/rcc/\" -I/usr/local/include/libxml2 -I/usr/local/include -I/usr
> /local/include -I/usr/local/include/db41 -O2 -pipe -fno-strict-aliasing -std=
> gnu89 -Wall -Wpointer-arith -I/usr/local/include -MT rccenca.lo -MD -MP -MF
> .deps/rccenca.Tpo -c rccenca.c -fPIC -DPIC -o .libs/rccenca.o
> libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DLIBRCC_DATA_DIR=\
> "/usr/local/lib/rcc/\" -I/usr/local/include/libxml2 -I/usr/local/include -I/usr
> /local/include -I/usr/local/include/db41 -O2 -pipe -fno-strict-aliasing -std=
> gnu89 -Wall -Wpointer-arith -I/usr/local/include -MT rccenca.lo -MD -MP -MF
> .deps/rccenca.Tpo -c rccenca.c -o rccenca.o >/dev/null 2>&1
> if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
> -I../src -DLIBRCC_DATA_DIR=\"/usr/local/lib/rcc/\" `xml2-config --cflags`
> -I/usr/local/include -I/usr/local/include/db41 -O2 -pipe -fno-strict-aliasing
> -std=gnu89 -Wall -Wpointer-arith -I/usr/local/include -MT rccdb4.lo -MD -MP -MF
> ".deps/rccdb4.Tpo" -c -o rccdb4.lo rccdb4.c; \
> then mv -f ".deps/rccdb4.Tpo" ".deps/rccdb4.Plo"; else rm -f ".deps/
> rccdb4.Tpo"; exit 1; fi
> libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DLIBRCC_DATA_DIR=\
> "/usr/local/lib/rcc/\" -I/usr/local/include/libxml2 -I/usr/local/include -I/usr
> /local/include -I/usr/local/include/db41 -O2 -pipe -fno-strict-aliasing -std=
> gnu89 -Wall -Wpointer-arith -I/usr/local/include -MT rccdb4.lo -MD -MP -MF
> .deps/rccdb4.Tpo -c rccdb4.c -fPIC -DPIC -o .libs/rccdb4.o
> rccdb4.c: In function 'rccDb4InitContext':
> rccdb4.c:112: error: 'stmp' undeclared (first use in this function)
> rccdb4.c:112: error: (Each undeclared identifier is reported only once
> rccdb4.c:112: error: for each function it appears in.)
> gmake[2]: *** [rccdb4.lo] Errore 1
> gmake[2]: Leaving directory `/usr/ports/devel/librcc/work/librcc-0.2.12/src'
> gmake[1]: *** [all-recursive] Errore 1
> gmake[1]: Leaving directory `/usr/ports/devel/librcc/work/librcc-0.2.12'
> gmake: *** [all] Errore 2
> ===> Compilation failed unexpectedly.
>
> *** [do-build] Error code 1
>
> Stop in /usr/ports/devel/librcc.
> *** [build] Error code 1
>
> Stop in /usr/ports/devel/librcc.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/
> portupgrade20131211-64033-19ww80m env UPGRADE_TOOL=portupgrade UPGRADE_PORT=
> librcc-0.2.9_6 UPGRADE_PORT_VER=0.2.9_6 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> ! devel/librcc (librcc-0.2.9_6) (compiler error)
>
> ------------------------------
>
> Exactly same error on three different systems.
>