Where can i find libX11.a

Where can i find libX11.a

Post by Nico v. Rossum » Fri, 14 Jul 1995 04:00:00



I have a Makefile with th next lines:

        OPENWINLDFLAGS=-L$(OPENWINHOME)/lib
        OPENWINCPPFLAGS=-I$(OPENWINHOME)/include
        LDFLAGS= -Bdynamic $(OPENWINLDFLAGS) -lxview -lolgx -lX11 -lm

        CFLAGS=-O

        CP PFLAGS=$(OPENWINCPPFLAGS)
        CC=gcc -DSYSV

        all:             mytool

        privtool:       $(OFILES)
                        $(CC) $(CFLAGS) $(OFILES) -o mytool $(LDFLAGS)

        .c.o:  

Then i start make
        gcc -DSYSV -O buffers.o messages.o main.o -o mytool -Bdynamic
        -L/usr/openwin/lib -lxview -lolgx -lX11 -lm

and get this error
        ld: cannot open -lX11: No such file or directory
        gcc: file path prefix `dynamic' never used
        make: *** [privtool] Error 1

It looks clear it can't find libX11.a ,
so i used find to find out where it was
but find couldend find libX11.a, it found libX11.so.6, libX11.sa        

My question is:
        Can anyone tel me where to find libX11.a or do i something wrong

I use Linux 1.2.3 slackware version 2.2.0.1
--
                             _
                          (_|_|_)  
                          o(0 0)o      
<----------------------oOO---U---OOo-------------------------->

 AT&T Network Systems NL         1270 AA   Huizen  NL
<-------------------------ooO-Ooo----------------------------->

 
 
 

Where can i find libX11.a

Post by Nico v. Rossum » Sat, 15 Jul 1995 04:00:00


I have a Makefile with th next lines:

        OPENWINLDFLAGS=-L$(OPENWINHOME)/lib
        OPENWINCPPFLAGS=-I$(OPENWINHOME)/include
        LDFLAGS= -Bdynamic $(OPENWINLDFLAGS) -lxview -lolgx -lX11 -lm

        CFLAGS=-O

        CP PFLAGS=$(OPENWINCPPFLAGS)
        CC=gcc -DSYSV

        all:             mytool

        mytool:       $(OFILES)
                        $(CC) $(CFLAGS) $(OFILES) -o mytool $(LDFLAGS)

        .c.o:  

Then i start make
        gcc -DSYSV -O buffers.o messages.o main.o -o mytool -Bdynamic
        -L/usr/openwin/lib -lxview -lolgx -lX11 -lm

and get this error
        ld: cannot open -lX11: No such file or directory
        gcc: file path prefix `dynamic' never used
        make: *** [mytool] Error 1

It looks clear, it can't find libX11.a ,
so i used find to find out where it was
but find couldend find libX11.a, it found libX11.so.6, libX11.sa

My question is:
        Can anyone tel me where to find libX11.a or do i something wrong

I use Linux 1.2.3 slackware version 2.2.0.1
--
                             _
                          (_|_|_)  
                          o(0 0)o      
<----------------------oOO---U---OOo-------------------------->

 AT&T Network Systems NL         1270 AA   Huizen  NL
<-------------------------ooO-Ooo----------------------------->