Page 1 of 1

having problems porting newlib

Posted: Thu Mar 01, 2012 11:50 am
by kr651129
I'm porting newlib per the wiki and I'm running into an error that I can't figure out.

After I run autoreconf in newlib/libc/sys/myos I get the following error

Code: Select all

configure:2323: error: possibly undefined macro: _AM_DEPENDENCIES
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Has anyone else had this problem?

Re: having problems porting newlib

Posted: Thu Mar 01, 2012 11:59 am
by Solar
What are your versions of autoconf, automake, libtool, and m4, respectively?

Re: having problems porting newlib

Posted: Thu Mar 01, 2012 12:06 pm
by kr651129

Code: Select all

$ autoconf --version
autoconf (GNU Autoconf) 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

$ automake --version
Use of "do" to call subroutines is deprecated at /usr/local/bin/automake-1.4 line 986.
Use of "do" to call subroutines is deprecated at /usr/local/bin/automake-1.4 line 1147.
automake (GNU automake) 1.4-p6

Copyright (C) 1999, 2001 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.

Written by Tom Tromey <[email protected]>

$ libtool --version
libtool (GNU libtool) 2.4
Written by Gordon Matzigkeit <[email protected]>, 1996

Copyright (C) 2010 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.
m4-1.4.16,1

Re: having problems porting newlib

Posted: Thu Mar 01, 2012 12:55 pm
by Solar
Does anything in there strike you as odd?

Like this perhaps?
Copyright (C) 1999, 2001 Free Software Foundation, Inc.
Your automake is ancient; you might want to upgrade.

Re: having problems porting newlib

Posted: Mon Mar 05, 2012 10:00 pm
by kr651129
Sorry for the slow reply, I've been out of town. I know that my version print outs aren't GNU but I am using the wrapper ports for those tools so they should be working for me..