m4-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool?


From: Gary V. Vaughan
Subject: Re: Libtool?
Date: Thu, 26 Jun 2003 20:28:20 +0100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312

Akim Demaille wrote:
Thanks!

But

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -I../src -O2 -pipe -MT 
ltdl.lo -MD -MP -MF .deps/ltdl.Tpo -c ltdl.c  -fPIC -o .libs/ltdl.o
ltdl.c:2168: warning: `struct direct' declared inside parameter list
ltdl.c:2168: warning: its scope is only this definition or declaration, which 
is probably not what you want
ltdl.c: In function `lt_argz_insertdir':
[[snip]]
> ltdl.c: In function `list_files_by_dir':
ltdl.c:3635: error: `DIR' undeclared (first use in this function)

Did you sort this out yet?

It means the ltdl.m4 you are pulling in to aclocal.m4 does not match the ltdl.c you are using. Specifically you should have (among other things) 'AC_CHECK_FUNCS([closedir opendir readdir])' in AC_LIB_LTDL.

Cheers,
        Gary.
--
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]