Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: cannot compile SO-8859-1?Q?DJBFFT4?
Matthias Raus schrieb:
> Hi,
>
> I have installed SuSE 8. 2 on my system and now want to compile VDR
> with DJBFFT=1, but I cannot compile DJBFFT successfully:
>
> linux:/usr/local/djbfft-0.76 # make
> ./load auto-str substdio.a error.a str.a
> substdio.a(substdo.o)(.text+0x31): In function `allwrite':
> : undefined reference to `errno'
> collect2: ld returned 1 exit status
> make: *** [auto-str] Fehler 1
> linux:/usr/local/djbfft-0.76 #
>
> Has anyone succeeded to compile it or can tell me how to avoid this
> error?
>
> Thanks in advance,
>
> Matthias
>
>
>
Hi,
use this patch for adding some #include<errno.h>.
Greetings
Dimitri
-- Attached file included as plaintext by Listar --
-- File: suse82.djbfft-0.76.diff
--- djbfft-0.76/install.c.orig 2003-04-25 23:31:34.000000000 +0200
+++ djbfft-0.76/install.c 2003-04-25 23:29:05.000000000 +0200
@@ -1,3 +1,4 @@
+#include <errno.h>
#include "substdio.h"
#include "strerr.h"
#include "error.h"
--- djbfft-0.76/instcheck.c.orig 2003-04-25 23:31:34.000000000 +0200
+++ djbfft-0.76/instcheck.c 2003-04-25 23:28:11.000000000 +0200
@@ -1,5 +1,6 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <errno.h>
#include "strerr.h"
#include "error.h"
#include "readwrite.h"
--- djbfft-0.76/strerr_sys.c.orig 2003-04-25 23:31:34.000000000 +0200
+++ djbfft-0.76/strerr_sys.c 2003-04-25 23:28:32.000000000 +0200
@@ -1,3 +1,4 @@
+#include <errno.h>
#include "error.h"
#include "strerr.h"
--- djbfft-0.76/substdi.c.orig 2003-04-25 23:31:34.000000000 +0200
+++ djbfft-0.76/substdi.c 2003-04-25 23:28:41.000000000 +0200
@@ -1,3 +1,4 @@
+#include <errno.h>
#include "substdio.h"
#include "byte.h"
#include "error.h"
--- djbfft-0.76/substdo.c.orig 2003-04-25 23:31:34.000000000 +0200
+++ djbfft-0.76/substdo.c 2003-04-25 23:28:47.000000000 +0200
@@ -1,3 +1,4 @@
+#include <errno.h>
#include "substdio.h"
#include "str.h"
#include "byte.h"
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index