Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 19:36:40 -0500
From:      Erich Zigler <erichz@superhero.org>
To:        alex@acatysmoof.com, "Steve O'Hara-Smith" <steve@sohara.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: ffmpeg alpha port fix (was: Encoding from bktr)
Message-ID:  <200206271936.40577.erichz@superhero.org>
In-Reply-To: <200206272031.g5RKVhU07214@gouda.acatysmoof.com>
References:  <200206272031.g5RKVhU07214@gouda.acatysmoof.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 27 June 2002 03:31 pm, Alex Teslik wrote:

>        What a mess. Between 2 machines, 2 cvs's, and a ton of little
> patches I screwed up and made a bad port skeleton. I don't know where I
> went wrong (I think I forgot to apply Mario's patch to the skeleton I
> ended up tarring), but the only differences were in the port skeleton
> Makefile and the files/Makefile So, everything probably compiled
> correctly since all the other patches were correct, but the versioning
> would be wrong, ffplay would not be installed, and the packing list was
> wrong.
>        Either way, I fixed this mess and double-triple-quadruple checke=
d
> that the new port-skeleton is correct. I'm really sorry for any problem=
s
> for anyone. The new port skeleton replaces the old one at
> http://www.acatysmoof.com/ffmpeg/ffmpeg-skeleton.tar.gz
> The cvs snapshot it downloads and patches remain unchanged.
> MD5 (ffmpeg-skeleton.tar.gz) =3D 9ac43710702a9abaae60a11b6499bf75
> This skeleton does not encorporate your new grab.c yet. I don't have
> time to do that right now, but will get to it this weekend mabye...

When trying to compile now I get this. What am I missing?

Because it looks like Im missing a lib or header of some kind.

gmake[1]: Leaving directory `/usr/ports/graphics/ffmpeg/work/ffmpeg/libav=
'
cc -I/usr/local/include -Wall -I. -I/usr/ports/graphics/ffmpeg/work/ffmpe=
g=20
-I/usr/ports/graphics/ffmpeg/work/ffmpeg/libavcodec=20
-I/usr/ports/graphics/ffmpeg/work/ffmpeg/libav -I/usr/local/include -c -o=
=20
ffmpeg.o ffmpeg.c
ffmpeg.c:34: warning: `INT64_C' redefined
/usr/ports/graphics/ffmpeg/work/ffmpeg/libavcodec/common.h:102: warning: =
this=20
is the location of the previous definition
cc -L/usr/local/lib -o ffmpeg ffmpeg.o -L./libavcodec -L./libav \
              -lavformat -lavcodec -L/usr/local/lib -lm -la52 =20
