Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Mac OS X Compile, ld: can't locate file for: -ldvbmpegtools
Thanks Marcus, that got me much further along.
Attempting to compile libdvbmpeg at first gave me parse errors in in.h,
I put #include <sys/types.h> before #include <netinet/in.h> in
transform.h which seems to have solved that problem, now back in
dvd-mpegtools running make clean followed by make generates:
ld: table of contents for archive: ..//libdvbmpegtools.a is out of date;
rerun ranlib(1) (can't load from it)
make: *** [dvb-mpegtools_main] Error 1
So I ran ranlib, but now it is asking for dvb
ld: can't locate file for: -ldvb
I don't think I will be able to ever get dvblib to compile, I am assumning
that portion deals with dvb drivers. Any suggestions?
Paul
g++ -M audiofilter.c mainc.c dvbaudio.cc main.cc bits.cpp buffer.cpp
domplex.cpp inits.cpp inptstrm.cpp interact.cpp mplex.cpp multplex.cpp
systems.cpp timecode.cpp -I. -I../include -I../../include> .depend
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include main.cc
g++ main.o -L../ -ldvbmpegtools -o dvb-mpegtools_main
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include buffer.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include inits.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include interact.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include systems.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include domplex.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include inptstrm.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include multplex.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include timecode.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include mplex.cpp
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include bits.cpp
g++ buffer.o inits.o interact.o systems.o domplex.o inptstrm.o multplex.o
timecode.o mplex.o bits.o -L../ -ldvbmpegtools -o dvb-mplex
for f in streamtype ts2pes ps2vid pes2aud_es pes2aud pes2vid_es pes2vid
tspids pes2ts analyze pes_demux es_demux ts_demux ts_es_demux pesplot
pes2ts2 pes_repack split_mpg cut_mpg ts2ps ts2es insert_pat_pmt get_http
extract_pes extract_pes_payload change_aspect_1_1 change_aspect_4_3
change_aspect_16_9 change_aspect_221_1; do\
ln -sf dvb-mpegtools $f ;\
done
cc -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include audiofilter.c
g++ audiofilter.o -o audiofilter
g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -I. -I../include -I../../include dvbaudio.cc
g++ dvbaudio.o -L../ -ldvbmpegtools -ldvb -o dvbaudio
ld: can't locate file for: -ldvb
make: *** [dvbaudio] Error 1
On Mon, 29 Dec 2003, Marcus Metzler wrote:
> St.Denis writes:
> > Hello,
> > I have some MPEG2 pes streams that I'm trying to mux to transport streams
> > to export to a DVHS device.
> > pes2ts2 seems like the right tool for the job, but I'm on a Mac OS X 10.3 and I have been trying to compile the dvb-mpegtools
> > portion of libdvb without success.
> > Here is the output from "make"
> >
> > Makefile:80: .depend: No such file or directory
> > g++ -M audiofilter.c mainc.c dvbaudio.cc main.cc bits.cpp buffer.cpp
> > domplex.cpp inits.cpp inptstrm.cpp interact.cpp mplex.cpp multplex.cpp
> > systems.cpp timecode.cpp -I. -I../include -I../../include> .depend
> > g++ -c -O2 -Wall -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -D_LARGEFILE64_SOURCE -I. -I../include -I../../include main.cc
> > g++ main.o -L../ -ldvbmpegtools -o dvb-mpegtools_main
> > ld: can't locate file for: -ldvbmpegtools
> > make: *** [dvb-mpegtools_main] Error 1
> >
> > I know this is a linux tool, but I do not need the portion specific to the
> > tuner cards, can anyone please help me?
> >
> The lib should be in the parent directory as indicated by the
> -L../. Did you make "make" in the main directory or if you don't want
> the libdvb stuff. Change to libdvbmpeg. Make "make" and copy
> libdvbmpeg.a to the main directory.
>
> Marcus
>
> --
> /--------------------------------------------------------------------\
> | Dr. Marcus O.C. Metzler | |
> | mocm@metzlerbros.de | http://www.metzlerbros.de/ |
> \--------------------------------------------------------------------/
> |>>> I like GNU, but I couldn't eat a whole one <<<|
>
>
> --
> Info:
> To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
>
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index