New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15547 (closed defect: fixed)

Opened 13 months ago

Last modified 2 months ago

cannot compile transcode

Reported by: laurent.perron@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: cremes@…, liontooth@…, stephen.ng@…, bill-macports.org@…
Port:

Description

sudo port install transcode +a52dev +x264 +xvid

lead to the following error:

/usr/bin/gcc-4.0 -I/opt/local/include -I/opt/local/include -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -o tcdecode tcdecode-tcdecode.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-mpg123.o tcdecode-decode_a52.o tcdecode-decode_dv.o tcdecode-decode_lavc.o tcdecode-decode_lzo.o tcdecode-decode_mov.o tcdecode-decode_mp3.o tcdecode-decode_mpeg2.o tcdecode-decode_ogg.o tcdecode-decode_yuv.o -L/opt/local/lib -lavcodec /opt/local/lib/libmp3lame.dylib /opt/local/lib/libmpeg2.dylib ../libtcvideo/.libs/libtcvideo.a ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl Undefined symbols:

"_mpeg2convert_rgb24", referenced from:

_mpeg2convert_rgb24$non_lazy_ptr in tcdecode-decode_mpeg2.o

I am running leopard using xcode 3.0

Change History

Changed 13 months ago by jmr@…

  • cc cremes@…, liontooth@… added
  • milestone set to Port Bugs

Cc maintainers.

Changed 12 months ago by peter.salas@…

I don't know how to go about fixing the port, but I was able to get the file in question to compile by adding "-lmpeg2convert" to the end of the compiler flags. Presumably a small change to the Makefile will solve it.

Changed 12 months ago by stephen.ng@…

  • cc stephen.ng@… added

Cc Me!

Changed 11 months ago by bill-macports.org@…

libmpeg2convert's ld flags get picked up by pkg-config and libmpeg2convert is required to build. This port doesn't depend on pkgconfig and if configure picks up a non-ports pkg-config, that one won't know about the ports configs directory, so it never gets added to LIBMPEG2_EXTRA_FLAGS and thus never included in LIBMPEG2_FLAGS. This patch fixes the problem on a Mini/PPC, 10.4.11:

--- /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/transcode/Portfile~	2008-08-10 16:13:02.000000000 -0400
+++ /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/transcode/Portfile	2008-08-10 16:13:30.000000000 -0400
@@ -37,6 +37,7 @@
 depends_lib     port:automake \
                 port:autoconf \
                 port:libtool \
+		port:pkgconfig \
                 port:ffmpeg \
                 port:libmpeg2 \
                 port:libdvdread \

I suspect it wouldn't be OS or architecture dependent.

Changed 11 months ago by bill-macports.org@…

  • cc bill-macports.org@… added

Cc Me!

Changed 10 months ago by ryandesign@…

  • owner changed from macports-tickets@… to ryandesign@…
  • status changed from new to assigned

Changed 10 months ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed

A dependency on pkgconfig was added in r39706. Thanks.

Changed 2 months ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.