LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with plugger (https://www.linuxquestions.org/questions/linux-software-2/problems-with-plugger-112962/)

hari_seldon99 11-06-2003 04:46 AM

Problems with plugger
 
Hi,


I installed plugger-5.0 in my Linux Mandrake 5.0 with netscape 7.1
earlier & it worked very well. I deleted my netscape folders by mistake
and reinstalled netscape and also had to reinstall plugger, but now I get
errors when I navigate to the plugger source tree and enter "make linux"



The errors are:


make all CC=gcc XCFLAGS=-fpic LD=gcc XLDFLAGS=-shared X11=/usr/X11R6/
make[1]: Entering directory `/home/aroydaneel/plugger-5.0'
gcc -c -O -Ipluginsdk/include -I/usr/X11R6//include -DXP_UNIX
-DVERSION=\"5.0\"
-fpic -o plugger.o plugger.c
plugger.c:1:16: errno: No such file or directory
plugger.c:26:17: errno: No such file or directory
In file included from plugger.c:33:
pluginsdk/include/npapi.h:129:22: X11/Xlib.h: No such file or directory
In file included from plugger.c:33:
pluginsdk/include/npapi.h:148: parse 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 c
lass
pluginsdk/include/npapi.h:150: parse error before "colormap"
pluginsdk/include/npapi.h:150: warning: data definition has no type or
storage c
lass
pluginsdk/include/npapi.h:152: parse error before '}' token
pluginsdk/include/npapi.h:152: warning: data definition has no type or
storage c
lass
plugger.c:38:19: X11/X.h: No such file or directory
plugger.c:39:21: X11/Xos.h: No such file or directory
plugger.c:40:27: X11/Intrinsic.h: No such file or directory
plugger.c:41:23: X11/Xatom.h: No such file or directory
plugger.c:67: parse error before "Display"
plugger.c:67: warning: no semicolon at end of struct or union
plugger.c:101: parse error before '}' token
plugger.c: In function `my_fork':
plugger.c:193: dereferencing pointer to incomplete type
plugger.c:208: dereferencing pointer to incomplete type
plugger.c: In function `run':
plugger.c:250: dereferencing pointer to incomplete type
plugger.c:251: dereferencing pointer to incomplete type
plugger.c:252: dereferencing pointer to incomplete type
plugger.c:253: dereferencing pointer to incomplete type
plugger.c:254: dereferencing pointer to incomplete type
plugger.c:255: dereferencing pointer to incomplete type
plugger.c:256: dereferencing pointer to incomplete type
plugger.c:257: dereferencing pointer to incomplete type
plugger.c:263: dereferencing pointer to incomplete type
plugger.c:264: dereferencing pointer to incomplete type
plugger.c:265: dereferencing pointer to incomplete type
plugger.c:269: dereferencing pointer to incomplete type
plugger.c:271: dereferencing pointer to incomplete type
plugger.c:283: dereferencing pointer to incomplete type
plugger.c:284: dereferencing pointer to incomplete type
plugger.c:289: dereferencing pointer to incomplete type
plugger.c:290: dereferencing pointer to incomplete type
plugger.c:292: dereferencing pointer to incomplete type
plugger.c:293: dereferencing pointer to incomplete type
plugger.c:298: dereferencing pointer to incomplete type
plugger.c:300: dereferencing pointer to incomplete type
plugger.c:301: dereferencing pointer to incomplete type
plugger.c:301: dereferencing pointer to incomplete type
plugger.c:303: dereferencing pointer to incomplete type
plugger.c: In function `find_command':
plugger.c:734: dereferencing pointer to incomplete type
plugger.c:735: dereferencing pointer to incomplete type
plugger.c:753: dereferencing pointer to incomplete type
plugger.c:764: dereferencing pointer to incomplete type
plugger.c:766: dereferencing pointer to incomplete type
plugger.c:767: dereferencing pointer to incomplete type
plugger.c:769: dereferencing pointer to incomplete type
plugger.c:770: dereferencing pointer to incomplete type
plugger.c:770: dereferencing pointer to incomplete type
plugger.c:771: dereferencing pointer to incomplete type
plugger.c:771: dereferencing pointer to incomplete type
plugger.c:773: dereferencing pointer to incomplete type
plugger.c:779: dereferencing pointer to incomplete type
plugger.c:780: dereferencing pointer to incomplete type
plugger.c:785: dereferencing pointer to incomplete type
plugger.c:819: dereferencing pointer to incomplete type
plugger.c:820: dereferencing pointer to incomplete type
plugger.c:821: dereferencing pointer to incomplete type
plugger.c:822: dereferencing pointer to incomplete type
plugger.c:824: dereferencing pointer to incomplete type
plugger.c:831: dereferencing pointer to incomplete type
plugger.c:832: dereferencing pointer to incomplete type
plugger.c:840: dereferencing pointer to incomplete type
plugger.c:841: dereferencing pointer to incomplete type
plugger.c:842: dereferencing pointer to incomplete type
plugger.c: In function `NPP_New':
plugger.c:932: sizeof applied to an incomplete type
plugger.c:934: dereferencing pointer to incomplete type
plugger.c:934: dereferencing pointer to incomplete type
plugger.c:934: dereferencing pointer to incomplete type
plugger.c:934: dereferencing pointer to incomplete type
plugger.c:934: dereferencing pointer to incomplete type
plugger.c:934: dereferencing pointer to incomplete type
plugger.c:937: dereferencing pointer to incomplete type
plugger.c:938: dereferencing pointer to incomplete type
plugger.c:939: dereferencing pointer to incomplete type
plugger.c:940: dereferencing pointer to incomplete type
plugger.c:941: `Window' undeclared (first use in this function)
plugger.c:941: (Each undeclared identifier is reported only once
plugger.c:941: for each function it appears in.)
plugger.c:941: parse error before ')' token
plugger.c:941: dereferencing pointer to incomplete type
plugger.c:942: dereferencing pointer to incomplete type
plugger.c:943: dereferencing pointer to incomplete type
plugger.c:945: dereferencing pointer to incomplete type
plugger.c:952: dereferencing pointer to incomplete type
plugger.c:955: dereferencing pointer to incomplete type
plugger.c:956: dereferencing pointer to incomplete type
plugger.c:962: dereferencing pointer to incomplete type
plugger.c:965: dereferencing pointer to incomplete type
plugger.c:967: dereferencing pointer to incomplete type
plugger.c:968: dereferencing pointer to incomplete type
plugger.c:969: dereferencing pointer to incomplete type
plugger.c:970: dereferencing pointer to incomplete type
plugger.c: In function `NPP_Destroy':
plugger.c:987: dereferencing pointer to incomplete type
plugger.c:987: dereferencing pointer to incomplete type
plugger.c:988: dereferencing pointer to incomplete type
plugger.c:988: dereferencing pointer to incomplete type
plugger.c:990: dereferencing pointer to incomplete type
plugger.c:992: dereferencing pointer to incomplete type
plugger.c:994: dereferencing pointer to incomplete type
plugger.c:995: dereferencing pointer to incomplete type
plugger.c:998: dereferencing pointer to incomplete type
plugger.c:1000: dereferencing pointer to incomplete type
plugger.c:1001: dereferencing pointer to incomplete type
plugger.c: In function `NPP_NewStream':
plugger.c:1105: dereferencing pointer to incomplete type
plugger.c:1105: dereferencing pointer to incomplete type
plugger.c:1106: dereferencing pointer to incomplete type
plugger.c:1114: dereferencing pointer to incomplete type
plugger.c:1118: dereferencing pointer to incomplete type
plugger.c:1120: dereferencing pointer to incomplete type
plugger.c:1121: dereferencing pointer to incomplete type
plugger.c:1123: dereferencing pointer to incomplete type
plugger.c:1124: dereferencing pointer to incomplete type
plugger.c:1125: dereferencing pointer to incomplete type
plugger.c:1136: dereferencing pointer to incomplete type
plugger.c:1138: dereferencing pointer to incomplete type
plugger.c:1139: dereferencing pointer to incomplete type
plugger.c:1142: dereferencing pointer to incomplete type
plugger.c:1143: dereferencing pointer to incomplete type
plugger.c:1144: dereferencing pointer to incomplete type
plugger.c:1146: dereferencing pointer to incomplete type
plugger.c:1148: dereferencing pointer to incomplete type
plugger.c:1157: dereferencing pointer to incomplete type
plugger.c:1158: dereferencing pointer to incomplete type
plugger.c:1159: dereferencing pointer to incomplete type
plugger.c:1165: dereferencing pointer to incomplete type
plugger.c:1173: dereferencing pointer to incomplete type
plugger.c:1174: dereferencing pointer to incomplete type
plugger.c:1180: dereferencing pointer to incomplete type
plugger.c:1183: dereferencing pointer to incomplete type
plugger.c:1184: dereferencing pointer to incomplete type
plugger.c:1189: dereferencing pointer to incomplete type
plugger.c: In function `NPP_DestroyStream':
plugger.c:1519: dereferencing pointer to incomplete type
plugger.c:1520: dereferencing pointer to incomplete type
plugger.c: In function `NPP_StreamAsFile':
plugger.c:1568: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1572: dereferencing pointer to incomplete type
plugger.c:1596: `O_RDONLY' undeclared (first use in this function)
plugger.c:1618: dereferencing pointer to incomplete type
plugger.c:1618: dereferencing pointer to incomplete type
plugger.c:1620: dereferencing pointer to incomplete type
plugger.c:1622: dereferencing pointer to incomplete type
plugger.c:1636: dereferencing pointer to incomplete type
plugger.c:1661: dereferencing pointer to incomplete type
plugger.c: In function `NPP_SetWindow':
plugger.c:1698: dereferencing pointer to incomplete type
plugger.c:1698: parse error before ')' token
plugger.c:1699: dereferencing pointer to incomplete type
plugger.c:1699: dereferencing pointer to incomplete type
plugger.c:1700: dereferencing pointer to incomplete type
plugger.c:1702: dereferencing pointer to incomplete type
plugger.c:1703: `Window' undeclared (first use in this function)
plugger.c:1703: parse error before ')' token
plugger.c:1703: dereferencing pointer to incomplete type
plugger.c:1707: dereferencing pointer to incomplete type
plugger.c:1708: parse error before ')' token
plugger.c:1708: dereferencing pointer to incomplete type
plugger.c:1712: dereferencing pointer to incomplete type
plugger.c:1714: dereferencing pointer to incomplete type
plugger.c:1716: dereferencing pointer to incomplete type
plugger.c:1717: dereferencing pointer to incomplete type
make[1]: *** [plugger.o] Error 1
make[1]: Leaving directory `/home/aroydaneel/plugger-5.0'
make: *** [linux] Error 2



Can you please advise on what is it I'm doing wrong?


Thanks,

unSpawn 11-10-2003 09:36 PM

pluginsdk/include/npapi.h:129:22: X11/Xlib.h: No such file or directory
plugger.c:38:19: X11/X.h: No such file or directory
plugger.c:39:21: X11/Xos.h: No such file or directory
plugger.c:40:27: X11/Intrinsic.h: No such file or directory
plugger.c:41:23: X11/Xatom.h: No such file or directory

Probably got to install X11 development packages first. Isn't there a plugger rpm?

hari_seldon99 11-12-2003 10:06 AM

Yeah, that was it. I had accidentally deleted XFree86-devel.


All times are GMT -5. The time now is 04:11 PM.