MLD-5.x > Development

[5.1 bpi-cubietruck] libcsptr und libvdpau-sunxi

(1/1)

BobW:
Hallo,

libcsptr wird anstandslos kompiliert, Ergebnis libcsptr.a
Beim Installieren will er dann allerdings libcsptr.o kopieren und findet die natürlich nicht:


--- Code: ---pi@raspy04:~/MLD-5.1/libcsptr $ make
libcsptr:
  Build package: libcsptr
-- The C compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for one of the modules 'check'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build
Scanning dependencies of target csptr
[100%] Building C object CMakeFiles/csptr.dir/src/mman.c.o
Linking C static library libcsptr.a
[100%] Built target csptr
[100%] Built target csptr
Install the project...
-- Install configuration: ""
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/include/csptr/config.h
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/include/csptr/smalloc.h
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/include/csptr/array.h
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/include/csptr/smart_ptr.h
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/include/csptr/common.h
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/share/man/man3/csptr.3
-- Installing: /home/pi/MLD-5.1/libcsptr/src/libcsptr/build/lib/libcsptr.a
cp: der Aufruf von stat für „src/libcsptr/build/libcsptr.so“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Makefile:17: recipe for target 'package/data' failed
make[1]: *** [package/data] Error 1
Ihr Branch ist auf dem selben Stand wie 'origin/master'.
pi@raspy04:~/MLD-5.1/libcsptr $

--- End code ---

Abhängig davon ist libvdpau-sunxi:
Als erstes muss der Patch 10_vdpau_private.patch angepasst werden:

--- Code: ------ libvdpau-sunxi/vdpau_private.h.orig 2015-08-10 17:52:03.102144370 +0200
+++ libvdpau-sunxi/vdpau_private.h      2015-08-10 17:51:26.932234815 +0200
@@ -37,7 +37,7 @@
 //#define GRAB /* Uncomment this to try experimental get_bits_native support */
 
 #include <stdlib.h>
-#include <csptr/smart_ptr.h>
+#include "csptr/smart_ptr.h"
 #include <vdpau/vdpau.h>
 #include <vdpau/vdpau_x11.h>
 #include <X11/Xlib.h>

--- End code ---
Bei mir hat gereicht, stdlib.h durch pthread.h zu ersetzen.

Das Kompilieren hat zwar geklappt, aber das Paket wird sich nicht installieren lassen, da die Abhängigkeit zu libcsptr nicht erfüllt werden kann (siehe weiter oben).

Schöne Grüße aus Wien
BobW

clausmuus:
Hi,

wenn Du selber kompilierst und die Pakete dann installieren möchtest, musst Du entweder zuvor die selbst erstellten abhängigen Pakete installieren, oder aber Du startest einen Develserver und aktivierst diesen auf Deiner MLD Installation. Wie das geht findest Du im Wiki.

Claus

BobW:
Hallo Claus,

Du hast mich gründlich missverstanden.

Was ich sagen wollte, ist:
1. Paket libcsptr kompiliert nicht, weil das Makefile libcsptr.so kopieren möchte, obwohl libcsptr.a gebaut wird.
2. Paket libvdpau-sunxi kompiliert nicht, weil der Patch nicht mehr passt.
3. Als Nebeneffekt: libvdpau-sunxi hängt ab von libcsptr und kann daher nicht installiert werden.

Erhofft habe ich mir, dass das im git bereinigt wird.

BobW

clausmuus:
Hat zwar etwas gedauert, aber jetzt lässt sich das wieder bauen.

Claus

Navigation

[0] Message Index

Go to full version