Bugs item #1847739, was opened at 2007-12-10 10:22
Message generated for change (Comment added) made by stmane
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1847739&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: buildtools CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Manuel Mayr (mayrm)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: bootstrap fails on KUbuntu (automake 1.10)
Initial Comment:
Hi all,
with my new Kubuntu (gutsy gibbon 2.6.22-14-generic) bootstrap fails with the
following messages:
./bootstrap
configure.ac:6: installing `./missing'
configure.ac:6: installing `./install-sh'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
configure.ac:6: installing `./missing'
configure.ac:6: installing `./install-sh'
rules.mk:23: `%'-style pattern rules are a GNU make extension
Makefile.am:129: `rules.mk' included from here
rules.mk:26: `%'-style pattern rules are a GNU make extension
Makefile.am:129: `rules.mk' included from here
rules.mk:29: `%'-style pattern rules are a GNU make extension
Makefile.am:129: `rules.mk' included from here
rules.mk:32: `%'-style pattern rules are a GNU make extension
Makefile.am:129: `rules.mk' included from here
...
Ok, that's simply a problem with gnu make extensions
but since KUbuntu is a gnu-based system, gnutools are
active by default.
$ aclocal --version
aclocal (GNU automake) 1.10
Written by Tom Tromey <[EMAIL PROTECTED]>
and Alexandre Duret-Lutz <[EMAIL PROTECTED]>.
$ autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
$ automake --version
automake (GNU automake) 1.10
Written by Tom Tromey <[EMAIL PROTECTED]>
and Alexandre Duret-Lutz <[EMAIL PROTECTED]>.
$ gcc --version
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ --version
g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
A known workaround is to set the -Wno-portability flag with each automake in
bootstrap, mel/bootstrap, Mx/bootstrap, burg/bootstrap.
After this bootstrap runs through without complaining,
but now it fails with make in "mel":
make[3]: Entering directory `/home/mayrm/cvsroot/buildtools/mel'
g++ -g -o mel any_arg.o atom_arg.o atom.o atomops.o bat_arg.o builtin.o
command.o debug.o depend.o dependency.o epilogue.o FileInfo.o glue.o html.o
iterator.o link.o ListIterator.o mel.o mel.tab.o mel.yy.o mil.o module.o
object.o operator.o ops.o prelude.o proto.o symbol.o symtable.o type_arg.o
use.o var_arg.o
mel.yy.o: In function `main':
/home/mayrm/cvsroot/buildtools/mel/mel.yy.cc:2: multiple definition of `main'
mel.o:/home/mayrm/cvsroot/buildtools/mel/mel.mx:443: first defined here
mel.o: In function `main':
mel.cc:(.text+0x7cf): undefined reference to `yyin'
mel.tab.o: In function `semerror()':
/home/mayrm/cvsroot/buildtools/mel/mel.yy:473: undefined reference to
`melget_lineno()'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:474: undefined reference to
`melget_lineno()'
mel.tab.o: In function `yyparse()':
/home/mayrm/cvsroot/buildtools/mel/y.tab.c:1508: undefined reference to
`yylex()'
mel.tab.o: In function `yyparse()':
/home/mayrm/cvsroot/buildtools/mel/mel.yy:61: undefined reference to
`melset_lineno(int)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:62: undefined reference to `yyin'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:69: undefined reference to
`melset_lineno(int)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:72: undefined reference to
`close_and_change(void*, _IO_FILE*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:83: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:86: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:94: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:132: undefined reference to
`get_cur_buffer()'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:133: undefined reference to
`melget_lineno()'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:137: undefined reference to
`new_buffer(_IO_FILE*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:141: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:189: undefined reference to
`get_signature(char*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:190: undefined reference to `script'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:248: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:307: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:315: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:323: undefined reference to
`mel_yyerror(char const*)'
/home/mayrm/cvsroot/buildtools/mel/mel.yy:331: undefined reference to
`mel_yyerror(char const*)'
mel.tab.o:/home/mayrm/cvsroot/buildtools/mel/mel.yy:397: more undefined
references to `mel_yyerror(char const*)' follow
collect2: ld returned 1 exit status
make[3]: *** [mel] Error 1
make[3]: Leaving directory `/home/mayrm/cvsroot/buildtools/mel'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mayrm/cvsroot/buildtools/mel'
make[1]: *** [all-recursive] Error 1
Would be nice if you have a look at it.
Best regards,
Manuel
----------------------------------------------------------------------
>Comment By: Stefan Manegold (stmane)
Date: 2007-12-10 13:30
Message:
Logged In: YES
user_id=572415
Originator: NO
compilation work fine with similarly "up-to-date" tools on Fedora 8 &
Debian 4
$ libtool --version
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.456 2007/06/24 02:25:32)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ automake --version
automake (GNU automake) 1.10
Written by Tom Tromey <[EMAIL PROTECTED]>
and Alexandre Duret-Lutz <[EMAIL PROTECTED]>.
Copyright 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ autoconf --version
autoconf (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms
of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
$ gcc --version
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ flex --version
flex 2.5.33
----------------------------------------------------------------------
Comment By: Manuel Mayr (mayrm)
Date: 2007-12-10 10:41
Message:
Logged In: YES
user_id=1629542
Originator: YES
I currently run bison with the following version
$ bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2007-12-10 10:27
Message:
Logged In: YES
user_id=963970
Originator: NO
> rules.mk:23: `%'-style pattern rules are a GNU make extension
> Makefile.am:129: `rules.mk' included from here
those are warnings, not errors.
> mel.yy.o: In function `main':
> /home/mayrm/cvsroot/buildtools/mel/mel.yy.cc:2: multiple definition of
> `main'
> mel.o:/home/mayrm/cvsroot/buildtools/mel/mel.mx:443: first defined here
> mel.o: In function `main':
> mel.cc:(.text+0x7cf): undefined reference to `yyin'
> mel.tab.o: In function `semerror()':
what bison/yacc do you have installed?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1847739&group_id=56967
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs