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



Marcus,
With your help I got it to work, make install tells me that there is no -D
flag in this version of install, but I moved the files created manually
without a problem, also I needed to add "#define O_LARGEFILE 1" in several
places (a kludge) to get `O_LARGEFILE' undeclared errors to go away.
Any suggestions as to the right way to do this?
Paul

On Mon, 29 Dec 2003, Marcus Metzler wrote:

> St.Denis writes:
>  >         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
>  > 
>  > 
> 
> You don't need dvbaudio. You can remove dvbaudio from the line
> 
> all: dvb-mpegtools_main dvb-mplex links audiofilter dvbaudio
> 
> in the Makefile.
> 
> 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