libslax build on Cygwin x64

35 views
Skip to first unread message

Scott Ware

unread,
Aug 2, 2013, 12:28:51 PM8/2/13
to lib...@googlegroups.com
Hello,

I'm having some issues building on Cygwin under the recent x64 release. I have GCC 4.8.1 installed. Configure builds just fine, but when I run "make," I get the following error:

make  all-recursive
make[1]: Entering directory `/cygdrive/c/Users/Scott/Downloads/libslax-0.16.16'
Making all in libslax
make[2]: Entering directory `/cygdrive/c/Users/Scott/Downloads/libslax-0.16.16/libslax'
  BUILD  slaxparser-xpl.y
  BUILD  slaxparser-out.y
  BISON  slaxparser.c
Makefile:818: recipe for target `slaxparser.c' failed
make[2]: *** [slaxparser.c] Error 141
make[2]: Leaving directory `/cygdrive/c/Users/Scott/Downloads/libslax-0.16.16/libslax'
Makefile:528: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Scott/Downloads/libslax-0.16.16'
Makefile:370: recipe for target `all' failed
make: *** [all] Error 2

Has anyone had this issue before?

Thanks in advance!

Phil Shafer

unread,
Aug 2, 2013, 2:24:57 PM8/2/13
to lib...@googlegroups.com
On Aug 2, 2013, at 12:28 PM, Scott Ware wrote:
  BISON  slaxparser.c
Makefile:818: recipe for target `slaxparser.c' failed

That's a new one for me.  Can you send the output of:

cd libslax
make clean
make -n slaxparser.c
make V=1 slaxparser.o

I'll attach my output for comparison.

Thanks,
 Phil

----------------

Bock [build/libslax]% make -n slaxparser.c
echo "  BUILD " slaxparser-xpl.y;sed 's/xp_/xpl_/g' < ../../libslax/slaxparser-xp.y > slaxparser-xpl.y
echo "  BUILD " slaxparser-out.y;cat ../../libslax/slaxparser.y ../../libslax/slaxparser-xp.y slaxparser-xpl.y ../../libslax/slaxparser-tail.y > slaxparser-out.y
echo "  BISON " slaxparser.c;/opt/local/bin/bison -kvd -b slaxparser -o slaxparser.c slaxparser-out.y
/bin/mv slaxparser.c slaxparser.c.old
/opt/local/bin/gsed -e 's:int yyparse (void);::' -e 's/yyparse (void \*YYPARSE_PARAM)/slaxParse (slax_data_t *slax_data)/' -e 's:yyvs = yyvsa;:yyvs = yyvsa; bzero(yyvsa, sizeof(yyvsa));:' < slaxparser.c.old  > slaxparser.c
/bin/rm slaxparser.c.old
Bock [build/libslax]% make V=1 slaxparser.o
sed 's/xp_/xpl_/g' < ../../libslax/slaxparser-xp.y > slaxparser-xpl.y
cat ../../libslax/slaxparser.y ../../libslax/slaxparser-xp.y slaxparser-xpl.y ../../libslax/slaxparser-tail.y > slaxparser-out.y
/opt/local/bin/bison -kvd -b slaxparser -o slaxparser.c slaxparser-out.y
slaxparser-out.y: conflicts: 25 shift/reduce, 1 reduce/reduce
gcc -DHAVE_CONFIG_H -I. -I../../libslax -I..    -I../.. -I/Users/phil/work/root/include -I/Users/phil/work/root/include/libxml2  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wformat -Wimplicit -Wmissing-declarations -Wnested-externs -Wparentheses -Wreturn-type -Wshadow -Wswitch -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings -fno-inline-functions-called-once -DLIBSLAX_XMLSOFT_NEED_PRIVATE -DSLAX_EXTDIR=\"/Users/phil/work/root/lib/slax/extensions\" -g -O2 -MT slaxparser.o -MD -MP -MF .deps/slaxparser.Tpo -c -o slaxparser.o slaxparser.c
mv -f .deps/slaxparser.Tpo .deps/slaxparser.Po

Phil Shafer

unread,
Aug 2, 2013, 2:25:48 PM8/2/13
to lib...@googlegroups.com
On Aug 2, 2013, at 12:28 PM, Scott Ware wrote:
Makefile:818: recipe for target `slaxparser.c' failed

Also could you send:

gmake --version

Thanks,
 Phil


Scott Ware

unread,
Aug 2, 2013, 2:56:34 PM8/2/13
to lib...@googlegroups.com
Here's the output you requested:

"make clean"

test -z "slaxparser.h slaxparser.c slaxparser.output  slaxparser-out.y slaxparser-xpl.y" || rm -f slaxparser.h slaxparser.c slaxparser.output  slaxparser-out.y slaxparser-xpl.y
test -z "libslax.la" || rm -f libslax.la
rm -f ./so_locations
rm -rf .libs _libs
rm -f *.o
rm -f *.lo

"make -n slaxparser.c"

echo "  BUILD " slaxparser-xpl.y;sed 's/xp_/xpl_/g' < ./slaxparser-xp.y > slaxparser-xpl.y
echo "  BUILD " slaxparser-out.y;cat ./slaxparser.y  ./slaxparser-xp.y  slaxparser-xpl.y  ./slaxparser-tail.y > slaxparser-out.y
echo "  BISON " slaxparser.c;/usr/bin/bison -kvd -b slaxparser -o slaxparser.c slaxparser-out.y
/usr/bin/mv slaxparser.c slaxparser.c.old
/usr/bin/sed -e 's:int yyparse (void);::'  -e 's/yyparse (void \*YYPARSE_PARAM)/slaxParse (slax_data_t *slax_data)/'  -e 's:yyvs = yyvsa;:yyvs = yyvsa; bzero(yyvsa, sizeof(yyvsa));:' < slaxparser.c.old  > slaxparser.c
/usr/bin/rm slaxparser.c.old

"make V=1 slaxparser.o"

sed 's/xp_/xpl_/g' < ./slaxparser-xp.y > slaxparser-xpl.y
cat ./slaxparser.y  ./slaxparser-xp.y  slaxparser-xpl.y  ./slaxparser-tail.y > slaxparser-out.y
/usr/bin/bison -kvd -b slaxparser -o slaxparser.c slaxparser-out.y
Makefile:818: recipe for target `slaxparser.c' failed
make: *** [slaxparser.c] Broken pipe
Reply all
Reply to author
Forward
0 new messages