Re: which gcc package?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Sun, 09 May 2010 11:48:53 -0400 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> Hakan Koseoglu wrote:
> > Depending on the requirements of the source code you are trying to
> > compile you might have to fetch some development packages for various
> > libraries, for example if it uses ncurses, you will want ncurses-devel
> > package.
> 
> This problem seems (to my semi-newby brain) to be related to X --
> 
> [root@sr1220 plugger-5.1.3]# make
> 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: expected specifier-qualifier-list
> before �`Display´
> 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: expected specifier-qualifier-list before �`Display´
> plugger.c: In function �`my_fork´:
> plugger.c:231: error: �`struct data´ has no member named �`flags´
> plugger.c:232: error: �`struct data´ has no member named �`display´
> ... and a bunch more errors (which are probably due to these).
> 
> I emailed the coder yesterday - still waiting for a reply.

This should get you all of the X11 header files and link libraries
(probably more than you need):

yum install libX11-devel xorg-x11-proto-devel libXau-devel libXdmcp-devel


> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>  
> 

-- 
Robert Heller             -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller@xxxxxxxxxxxx       -- Contract Programming: C/C++, Tcl/Tk

                                                                             
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux