On Mon, Oct 01, 2001 at 01:31:47PM +0200, Stefan wrote:
> Hi
>
> I've compiled yesterdays cvs snapshot (30.09.2001) and now I'am trying to compile
>two apps that rely on avifile. They are transcode and vcr. Both get stuck on a
>declaration in utils.h. Maybe you can give me some advice what to do (or which
>information to provide if this is a real bug):
>
> transcode-0.5.0-pre5 output:
>
> [...]
> Making all in export
> make[2]: Entering directory `/home/sm/video/transcode-0.5.0-pre5/export'
> /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./ -I../src
>-I../avilib -I/usr/local/include/avifile -I../encore2 -I../libmp3lame -I../libac3
>-g -O2 -c export_af6.cpp
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./ -I../src -I../avilib
>-I/usr/local/include/avifile -I../encore2 -I../libmp3lame -I../libac3 -g -O2 -c
>export_af6.cpp -fPIC -DPIC -o export_af6.o
> In file included from /usr/local/include/avifile/audiodecoder.h:16,
> from /usr/local/include/avifile/creators.h:9,
> from export_af6.cpp:35:
> /usr/local/include/avifile/utils.h:53: declaration of C function `void
>unsetenv(const char *)' conflicts with
> /usr/include/stdlib.h:608: previous declaration `int unsetenv(const char *)' here
Well I know this problem - but for now I'm not sure how to solve it.
it looks like both - transcode & vcr are autoconf based and
so all three programs are using -DHAVE_CONFIG_H - but avifile
is checking SETENV & UNSETENV - and they are defined in its config.h.
But there is no such test in transcode & vcr
I think we need to change this to something like
#ifdef NEED_SETENV && #ifdef NEED_UNSETENV in future
if you need to compile it right now - remove the problematic lines
from utils.h
(the lines 47-54)
this should solve your problem for this moment
--
.''`. Which fundamental human right do you want to give up today?
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `' Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
`- Resistance is futile. You all will be packaged
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile