Skip site navigation (1)Skip section navigation (2)
Date:      28 Jan 2003 17:06:22 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: gstreamer-0.5.2 has been failed.. (cutter.c)
Message-ID:  <1043791582.320.143.camel@gyros>
In-Reply-To: <F277gC2DWpmy20h08xW00004e05@hotmail.com>
References:  <F277gC2DWpmy20h08xW00004e05@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2003-01-28 at 16:38, Mezz bsdforums.org wrote:
> Here's error what I am getting..
> 
> ==========================================
> arch=pentium3 -c -o cutter-cutter.o `test -f 'cutter.c' || echo 
> './'`cutter.c
> cc1: warnings being treated as errors
> cutter.c: In function `cut_start':
> cutter.c:48: warning: passing arg 1 of `time' from incompatible pointer type
> cutter.c:49: warning: passing arg 1 of `localtime' from incompatible pointer 
> typ
> e
> gmake[3]: *** [cutter-cutter.o] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/multimedia/gstreamer/work/gstreamer-0.5.
> 2/examples/cutter'
> gmake[2]: *** [all-recursive] Error 1
> ==========================================
> ***work/gstreamer-0.5.2/examples/cutter/cutter.c
> 
> It looks like it needs to change from time.h to sys/time.h and add something 
> like..
> 
> struct timeval tv;
> time_t seconds;

No, you don't need all this.  Changing long seconds to time_t seconds
will get rid of the warnings, but a bigger question is where is -Werror
coming from?  That isn't the default for building this example.  If you
have it set in your make.conf, I'd remove it.

Joe

> 
> I am just guessing, so I will learn from your patch when you get it fix. 
> Hope, I am close thought. :-)
> 
> Cheers,
> Mezz
> 
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1043791582.320.143.camel>