Kirjoittaja Aihe: apua kaivattaisiin taas :(  (Luettu 2342 kertaa)

Supremacy

  • Käyttäjä
  • Viestejä: 8
    • Profiili
apua kaivattaisiin taas :(
« : 28.06.06 - klo:19.25 »
okei, tällä kertaa on sellanen onkelma et kun käytän "make" komentoo pluggerin configure filuun niin tulee Error 1 :(

Koodia: [Valitse]
vili@Ubuntu:~/Desktop/plugger$ make install
gcc -c -O2 -Ipluginsdk/include -INONE -DXP_UNIX  -DVERSION=\"5.1.3\"  -fPIC  -o plugger.o plugger.c
In file included from plugger.c:43:
pluginsdk/include/npapi.h:129:22: error: X11/Xlib.h: No such file or directory
In file included from plugger.c:43:
pluginsdk/include/npapi.h:148: error: syntax error before ‘Display’
pluginsdk/include/npapi.h:148: warning: no semicolon at end of struct or union
pluginsdk/include/npapi.h:149: warning: data definition has no type or storage class
pluginsdk/include/npapi.h:150: error: syntax error before ‘colormap’
pluginsdk/include/npapi.h:150: warning: data definition has no type or storage class
pluginsdk/include/npapi.h:152: error: syntax error before ‘}’ token
pluginsdk/include/npapi.h:152: warning: data definition has no type or storage class
plugger.c:48:19: error: X11/X.h: No such file or directory
plugger.c:49:21: error: X11/Xos.h: No such file or directory
plugger.c:50:27: error: X11/Intrinsic.h: No such file or directory
plugger.c:51:23: error: X11/Xatom.h: No such file or directory
plugger.c:76: error: syntax error before ‘Display’
plugger.c:76: warning: no semicolon at end of struct or union
plugger.c:110: error: syntax error before ‘}’ token
plugger.c: In function ‘my_fork’:
plugger.c:231: error: dereferencing pointer to incomplete type
plugger.c:232: error: dereferencing pointer to incomplete type
plugger.c: In function ‘run’:
plugger.c:275: error: dereferencing pointer to incomplete type
plugger.c:276: error: dereferencing pointer to incomplete type
plugger.c:277: error: dereferencing pointer to incomplete type
plugger.c:278: error: dereferencing pointer to incomplete type
plugger.c:279: error: dereferencing pointer to incomplete type
plugger.c:280: error: dereferencing pointer to incomplete type
plugger.c:281: error: dereferencing pointer to incomplete type
plugger.c:282: error: dereferencing pointer to incomplete type
plugger.c:288: error: dereferencing pointer to incomplete type
plugger.c:289: error: dereferencing pointer to incomplete type
plugger.c:290: error: dereferencing pointer to incomplete type
plugger.c:294: error: dereferencing pointer to incomplete type
plugger.c:296: error: dereferencing pointer to incomplete type
plugger.c:308: error: dereferencing pointer to incomplete type
plugger.c:309: error: dereferencing pointer to incomplete type
plugger.c:317: error: dereferencing pointer to incomplete type
plugger.c:318: error: dereferencing pointer to incomplete type
plugger.c:320: error: dereferencing pointer to incomplete type
plugger.c:321: error: dereferencing pointer to incomplete type
plugger.c:326: error: dereferencing pointer to incomplete type
plugger.c:328: error: dereferencing pointer to incomplete type
plugger.c:329: error: dereferencing pointer to incomplete type
plugger.c:329: error: dereferencing pointer to incomplete type
plugger.c:331: error: dereferencing pointer to incomplete type
plugger.c: In function ‘read_config_cb’:
plugger.c:648: error: ‘O_RDONLY’ undeclared (first use in this function)
plugger.c:648: error: (Each undeclared identifier is reported only once
plugger.c:648: error: for each function it appears in.)
plugger.c: In function ‘find_command’:
plugger.c:816: error: dereferencing pointer to incomplete type
plugger.c:817: error: dereferencing pointer to incomplete type
plugger.c:835: error: dereferencing pointer to incomplete type
plugger.c:846: error: dereferencing pointer to incomplete type
plugger.c:848: error: dereferencing pointer to incomplete type
plugger.c:849: error: dereferencing pointer to incomplete type
plugger.c:851: error: dereferencing pointer to incomplete type
plugger.c:852: error: dereferencing pointer to incomplete type
plugger.c:852: error: dereferencing pointer to incomplete type
plugger.c:853: error: dereferencing pointer to incomplete type
plugger.c:853: error: dereferencing pointer to incomplete type
plugger.c:855: error: dereferencing pointer to incomplete type
plugger.c:861: error: dereferencing pointer to incomplete type
plugger.c:862: error: dereferencing pointer to incomplete type
plugger.c:867: error: dereferencing pointer to incomplete type
plugger.c:901: error: dereferencing pointer to incomplete type
plugger.c:902: error: dereferencing pointer to incomplete type
plugger.c:903: error: dereferencing pointer to incomplete type
plugger.c:904: error: dereferencing pointer to incomplete type
plugger.c:906: error: dereferencing pointer to incomplete type
plugger.c:913: error: dereferencing pointer to incomplete type
plugger.c:914: error: dereferencing pointer to incomplete type
plugger.c:922: error: dereferencing pointer to incomplete type
plugger.c:923: error: dereferencing pointer to incomplete type
plugger.c:924: error: dereferencing pointer to incomplete type
plugger.c: In function ‘really_find_command’:
plugger.c:1024: error: dereferencing pointer to incomplete type
plugger.c:1025: error: dereferencing pointer to incomplete type
plugger.c:1026: error: dereferencing pointer to incomplete type
plugger.c:1028: error: dereferencing pointer to incomplete type
plugger.c:1037: error: dereferencing pointer to incomplete type
plugger.c:1039: error: dereferencing pointer to incomplete type
plugger.c:1048: error: dereferencing pointer to incomplete type
plugger.c:1049: error: dereferencing pointer to incomplete type
plugger.c:1050: error: dereferencing pointer to incomplete type
plugger.c: In function ‘start_standalone’:
plugger.c:1063: error: dereferencing pointer to incomplete type
plugger.c:1064: error: ‘Window’ undeclared (first use in this function)
plugger.c:1064: error: syntax error before ‘)’ token
plugger.c:1064: error: dereferencing pointer to incomplete type
plugger.c:1066: error: dereferencing pointer to incomplete type
plugger.c:1068: error: dereferencing pointer to incomplete type
plugger.c:1070: error: dereferencing pointer to incomplete type
plugger.c:1073: error: dereferencing pointer to incomplete type
plugger.c:1081: error: dereferencing pointer to incomplete type
plugger.c:1082: error: dereferencing pointer to incomplete type
plugger.c:1088: error: dereferencing pointer to incomplete type
plugger.c:1091: error: dereferencing pointer to incomplete type
plugger.c:1092: error: dereferencing pointer to incomplete type
plugger.c:1097: error: dereferencing pointer to incomplete type
plugger.c: In function ‘NPP_New’:
plugger.c:1124: error: invalid application of ‘sizeof’ to incomplete type ‘struct data’
plugger.c:1126: error: dereferencing pointer to incomplete type
plugger.c:1129: error: dereferencing pointer to incomplete type
plugger.c:1130: error: dereferencing pointer to incomplete type
plugger.c:1131: error: dereferencing pointer to incomplete type
plugger.c:1132: error: dereferencing pointer to incomplete type
plugger.c:1133: error: ‘Window’ undeclared (first use in this function)
plugger.c:1133: error: syntax error before ‘)’ token
plugger.c:1133: error: dereferencing pointer to incomplete type
plugger.c:1134: error: dereferencing pointer to incomplete type
plugger.c:1135: error: dereferencing pointer to incomplete type
plugger.c:1137: error: dereferencing pointer to incomplete type
plugger.c:1146: error: dereferencing pointer to incomplete type
plugger.c:1148: error: dereferencing pointer to incomplete type
plugger.c:1149: error: dereferencing pointer to incomplete type
plugger.c:1151: error: dereferencing pointer to incomplete type
plugger.c:1152: error: dereferencing pointer to incomplete type
plugger.c:1153: error: dereferencing pointer to incomplete type
plugger.c:1156: error: dereferencing pointer to incomplete type
plugger.c:1158: error: dereferencing pointer to incomplete type
plugger.c:1171: error: dereferencing pointer to incomplete type
plugger.c:1172: error: dereferencing pointer to incomplete type
plugger.c:1173: error: dereferencing pointer to incomplete type
plugger.c:1178: error: dereferencing pointer to incomplete type
plugger.c:1182: error: dereferencing pointer to incomplete type
plugger.c:1184: error: dereferencing pointer to incomplete type
plugger.c:1185: error: dereferencing pointer to incomplete type
plugger.c:1186: error: dereferencing pointer to incomplete type
plugger.c:1187: error: dereferencing pointer to incomplete type
plugger.c:1191: error: dereferencing pointer to incomplete type
plugger.c:1193: error: dereferencing pointer to incomplete type
plugger.c:1193: error: dereferencing pointer to incomplete type
plugger.c: In function ‘NPP_Destroy’:
plugger.c:1210: error: dereferencing pointer to incomplete type
plugger.c:1210: error: dereferencing pointer to incomplete type
plugger.c:1211: error: dereferencing pointer to incomplete type
plugger.c:1211: error: dereferencing pointer to incomplete type
plugger.c:1213: error: dereferencing pointer to incomplete type
plugger.c:1215: error: dereferencing pointer to incomplete type
plugger.c:1217: error: dereferencing pointer to incomplete type
plugger.c:1218: error: dereferencing pointer to incomplete type
plugger.c:1221: error: dereferencing pointer to incomplete type
plugger.c:1223: error: dereferencing pointer to incomplete type
plugger.c:1224: error: dereferencing pointer to incomplete type
plugger.c: In function ‘NPP_NewStream’:
plugger.c:1327: error: dereferencing pointer to incomplete type
plugger.c:1327: error: dereferencing pointer to incomplete type
plugger.c:1328: error: dereferencing pointer to incomplete type
plugger.c:1331: error: dereferencing pointer to incomplete type
plugger.c:1339: error: dereferencing pointer to incomplete type
plugger.c:1343: error: dereferencing pointer to incomplete type
plugger.c:1345: error: dereferencing pointer to incomplete type
plugger.c:1346: error: dereferencing pointer to incomplete type
plugger.c:1348: error: dereferencing pointer to incomplete type
plugger.c:1349: error: dereferencing pointer to incomplete type
plugger.c:1350: error: dereferencing pointer to incomplete type
plugger.c:1352: error: dereferencing pointer to incomplete type
plugger.c:1354: error: dereferencing pointer to incomplete type
plugger.c:1355: error: dereferencing pointer to incomplete type
plugger.c:1358: error: dereferencing pointer to incomplete type
plugger.c:1359: error: dereferencing pointer to incomplete type
plugger.c:1360: error: dereferencing pointer to incomplete type
plugger.c:1363: error: dereferencing pointer to incomplete type
plugger.c:1367: error: dereferencing pointer to incomplete type
plugger.c:1371: error: dereferencing pointer to incomplete type
plugger.c: In function ‘NPP_DestroyStream’:
plugger.c:1697: error: dereferencing pointer to incomplete type
plugger.c:1698: error: dereferencing pointer to incomplete type
plugger.c: In function ‘NPP_StreamAsFile’:
plugger.c:1746: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1750: error: dereferencing pointer to incomplete type
plugger.c:1774: error: ‘O_RDONLY’ undeclared (first use in this function)
plugger.c:1796: error: dereferencing pointer to incomplete type
plugger.c:1796: error: dereferencing pointer to incomplete type
plugger.c:1798: error: dereferencing pointer to incomplete type
plugger.c:1800: error: dereferencing pointer to incomplete type
plugger.c:1814: error: dereferencing pointer to incomplete type
plugger.c:1839: error: dereferencing pointer to incomplete type
plugger.c: In function ‘NPP_SetWindow’:
plugger.c:1876: error: dereferencing pointer to incomplete type
plugger.c:1876: error: syntax error before ‘)’ token
plugger.c:1877: error: dereferencing pointer to incomplete type
plugger.c:1877: error: dereferencing pointer to incomplete type
plugger.c:1878: error: dereferencing pointer to incomplete type
plugger.c:1880: error: dereferencing pointer to incomplete type
plugger.c:1881: error: ‘Window’ undeclared (first use in this function)
plugger.c:1881: error: syntax error before ‘)’ token
plugger.c:1881: error: dereferencing pointer to incomplete type
plugger.c:1885: error: dereferencing pointer to incomplete type
plugger.c:1886: error: syntax error before ‘)’ token
plugger.c:1886: error: dereferencing pointer to incomplete type
plugger.c:1890: error: dereferencing pointer to incomplete type
plugger.c:1892: error: dereferencing pointer to incomplete type
plugger.c:1894: error: dereferencing pointer to incomplete type
plugger.c:1895: error: dereferencing pointer to incomplete type
make: *** [plugger.o] Error 1

