[NSLU2] Installatie uShare buiten IPKG om

Pagina: 1
Acties:

  • BlackBurn
  • Registratie: Juni 2001
  • Laatst online: 07:56

BlackBurn

One Ring To Rule Them All

Topicstarter
Vanwege een bug in uShare 1.1, probeer ik versie 1.0 op een Linksys nslug werkend te krijgen, echter hier loop ik vast.

Ik heb de upnp library (libupnp-1.3.1) gedownload en geïnstalleerd, dit ging nog zonder enige foutmelding.
Vervolgens heb ik uShare 1.0 gedownload en uitgepakt, tijdens de installatie gaat het echter mis.

Ik start configure als vogt op:
code:
1
./configure --with-libupnp-prefix=/usr/local


Hier loopt deze goed doorheen echter tegen het einde krijg ik de volgende warnings.
code:
1
2
3
4
5
6
7
8
9
10
checking upnp/upnp.h usability... yes
checking upnp/upnp.h presence... no
configure: WARNING: upnp/upnp.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: upnp/upnp.h: proceeding with the compiler's result
checking for upnp/upnp.h... yes
checking upnp/upnptools.h usability... yes
checking upnp/upnptools.h presence... no
configure: WARNING: upnp/upnptools.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: upnp/upnptools.h: proceeding with the compiler's result
checking for upnp/upnptools.h... yes


Hierna voer ik make uit, maar hier komt de ene na de andere error uit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
make  all-recursive
make[1]: Entering directory `/root/ushare-1.0'
Making all in po
make[2]: Entering directory `/root/ushare-1.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ushare-1.0/po'
Making all in scripts
make[2]: Entering directory `/root/ushare-1.0/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/ushare-1.0/scripts'
Making all in src
make[2]: Entering directory `/root/ushare-1.0/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/include -g -O2 -Wall -W -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c cds.c
In file included from cds.c:29:
../upnp/upnp.h:56:18: ixml.h: No such file or directory
../upnp/upnp.h:57:24: upnpconfig.h: No such file or directory
../upnp/upnp.h:505:23: upnpdebug.h: No such file or directory
In file included from cds.c:29:
../upnp/upnp.h:734: error: parse error before "IXML_Document"
../upnp/upnp.h:734: warning: no semicolon at end of struct or union
../upnp/upnp.h:737: warning: type defaults to `int' in declaration of `ActionResult'
../upnp/upnp.h:737: warning: data definition has no type or storage class
../upnp/upnp.h:744: error: parse error before '*' token
../upnp/upnp.h:744: warning: type defaults to `int' in declaration of `SoapHeader'
../upnp/upnp.h:744: warning: data definition has no type or storage class
../upnp/upnp.h:745: error: parse error before '}' token
../upnp/upnp.h:756: error: parse error before "IXML_Document"
../upnp/upnp.h:756: warning: no semicolon at end of struct or union
../upnp/upnp.h:759: warning: type defaults to `int' in declaration of `ActionResult'
../upnp/upnp.h:759: warning: data definition has no type or storage class
../upnp/upnp.h:761: error: parse error before '}' token
../upnp/upnp.h:791: error: parse error before "DOMString"
../upnp/upnp.h:791: warning: no semicolon at end of struct or union
../upnp/upnp.h:809: error: parse error before "DOMString"
../upnp/upnp.h:809: warning: no semicolon at end of struct or union
../upnp/upnp.h:823: error: parse error before "IXML_Document"
../upnp/upnp.h:823: warning: no semicolon at end of struct or union
../upnp/upnp.h:934: error: parse error before "DOMString"
../upnp/upnp.h:934: warning: no semicolon at end of struct or union
../upnp/upnp.h:1499: error: parse error before "DOMString"
../upnp/upnp.h:1565: error: parse error before "IXML_Document"
../upnp/upnp.h:1604: error: parse error before "IXML_Document"
../upnp/upnp.h:1643: error: parse error before "IXML_Document"
../upnp/upnp.h:1681: error: parse error before "IXML_Document"
../upnp/upnp.h:1778: error: parse error before "IXML_Document"
../upnp/upnp.h:1852: error: parse error before "IXML_Document"
../upnp/upnp.h:2608: error: parse error before "IXML_Document"
cds.c: In function `filter_has_val':
cds.c:188: warning: implicit declaration of function `strlen'
cds.c:191: warning: implicit declaration of function `strcmp'
cds.c:194: warning: implicit declaration of function `strdup'
cds.c:194: warning: assignment makes pointer from integer without a cast
cds.c:201: warning: implicit declaration of function `strtok_r'
cds.c:201: warning: assignment makes pointer from integer without a cast
cds.c:205: warning: implicit declaration of function `strchr'
cds.c:206: warning: implicit declaration of function `strncmp'
cds.c:211: warning: assignment makes pointer from integer without a cast
cds.c: In function `matches_search':
cds.c:539: warning: implicit declaration of function `strncpy'
cds.c:572: warning: implicit declaration of function `strstr'
make[2]: *** [cds.o] Error 1
make[2]: Leaving directory `/root/ushare-1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ushare-1.0'
make: *** [all] Error 2



De bestanden die zogenaamd zouden missen, ixml.h, upnpconfig.h, upnpdebug.h zijn gewoon aanwezig in dezelfde directory als upnp.h.

Iemand enig idee of suggesties, hoe dit wel voor elkaar te krijgen?

If it is broken, fix it. If it ain't broken, make it better!


  • lamko
  • Registratie: December 2001
  • Laatst online: 20-10-2024
Neem even contact op met de ontwikkelaar zijn meestal goeie mensen die je wel willen helpen.

And this !! Is to go even further beyond!!!