This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libtool created import libs broken? was RE: DDD 3.3.8 (i686-pc-cygwin)gets `Segmentation fault


Charles Wilson,

Could you look at the problem discovered in the thread below and give us a
comment?  Thanks.

http://www.cygwin.com/ml/cygwin-xfree/2003-12/msg00053.html

I'm not an autotool expert, but:

On Thu, 4 Dec 2003, Richard Campbell wrote:

> bash-2.05b$ autoreconf --install --force

These are just warnings, so I think this part worked fine.  I guess the
ddd people should clean these up?

> configure.ac:248: warning: AC_CANONICAL_HOST invoked multiple times
> autoconf/specific.m4:363: AC_CYGWIN is expanded from...
> configure.ac:248: the top level
> autoheader: WARNING: Using auxiliary files such as `acconfig.h',
> `config.h.bot'
> autoheader: WARNING: and `config.h.top', to define templates for
> `config.h.in'
> autoheader: WARNING: is deprecated and discouraged.
> autoheader:
> autoheader: WARNING: Using the third argument of `AC_DEFINE' and
> autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template
> without
> autoheader: WARNING: `acconfig.h':
> autoheader:
> autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
> autoheader:             [Define if a function `main' is needed.])
> autoheader:
> autoheader: WARNING: More sophisticated templates can also be produced, see
> the
> autoheader: WARNING: documentation.
>
Here is where we should have stopped, although I don't know how to do
that with autoreconf.  The following are errors from subdirectories that
use older (circa 2.13) autoconf scripts.  autoreconf does not support
mixed versions, I guess?

> configure.in:54: error: possibly undefined macro: AC_PROG_CC_GNU
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.in:65: error: possibly undefined macro: AC_PROG_CC_G
> configure.in:198: error: do not use LIBOBJS directly, use AC_LIBOBJ (see
> section `AC_LIBOBJ vs LIBOBJS'
> configure.in:310: error: possibly undefined macro: AC_PROG_CC_WORKS
> autoreconf: /usr/autotool/devel/bin/autoconf failed with exit status: 1
>
So, if this hasn't left your tree broken, I think it would test what I
wanted.  You should now have libtool 1.5 for the main ddd tree.  I think
it would fix this.

New in 1.5: 2002-04-14; CVS version 1.4e, Libtool team:
* Support auto-import patch to binutils on cygwin for much improved dll
  support.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]