tällänen viesti. luin pluggerin foorumilta et olis kyseessä kääntäjän ja "linkkerin" bugi tai jotain, siel neuvottiin päivittämään linkkeri tai downgradettamaan kääntäjä, ei mitää hajuu kuinka tää tehään..
ja mullahan on ubuntu starter guiden kautte saatu essential compiler package tai jotain..
siis kuitenki ne tavalliset kääntäjä jutut.

kiitos etukäteen jos osaatte auttaa!

janne

  • Käyttäjä
  • Viestejä: 5150
    • Profiili
Re: apua kaivattaisiin taas :(
« Vastaus #1 : 28.06.06 - klo:19.32 »
okei, tällä kertaa on sellanen onkelma et kun käytän "make" komentoo pluggerin configure filuun niin tulee Error 1 :(

viestiketjun otsikko on aivan järkyuttävän huono, sillä se ei kuvaa ongelmaa lainkaan, eikä auta asiasta tietäviä vastaajia löytämään aihetta, puhumattakaan niistä jotka painivat saman ongelman kanssa.

makea ei käytetä configure-filuun.

miksi haluat kääntää pluggerin itse? henkilökohtaisesti en pidä pluggerista ollenkaan, mutta jos haluaisin käyttää sitä, asentaisin varmasti paketinhallinnasta löytyvän version. jos haluat vain opetella kääntämistä, niin kannattanee aloitella jollain helpommalla paketilla.
Janne

Supremacy

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: apua kaivattaisiin taas :(
« Vastaus #2 : 28.06.06 - klo:19.55 »
no kiitos kuitenkin avusta, yritän parantaa otsikoita... (en oo tottunu pyytää apuu, yleensä oon se jolta pyydetään apuu winukka puolel;) ) taisin sanoo tilanteeni väärin, no koitan synapticcii sit ku buuttaan linukalle.

janne

  • Käyttäjä
  • Viestejä: 5150
    • Profiili
Re: apua kaivattaisiin taas :(
« Vastaus #3 : 28.06.06 - klo:20.58 »
no koitan synapticcii sit ku buuttaan linukalle.

ubuntussa on aika laajat pakettivarastot oletuksena. kannattaa aina tehdä ensin haku pakettivarastoihin (ja mahdollisesti vielä kysyä josko joltain löytyisi valmista pakettia) ennen käntämisurakkaan ryhtymistä.
Janne