and write a
Makefile. That's what I would suggest you do to solve this problem.
An example would be:
ldflags = -lX11 -lm
lddirs = -L/usr/X11R6/lib
xroy: xroy.c#and whatever else it depends on.
gcc $(lddirs) $(ldflags) -o xroy xroy.c
clean:
rm -f xroy
.PHONY: clean
I
gt; > hi.. i tried to compile something that needs -lX11 but gives me an error
> > that says i dont have it...
> > i'm using woody :)
> > error is here
> >
> > [EMAIL PROTECTED]:~/ ]$ gcc -lX11 -lm -o xroy xroy.c
> > /usr/bin/ld: cannot find -
And Kreaped Ripping Reaper bestowed upon us all:
>
> hi.. i tried to compile something that needs -lX11 but gives me an error that
> says i dont have it...
> i'm using woody :)
> error is here
>
> [EMAIL PROTECTED]:~/ ]$ gcc -lX11 -lm -o xroy xroy.c
> /
On Fri, May 26, 2000 at 01:31:24PM +0800, Kreaped Ripping Reaper wrote:
>
> hi.. i tried to compile something that needs -lX11 but gives me an error that
> says i dont have it...
> i'm using woody :)
> error is here
>
> [EMAIL PROTECTED]:~/ ]$ gcc -lX11 -lm
hi.. i tried to compile something that needs -lX11 but gives me an error that
says i dont have it...
i'm using woody :)
error is here
[EMAIL PROTECTED]:~/ ]$ gcc -lX11 -lm -o xroy xroy.c
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
[EMAIL PROTECTED]:~ ]$
:-> "shaleh" == shaleh <[EMAIL PROTECTED]> writes:
>> I'm trying to compile a program that has -lX11 in the compiler
>> options, but the compiler doesn't filnd the relevant library. What
>> shall I put in place of the plain X11?
>
>
>
> I'm trying to compile a program that has -lX11 in the compiler
> options, but the compiler doesn't filnd the relevant library. What
> shall I put in place of the plain X11?
>
Before the -lX11 place -L/usr/X11R6/lib. Make sure you also have xlibg-dev
installed.
I'm trying to compile a program that has -lX11 in the compiler
options, but the compiler doesn't filnd the relevant library. What
shall I put in place of the plain X11?
Pf
--
---
Pierfrancesco Caci | mai
> I'm trying to compile a program called dataplot. It's in Fortran,
> and I've partially succeeded in converting it to C...however, at the end
> of a compile, it claims:
> ld: cannot open -lX11: No such file or directory
> X11 stuff is in the ldconfig path...so wha
I'm trying to compile a program called dataplot. It's in Fortran,
and I've partially succeeded in converting it to C...however, at the end
of a compile, it claims:
ld: cannot open -lX11: No such file or directory
X11 stuff is in the ldconfig path...so what's going on?
-
"Brian C. White" <[EMAIL PROTECTED]> writes:
> Don't do this!!! I tried this fix for netscape and it causes problems
> with 'man'. It search X11, X11R6 and X386 directories for man pages so
> if you create a link like this, it will find all of you X manpages twice.
>
> The better solution is to
> > you might try adding an "-L/usr/X11R6/lib" to the CFLAGS line of the
> > Makeflag (or unlesss you don't use one on the gcc line".
> > I also had this sort of trouble a long time ago. Which compiler version
> > and binutils are you using?
>
> It's better to run this command from /usr:
> ln -s X
-BEGIN PGP SIGNED MESSAGE-
On Tue, 10 Sep 1996, Brian C. White wrote:
bcwhite>Don't do this!!! I tried this fix for netscape and it causes problems
bcwhite>with 'man'. It search X11, X11R6 and X386 directories for man pages so
bcwhite>if you create a link like this, it will find all of
On Tue, 10 Sep 1996, Stoyan Kenderov wrote:
> Boris Beletsky wrote:
> >
>
> Hi Boris,
>
> you might try adding an "-L/usr/X11R6/lib" to the CFLAGS line of the
> Makeflag (or unlesss you don't use one on the gcc line".
> I also had this sort of trouble a long time ago. Which compiler version
> a
It is a misnomer in the configuration of the GCC, ld I think.
just my 2 cents.
regards,
Stoyan
> - ---
> ld: cannot open -lX11: No such file or directory
> - ---
> the reason it's wierd that i do have xlibs and include files installed
--
Stoyan Kenderov/
-BEGIN PGP SIGNED MESSAGE-
hello
compilong xjed i got this wierd error
- ---
ld: cannot open -lX11: No such file or directory
- ---
the reason it's wierd that i do have xlibs and include files installed
thks for u're time
borik
___
Boris Beletsky <[EMAIL PROTECTED]>
Fo
16 matches
Mail list logo