[kde-solaris] KDEPIM 3.1.1 Build error
Ian Reinhart Geiser
kde-solaris@mail.kde.org
Wed Apr 2 15:48:04 2003
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is a bug in KDE, all bison/yacc generated files are to be in the sourc=
e=20
dist. Im bothering the maintainer now, and working out a patch.
Cheers
-ian reinhart geiser
On Tuesday 01 April 2003 06:47 pm, Lars Tunkrans wrote:
> Brian Foddy wrote:
> > Receiving the following...
> >
> > /bin/bash ../../libtool --silent --mode=3Dcompile gcc -DHAVE_CONFIG_H -=
I.
> > -I. -I../.. -I../.. -I../../src -I../../src -I../../src/libical
> > -I../../src/libical -I./libical -O2 -mcpu=3Dultrasparc -c -o
> > icalsslexer.lo `test -f 'icalsslexer.c' || echo './'`icalsslexer.c
> > icalsslexer.l: In function `sslex':
> > icalsslexer.l:94: `sslval' undeclared (first use in this function)
> > icalsslexer.l:94: (Each undeclared identifier is reported only once
> > icalsslexer.l:94: for each function it appears in.)
> > make[5]: *** [icalsslexer.lo] Error 1
> > make[5]: Leaving directory
> > `/opt/local/build/kde311/kdepim-3.1.1/libical/src/libicalss'
> >
> > Using gcc 3.2.2, Solaris 2.8. I've upgraded to Flex 2.5.27 but no
> > difference.
> > I don't know the lex language to try to diag the problem. Any ideas?
>
> I have no Problems at all on Solaris 9 vith this.
> here is the compile log.
>
>
> # gmake
> flex -Pss `test -f icalsslexer.l || echo './'`icalsslexer.l
> sed '/^#/ s|lex.ss\.c|icalsslexer.c|' lex.ss.c >icalsslexer.c
> rm -f lex.ss.c
>
> /bin/bash ../../libtool --silent --mode=3Dcompile gcc -DHAVE_CONFIG_H -I.=
-I.
> -I../.. -I../.. -I../../src -I../../src -I../../src/libical
> -I../../src/libical -I./libical -I/usr/sfw/include -I/opt/sfw/include
> -I/usr/local/include -I/usr/local/include/libmal -O3 -mcpu=3Dultrasparc
> -mtune=3Dultrasparc -Wa,-xarch=3Dv8plusa -c -o icalsslexer.lo `test -f
> 'icalsslexer.c' || echo './'`icalsslexer.c
>
> /bin/bash ../../libtool --silent --mode=3Dlink gcc -O3 -mcpu=3Dultrasparc
> -mtune=3Dultrasparc -Wa,-xarch=3Dv8plusa -L/usr/sfw/lib -L/opt/sfw/lib
> -L/usr/local/lib -o libicalss.la -version-info 0:0:0 icalclassify.lo
> icalgauge.lo icaldirset.lo icalfileset.lo icalset.lo icalssyacc.lo
> icalsslexer.lo icalspanlist.lo icalmessage.lo icalcstpclient.lo
> icalcstpserver.lo icalcstp.lo libtool: link: warning: `-version-info' is
> ignored for convenience libraries #
>
> The header file icalssyacc.h that defines "sslval" is produced from a
> YACC sourcefile "icalssyacc.y" Your problem *could* be that you do not
> have GNU Bison installed and are processing the YACC file with the
> original yacc(1) utility. If this is the case you need to get Bison from
> your nearest GNU mirror.
>
> Tis is what happends if I delete the YACC outputfiles and re-make.
>
> # rm icalssyacc.c icalssyacc.h icalssyacc.lo icalssyacc.o
> icalssyacc.output # gmake
> bison -y -d -v -p ss `test -f 'icalssyacc.y' || echo './'`icalssyacc.y
> sed '/^#/ s|y\.tab\.c|icalssyacc.c|' y.tab.c >icalssyacc.c
> rm -f y.tab.c
> if test -f y.tab.h; then \
> to=3D`echo "icalssyacc_H" | sed \
> -e
> 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e
> 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
> sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >icalssyacc.ht; \
> rm -f y.tab.h; \
> if cmp -s icalssyacc.ht icalssyacc.h; then \
> rm -f icalssyacc.ht ;\
> else \
> mv icalssyacc.ht icalssyacc.h; \
> fi; \
> fi
> if test -f y.output; then \
> mv y.output icalssyacc.output; \
> fi
> /bin/bash ../../libtool --silent --mode=3Dcompile gcc -DHAVE_CONFIG_H -I.=
-I.
> -I../.. -I../.. -I../../src -I../../src -I../../src/libical
> -I../../src/libical -I./libical -I/usr/sfw/include -I/opt/sfw/include
> -I/usr/local/include -I/usr/local/include/libmal -O3 -mcpu=3Dultrasparc
> -mtune=3Dultrasparc -Wa,-xarch=3Dv8plusa -c -o icalssyacc.lo `test -f
> 'icalssyacc.c' || echo './'`icalssyacc.c flex -Pss `test -f icalsslexer.l
> || echo './'`icalsslexer.l
> sed '/^#/ s|lex.ss\.c|icalsslexer.c|' lex.ss.c >icalsslexer.c
> rm -f lex.ss.c
> /bin/bash ../../libtool --silent --mode=3Dcompile gcc -DHAVE_CONFIG_H -I.=
-I.
> -I../.. -I../.. -I../../src -I../../src -I../../src/libical
> -I../../src/libical -I./libical -I/usr/sfw/include -I/opt/sfw/include
> -I/usr/local/include -I/usr/local/include/libmal -O3 -mcpu=3Dultrasparc
> -mtune=3Dultrasparc -Wa,-xarch=3Dv8plusa -c -o icalsslexer.lo `test -f
> 'icalsslexer.c' || echo './'`icalsslexer.c /bin/bash ../../libtool --sile=
nt
> --mode=3Dlink gcc -O3 -mcpu=3Dultrasparc -mtune=3Dultrasparc -Wa,-xarch=
=3Dv8plusa=20
> -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/lib -o libicalss.la=20
> -version-info 0:0:0 icalclassify.lo icalgauge.lo icaldirset.lo
> icalfileset.lo icalset.lo icalssyacc.lo icalsslexer.lo icalspanlist.lo
> icalmessage.lo icalcstpclient.lo icalcstpserver.lo icalcstp.lo libtool:
> link: warning: `-version-info' is ignored for convenience libraries cat
> ./icalgauge.h ./icalset.h ./icalfileset.h ./icaldirset.h ./icalcalendar.h
> ./icalclassify.h ./icalspanlist.h ./icalmessage.h ./icalcstp.h
> ./icalcstpclient.h ./icalcstpserver.h | egrep -v "#include.*\"ical" \
>
> | egrep -v "#include.*\"pvl\.h\"" > icalss.h
>
> //Lars
=2D --=20
=2D --:Ian Reinhart Geiser <geiseri@yahoo.com>
=2D --:Public Key: http://geiseri.myip.org:8080/publickey.txt
=2D --:Jabber: geiseri@geiseri.myip.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+iuBoPy62TRm8dvgRAj2MAKDpiSl8gF8RZFBD8Ai/Inyl15k1AQCffR6X
IDlAcf6IgR3s0ImFcNl+ok4=3D
=3DIdON
=2D----END PGP SIGNATURE-----