having problems porting newlib

Programming, for all ages and all languages.
Post Reply
kr651129
Posts: 18
Joined: Fri Dec 02, 2011 11:02 pm

having problems porting newlib

Post 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?
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: having problems porting newlib

Post by Solar »

What are your versions of autoconf, automake, libtool, and m4, respectively?
Every good solution is obvious once you've found it.
kr651129
Posts: 18
Joined: Fri Dec 02, 2011 11:02 pm

Re: having problems porting newlib

Post 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
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: having problems porting newlib

Post 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.
Every good solution is obvious once you've found it.
kr651129
Posts: 18
Joined: Fri Dec 02, 2011 11:02 pm

Re: having problems porting newlib

Post 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..
Post Reply