-L/usr/local/lib -ldjbfft -lm
ffmpeg.o: In function `write_picture':
ffmpeg.o(.text+0x474): undefined reference to `av_malloc'
ffmpeg.o(.text+0x539): undefined reference to `av_malloc'
ffmpeg.o(.text+0x601): undefined reference to `av_malloc'
ffmpeg.o(.text+0x6b9): undefined reference to `av_malloc'
ffmpeg.o(.text+0x74d): undefined reference to `av_malloc'
ffmpeg.o(.text+0x7f3): undefined reference to `av_free'
ffmpeg.o: In function `do_video_out':
ffmpeg.o(.text+0x92a): undefined reference to `av_malloc'
ffmpeg.o(.text+0x97e): undefined reference to `av_malloc'
ffmpeg.o(.text+0x9f8): undefined reference to `av_free'
ffmpeg.o(.text+0xa55): undefined reference to `av_malloc'
ffmpeg.o(.text+0xbfd): undefined reference to `av_free'
ffmpeg.o(.text+0xc0c): undefined reference to `av_free'
ffmpeg.o: In function `av_encode':
ffmpeg.o(.text+0x16d3): undefined reference to `av_malloc'
ffmpeg.o(.text+0x2a37): undefined reference to `av_free'
ffmpeg.o(.text+0x2a73): undefined reference to `av_free'
ffmpeg.o(.text+0x2a88): undefined reference to `av_free'
ffmpeg.o(.text+0x2ae6): undefined reference to `av_free'
ffmpeg.o(.text+0x2b2b): undefined reference to `av_free'
ffmpeg.o(.text+0x2b44): more undefined references to `av_free' follow
ffmpeg.o: In function `opt_bitexact':
ffmpeg.o(.text+0x41df): undefined reference to `avcodec_set_bit_exact'
=2E/libav/libavformat.a(utils.o): In function `av_new_packet':
utils.o(.text+0x3e6): undefined reference to `av_malloc'
=2E/libav/libavformat.a(utils.o): In function `av_free_packet':
utils.o(.text+0x451): undefined reference to `__av_freep'
=2E/libav/libavformat.a(utils.o): In function `fifo_init':
utils.o(.text+0x473): undefined reference to `av_malloc'
=2E/libav/libavformat.a(utils.o): In function `fifo_free':
utils.o(.text+0x4d0): undefined reference to `av_free'
=2E/libav/libavformat.a(utils.o): In function `av_open_input_file':
utils.o(.text+0x9d1): undefined reference to `__av_freep'
utils.o(.text+0x9e0): undefined reference to `av_free'
=2E/libav/libavformat.a(utils.o): In function `av_read_packet':
utils.o(.text+0xa44): undefined reference to `av_free'
=2E/libav/libavformat.a(utils.o): In function `av_close_input_file':
utils.o(.text+0x1066): undefined reference to `av_free'
utils.o(.text+0x10b4): undefined reference to `av_free'
utils.o(.text+0x10fd): undefined reference to `__av_freep'
utils.o(.text+0x110c): undefined reference to `av_free'
=2E/libav/libavformat.a(utils.o): In function `av_write_trailer':
utils.o(.text+0x1258): undefined reference to `__av_freep'
=2E/libav/libavformat.a(mpeg.o): In function `mpeg_mux_init':
mpeg.o(.text+0x81c): undefined reference to `av_free'
=2E/libav/libavformat.a(mpegts.o): In function `mpegts_read_close':
mpegts.o(.text+0x7ce): undefined reference to `av_free'
=2E/libav/libavformat.a(ffm.o): In function `ffm_write_header':
ffm.o(.text+0x6cd): undefined reference to `__av_freep'
=2E/libav/libavformat.a(ffm.o): In function `ffm_write_trailer':
ffm.o(.text+0x93c): undefined reference to `__av_freep'
=2E/libav/libavformat.a(ffm.o): In function `ffm_read_header':
ffm.o(.text+0x11f3): undefined reference to `__av_freep'
ffm.o(.text+0x1202): undefined reference to `av_free'
=2E/libav/libavformat.a(ffm.o): In function `ffm_read_close':
ffm.o(.text+0x18ed): undefined reference to `__av_freep'
=2E/libav/libavformat.a(img.o): In function `img_read_header':
img.o(.text+0x829): undefined reference to `av_free'
img.o(.text+0xc64): undefined reference to `av_free'
=2E/libav/libavformat.a(img.o): In function `img_write_header':
img.o(.text+0x10f8): undefined reference to `av_free'
=2E/libav/libavformat.a(rm.o): In function `rm_write_audio':
rm.o(.text+0xdad): undefined reference to `av_malloc'
rm.o(.text+0xe54): undefined reference to `av_free'
=2E/libav/libavformat.a(rm.o): In function `rm_read_header':
rm.o(.text+0x1a26): undefined reference to `av_free'
=2E/libav/libavformat.a(asf.o): In function `asf_write_header':
asf.o(.text+0xe01): undefined reference to `av_free'
=2E/libav/libavformat.a(asf.o): In function `asf_read_header':
asf.o(.text+0x1f60): undefined reference to `av_free'
asf.o(.text+0x1f6f): undefined reference to `av_free'
=2E/libav/libavformat.a(asf.o)(.text+0x1f84): more undefined references t=
o=20
`av_free' follow
=2E/libav/libavformat.a(avienc.o): In function `avi_write_packet':
avienc.o(.text+0xbd7): undefined reference to `av_malloc'
=2E/libav/libavformat.a(avidec.o): In function `avi_read_header':
avidec.o(.text+0x20d): undefined reference to `av_malloc'
avidec.o(.text+0x63d): undefined reference to `__av_freep'
=2E/libav/libavformat.a(wav.o): In function `wav_write_header':
wav.o(.text+0x402): undefined reference to `av_free'
=2E/libav/libavformat.a(swf.o): In function `swf_write_header':
swf.o(.text+0x5bc): undefined reference to `av_malloc'
swf.o(.text+0xa28): undefined reference to `av_free'
=2E/libav/libavformat.a(swf.o): In function `swf_read_header':
swf.o(.text+0x116c): undefined reference to `av_free'
=2E/libav/libavformat.a(au.o): In function `au_read_header':
au.o(.text+0x320): undefined reference to `av_malloc'
=2E/libav/libavformat.a(gif.o): In function `gif_write_header':
gif.o(.text+0x286): undefined reference to `av_free'
=2E/libav/libavformat.a(mov.o): In function `parse_trak':
mov.o(.text+0x4e2): undefined reference to `av_malloc'
mov.o(.text+0x539): undefined reference to `av_malloc'
=2E/libav/libavformat.a(mov.o): In function `parse_hdlr':
mov.o(.text+0x893): undefined reference to `av_malloc'
mov.o(.text+0x8c7): undefined reference to `av_free'
=2E/libav/libavformat.a(mov.o): In function `parse_stco':
mov.o(.text+0xd3a): undefined reference to `av_malloc'
=2E/libav/libavformat.a(mov.o): In function `parse_stsc':
mov.o(.text+0xea9): undefined reference to `av_malloc'
=2E/libav/libavformat.a(mov.o): In function `parse_stsz':
mov.o(.text+0x1049): undefined reference to `av_malloc'
=2E/libav/libavformat.a(mov.o): In function `mov_free_stream_context':
mov.o(.text+0x10bb): undefined reference to `av_free'
mov.o(.text+0x10cd): undefined reference to `av_free'
mov.o(.text+0x10dc): undefined reference to `av_free'
=2E/libav/libavformat.a(mov.o): In function `mov_read_header':
mov.o(.text+0x1324): undefined reference to `av_free'
=2E/libav/libavformat.a(mov.o): In function `mov_read_close':
mov.o(.text+0x181e): undefined reference to `av_free'
=2E/libav/libavformat.a(jpeg.o)(.text+0x393): more undefined references t=
o=20
`av_free' follow
=2E/libav/libavformat.a(avio.o): In function `url_open':
avio.o(.text+0x166): undefined reference to `av_malloc'
avio.o(.text+0x1d8): undefined reference to `av_free'
=2E/libav/libavformat.a(avio.o): In function `url_close':
avio.o(.text+0x324): undefined reference to `av_free'
=2E/libav/libavformat.a(aviobuf.o): In function `url_fdopen':
aviobuf.o(.text+0xbe7): undefined reference to `av_malloc'
aviobuf.o(.text+0xc3f): undefined reference to `av_free'
=2E/libav/libavformat.a(aviobuf.o): In function `url_setbufsize':
aviobuf.o(.text+0xc83): undefined reference to `av_malloc'
aviobuf.o(.text+0xca6): undefined reference to `av_free'
=2E/libav/libavformat.a(aviobuf.o): In function `url_fclose':
aviobuf.o(.text+0xd7d): undefined reference to `av_free'
=2E/libav/libavformat.a(audio.o): In function `audio_read_header':
audio.o(.text+0x4cc): undefined reference to `av_free'
=2E/libav/libavformat.a(udp.o): In function `udp_open':
udp.o(.text+0x246): undefined reference to `av_malloc'
=2E/libav/libavformat.a(http.o): In function `http_open':
http.o(.text+0x4b): undefined reference to `av_malloc'
http.o(.text+0x32e): undefined reference to `av_free'
gmake: *** [ffmpeg] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ffmpeg.
*** Error code 1


--=20
The only substitute for good manners is fast reflexes.


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




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