On Fri, 2007-10-05 at 06:02 +1000, andrew clarke wrote:

> On Thu, Oct 04, 2007 at 01:51:03PM -0600, James wrote:
> 
> > > > /usr/local/include/log.h:112: error: syntax error before "A_"
> > > 
> > > I'm curious which port installed log.h. I don't have it on my system and 
> > > it 
> > > wouldn't surprise me if a local log.h conflicts with this log.h.
> > > 
> > > Could you show output of:
> > > grep '^include/log.h' /var/db/pkg/*/+CONTENTS
> > 
> > 
> > 
> > [EMAIL PROTECTED] ~]$ su
> > Password:
> > secretariat# grep '^include/log.h' /var/db/pkg/*/+CONTENTS
> > secretariat# 
> 
> I don't have a log.h:
> 
> $ uname -a
> FreeBSD blizzard.dancer 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Sep 19 
> 21:56:10 EST 2007     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DELLGX150  i386
> $ cat /usr/local/include/log.h
> cat: /usr/local/include/log.h: No such file or directory
> 
> I would do:
> 
> mv /usr/local/include/log.h /usr/local/include/log.h.backup
> 
> And try rebuilding ffmpeg again.  While it rebuilds, try to find out
> where log.h came from. :)
> 
> RegardsAndrew



log.h came from a botched hand install of the torque PBS batching
system.


I'm further on now, I had a few different other libraries that
interfered from the same install. Now I get here:

<------------------------snip--------------------------->

ts/multimedia/ffmpeg/work/ffmpeg-2007-09-14"/libavutil -O2
-fno-strict-aliasing -pipe -O2 -I/usr/local/include/vorbis
-I/usr/local/include -pthread -fomit-frame-pointer
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls  -c -o matroskaenc.o matroskaenc.c
matroskaenc.c: In function `mkv_write_header':
matroskaenc.c:620: error: `av_md5_size' undeclared (first use in this
function)
matroskaenc.c:620: error: (Each undeclared identifier is reported only
once
matroskaenc.c:620: error: for each function it appears in.)
matroskaenc.c:621: warning: implicit declaration of function
`av_md5_init'
matroskaenc.c: In function `mkv_write_packet':
matroskaenc.c:740: warning: implicit declaration of function
`av_md5_update'
matroskaenc.c: In function `mkv_write_trailer':
matroskaenc.c:789: warning: implicit declaration of function
`av_md5_final'
gmake[1]: *** [matroskaenc.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-09-14/libavformat'
gmake: *** [lib] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/ffmpeg.
secretariat# 


<----------------------/snip-------------------->

I followed that with:

secretariat# /etc/periodic/weekly/310.locate 

Rebuilding locate database:
secretariat# locate matroskaenc.c
secretariat# 



Found nothing. Any further ideas?


Thanks for your help so far!


James

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to