LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   handbrake compilation (https://www.linuxquestions.org/questions/debian-26/handbrake-compilation-398774/)

microsoft/linux 01-02-2006 05:21 PM

handbrake compilation
 
I'm using the CVS version of the Handbrake source, and I get the following error when trying to compile
Code:

gcc -c -o libhb/encx264.o -Wall -g -O3 -funroll-loops -I./contrib/include -DSYS_LINUX -DHB_VERSION=\"0.7.0\" -DHB_BUILD=2005110400 -D__LIBHB__ -Ilibhb libhb/encx264.c

...failed Cc libhb/encx264.o ...
Cc libhb/decavcodec.o
Cc libhb/encxvid.o
Cc libhb/muxavi.o
Cc libhb/enclame.o
Cc libhb/muxogm.o
libhb/muxogm.c: In function 'OGMInit':
libhb/muxogm.c:173: warning: pointer targets in assignment differ in signedness
libhb/muxogm.c:208: warning: pointer targets in assignment differ in signedness
Cc libhb/encvorbis.o
Cc libhb/dvd.o
...skipped libhb.a for lack of libhb.a(encx264.o)...
Cc test/test.o
...skipped HBTest for lack of libhb.a...
...failed updating 2 target(s)...
...skipped 2 target(s)...
...updated 54 target(s)...

Thoughts? Handbrake is at http://handbrake.m0k.org

XavierP 01-02-2006 05:32 PM

It appears to need libhb - does the INSTALL file refer to it at all?

microsoft/linux 01-02-2006 06:20 PM

there is no INSTALL file, but the BUILD file reads
Quote:

$Id: BUILD,v 1.11 2005/10/23 01:35:59 titer Exp $

BUILD file for HandBrake <http://handbrake.m0k.org/>

Building HandBrake
==================

You can build HandBrake on BeOS, MacOS X and Linux. If you'd like to
port it to another OS, email me (titer@m0k.org).

Step 1: get needed tools
========================

+ gcc and g++
There are usually included in your OS' dev tools. On BeOS/Zeta, the
default gcc isn't enough, gcc 2.95.3 is required.
+ jam
I use 2.5rc3, earlier versions might cause issues.
On BeOS, you can download it at <http://www.haiku-os.org/develop.php>.
On OS X, you cannot use the modified jam shipped with the developer
tools, use this one instead:
<http://handbrake.m0k.org/files/jam-2.5rc3-OSX.zip>.
+ nasm (except for OS X)

Step 2: build
=============

Run `jam'. This will build every library HandBrake requires, then
HandBrake itself.
so I did
Code:

$ ./configure
$ jam


microsoft/linux 01-02-2006 10:25 PM

FIXED:

I needed nasm(Netwide assembler). I downloaded the .rpm from the sourceforge site, and converted it to a .deb using alien.


All times are GMT -5. The time now is 04:01 PM.