Wettersoft WM1080 Ds107+

Status
Für weitere Antworten geschlossen.

hollyofnone

Benutzer
Mitglied seit
11. Aug 2008
Beiträge
114
Punkte für Reaktionen
0
Punkte
16
Hallo zusammen,

ich würde gerne meine Wetterstation WM1080 an der Synology 107+ betreiben.
WView ist für Linux verfügbar aber muss wohl crosskompiled werden und genau da liegt mein Problem. Es wäre echt nett wenn sich ein "Linux kundiger" diese Sachen mal anschauen könnte.

Habe selber was gefunden http://forum.qnapclub.de/viewtopic.php?f=33&t=9667

ipkg install zlib
ipkg install libpng
ipkg install readline
ipkg install gawk
ipkg install sqlite
ipkg install libgd
ipkg install openssl
ipkg install libcurl
ipkg install libcurl-dev
ipkg install gcc

ipkg install optware-devel

mkdir /share/Public/compile

cd /share/Public/compile

downloaden Radlib - http://www.radlib.teel.ws/ und legen es im Public compile verzeichnis ab.

Code: Alles auswählen
tar xzvf radlib-x.xx.x.tar.gz
./configure --prefix=/opt --enable-sqlite

make
make install
cd ..

tar xzvf wview-x.xx.x.tar.gz
cd wview-x.xx.x
./configure --prefix=/opt
make
make install

Viele Grüße
Hollyofnone
 

hollyofnone

Benutzer
Mitglied seit
11. Aug 2008
Beiträge
114
Punkte für Reaktionen
0
Punkte
16
make fehler

bei dem letzten make bekome ich folgende fehler:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../common -I../../stations/common -I/opt/include -D_GNU_SOURCE -DWV_CONFIG_DIR=\"/op
t/etc/wview\" -DWV_RUN_DIR=\"/opt/var/wview\" -DBUILD_WVIEWD -g -O2 -MT hidapi-linux.o -MD -MP -MF .deps/hidapi-linux.
Tpo -c -o hidapi-linux.o `test -f '../../stations/common/hidapi-linux.c' || echo './'`../../stations/common/hidapi-linux.
c
../../stations/common/hidapi-linux.c:80:31: libusb-1.0/libusb.h: No such file or directory
../../stations/common/hidapi-linux.c:528: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:528: error: `LIBUSB_TRANSFER_TYPE_MASK' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:529: error: `LIBUSB_TRANSFER_TYPE_INTERRUPT' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:531: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:531: error: `LIBUSB_ENDPOINT_DIR_MASK' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:532: error: `LIBUSB_ENDPOINT_OUT' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:534: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:535: error: `LIBUSB_ENDPOINT_IN' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:538: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:542: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:542: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:543: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:543: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:545: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:549: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:549: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:553: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:559: error: increment of pointer to unknown structure
../../stations/common/hidapi-linux.c:559: error: arithmetic on pointer to an incomplete type
../../stations/common/hidapi-linux.c: In function `hid_write':
../../stations/common/hidapi-linux.c:595: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:598: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:599: error: `LIBUSB_REQUEST_TYPE_CLASS' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:599: error: `LIBUSB_RECIPIENT_INTERFACE' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:599: error: `LIBUSB_ENDPOINT_OUT' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:602: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:618: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:619: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c: In function `return_data':
../../stations/common/hidapi-linux.c:640: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:641: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:641: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:642: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:643: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:643: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:644: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c: In function `hid_read':
../../stations/common/hidapi-linux.c:654: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:657: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:664: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:666: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:666: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:675: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c: In function `hid_set_nonblocking':
../../stations/common/hidapi-linux.c:682: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c: In function `hid_send_feature_report':
../../stations/common/hidapi-linux.c:701: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:702: error: `LIBUSB_REQUEST_TYPE_CLASS' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:702: error: `LIBUSB_RECIPIENT_INTERFACE' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:702: error: `LIBUSB_ENDPOINT_OUT' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:705: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c: In function `hid_get_feature_report':
../../stations/common/hidapi-linux.c:733: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:734: error: `LIBUSB_REQUEST_TYPE_CLASS' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:734: error: `LIBUSB_RECIPIENT_INTERFACE' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:734: error: `LIBUSB_ENDPOINT_IN' undeclared (first use in this function)
../../stations/common/hidapi-linux.c:737: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c: In function `hid_close':
../../stations/common/hidapi-linux.c:757: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:760: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:763: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:766: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:767: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:771: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:774: error: dereferencing pointer to incomplete type
../../stations/common/hidapi-linux.c:775: error: dereferencing pointer to incomplete type
make[3]: *** [hidapi-linux.o] Error 1
make[3]: Leaving directory `/share/Public/wview-5.19.0/stations/WMRUSB'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/share/Public/wview-5.19.0/stations'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/share/Public/wview-5.19.0'
make: *** [all] Error 2
NASWEIS>

Kann da jemand helfen?
Gruß
hollyofnone
 

hollyofnone

Benutzer
Mitglied seit
11. Aug 2008
Beiträge
114
Punkte für Reaktionen
0
Punkte
16
ipkg install libusb

NASWEIS> ipkg install libusb
Package libusb (0.1.12-2) installed in root is up to date.
Nothing to be done
Successfully terminated.

Also eigentllich is ja da
wirklich keine ne Idee?

Gruß
hollyofnone
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.055
Punkte für Reaktionen
305
Punkte
393
Hallo,
Du brauchst noch libusb-devel, das gibt es aber wahrscheinlich nicht per ipkg. Da müßtest Du die Sourcen holen und in Dein System einpflegen.

Gruß Götz
 

hollyofnone

Benutzer
Mitglied seit
11. Aug 2008
Beiträge
114
Punkte für Reaktionen
0
Punkte
16
Danke erstmal aber ich frage mich gerade ob es nicht einfacher ist debian auf 107+ zu installieren.... hat jemand nen link?
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat 

 
 
  AdBlocker gefunden!

Du bist nicht hier, um Support für Adblocker zu erhalten. Dein Adblocker funktioniert bereits ;-)

Klar machen Adblocker einen guten Job, aber sie blockieren auch nützliche Funktionen.

Das Forum wird mit hohem technischen, zeitlichen und finanziellen Aufwand kostenfrei zur Verfügung gestellt. Wir zeigen keine offensive Werbung und bemühen uns um eine dezente Integration.

Bitte unterstütze dieses Forum, in dem du deinen Adblocker für diese Seite deaktivierst.

Du kannst uns auch über unseren Kaffeautomat einen Kaffe ausgeben oder ein PUR Abo abschließen und das Forum so werbefrei nutzen.

Vielen Dank für Deine Unterstützung!