You are not logged in.

#1 2009-06-11 19:12:49

syväpaahto
Member
From: Finland
Registered: 2009-04-23
Posts: 15

dvbcut not compiling

I have tried AUR and made my own SVN build, but both refuse to compile. Both give the same error:

buffer.cpp: In member function "int inbuffer::pipedata(unsigned int, long long int)":
buffer.cpp:280: virhe: "stderr" on esittelemättä tällä näkyvyysalueella
buffer.cpp:281: virhe: "fprintf" on esittelemättä tällä näkyvyysalueella
buffer.cpp: In member function "int inbuffer::providedata(unsigned int, long long int)":
buffer.cpp:410: virhe: "stderr" on esittelemättä tällä näkyvyysalueella
buffer.cpp:411: virhe: "fprintf" on esittelemättä tällä näkyvyysalueella
make[1]: *** [buffer.o] Virhe 1
make[1]: Poistutaan hakemistosta "/home/toni/.Build/src/dvbcut-build/src"
make: *** [all] Virhe 2
==> ERROR: Build Failed.
    Aborting...

can somebody point me to the right direction? 

PS. Is there a way to get my OS to compile in english without changing main language from gnome? It would make pasting from terminal output a little less annoying when posting to international forums.

Offline

#2 2009-06-11 20:12:24

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: dvbcut not compiling

I don't know about question 2 but when I built dvbcut a month ago it needed two patches to fix gcc 4.4-related errors.  This one ought to fix the compilation error you've seen:

--- src/buffer.cpp.orig    2008-10-19 21:01:39.000000000 +0100
+++ src/buffer.cpp    2009-05-09 19:03:17.000000000 +0100
@@ -18,6 +18,7 @@
 
 /* $Id: buffer.cpp 136 2008-10-19 20:01:38Z too-tired $ */
 
+#include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/mman.h>

and this one should fix the compilation error you'll get after fixing the first one wink

--- src/mpegmuxer.cpp.orig    2008-10-10 13:11:08.000000000 +0100
+++ src/mpegmuxer.cpp    2009-05-09 19:19:06.539048062 +0100
@@ -18,6 +18,9 @@
 
 /* $Id: mpegmuxer.cpp 132 2008-10-10 12:11:08Z too-tired $ */
 
+
+
+#include <stdio.h>
 #include <cstdlib>
 #include <cstring>
 #include <strings.h>

Offline

#3 2009-06-12 14:08:57

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: dvbcut not compiling

syväpaahto wrote:

PS. Is there a way to get my OS to compile in english without changing main language from gnome? It would make pasting from terminal output a little less annoying when posting to international forums.

export LANG=C tongue


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#4 2009-06-12 21:43:54

syväpaahto
Member
From: Finland
Registered: 2009-04-23
Posts: 15

Re: dvbcut not compiling

Patches worked. Thank you

Offline

#5 2009-06-18 22:23:21

sp42b
Member
Registered: 2008-04-01
Posts: 13

Re: dvbcut not compiling

Btw you can leave a comment on the AUR website, so that the contributer can fix the issue ...

Offline

Board footer

Powered by FluxBB