Re: -lX11 problem

1996-09-12 Thread Ed Donovan
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 add the -L flag to the compile line.

Agreed.

A little earlier in the thread (article's already gone) if was mentioned
you could add the -L/... flag to CFLAGS in a Makefile.  I'd like to
amend that: if the Makefile keeps LDFLAGS separately, as some do, it
belongs there instead, as a flag specifically to the linker.  Messed
this up just today :-)

-- 
Ed Donovan  [EMAIL PROTECTED]



Re: -lX11 problem

1996-09-11 Thread Boris Beletsky
-BEGIN PGP SIGNED MESSAGE-

On Tue, 10 Sep 1996, Brian C. White wrote:


bcwhiteDon't do this!!!  I tried this fix for netscape and it causes problems
bcwhitewith 'man'.  It search X11, X11R6 and X386 directories for man pages so
bcwhiteif you create a link like this, it will find all of you X manpages 
twice.
bcwhite
bcwhiteThe better solution is to add the -L flag to the compile line.
hmm.. i have /usr/X , /usr/X11R5 , /usr/X11 , /usr/X386 links to /usr/X11R6
and all works fine , except compiling xjed :-\

___
Boris Beletsky [EMAIL PROTECTED]
For pgp public key, e-mail me 
with subject get pgp-key.
___
In Linux veritas


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia+
Charset: latin1
Comment: Boris Beletsky [EMAIL PROTECTED]

iQCVAwUBMjYazQz8DjY6pgpxAQEFvgP/c1SP50/S1SHSXkMad7WrmhZs3Nzo8k1E
v4cWsNaSvXcbcekE+9vJKTcP4bn2+1Ziq9b2Uy5MFdh8FZu+oWo+CcBzL5rzZcKi
NG3EW7XlEwyBDXRwfnr7tYX51aklorpyS+UpnSNz0gf5cit6vtvkGO7yfy0hvB35
myrdND//8UI=
=7cdc
-END PGP SIGNATURE-



Re: -lX11 problem

1996-09-11 Thread Brian C. White
  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 X11R6 X11

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 add the -L flag to the compile line.
 
  Brian
 ( [EMAIL PROTECTED] )
 
---
 Generated by Signify v1.00.  For this and more, visit http://www.verisim.com/



-lX11 problem

1996-09-10 Thread Boris Beletsky
-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]
For pgp public key, e-mail me 
with subject get pgp-key.
___
In Linux veritas


-BEGIN PGP SIGNATURE-
Version: 2.6.3ia+
Charset: latin1
Comment: Boris Beletsky [EMAIL PROTECTED]

iQCVAwUBMjS3Qwz8DjY6pgpxAQFTuwQAmzIRBEkTfsgaFUT3RuO73cx0CCcR4FFj
eYrve+No1ME1dvhGqKOSCExwH94h/8RDxjniSju2Rv0F9z7fnYKMJ//TJFaQ4k4Z
BivS3TbNZEF36biCXoq7TXsfj/fMzuskqgUfagzx3Y1gLr7yGYDAltIkTFm1QXdv
gLqBdLWVNkw=
=o/uU
-END PGP SIGNATURE-



Re: -lX11 problem

1996-09-10 Thread Stoyan Kenderov
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
and binutils are you using?

It is a misnomer in the configuration of the GCC, ld I think.

RESPONSIBILITY OFF
just my 2 cents.
RESPONSIBILITY ON

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/ phone: +49 721 9652 220
NTG Netzwerk und Telematic GmbH  \/  fax:   +49 721 9652 210
Vincenz-Priessnitz-Str. 3/\ LINK email:
[EMAIL PROTECTED]
D-76131 Karlsruhe, Germany  /___
http://www.xlink.net/~kenderov
Opinions stated herein are my own, not necessarily my employer's 
  [finger me for my PGP public key]



Re: -lX11 problem

1996-09-10 Thread Vadik V. Vygonets
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
 and binutils are you using?

It's better to run this command from /usr:
ln -s X11R6 X11

 It is a misnomer in the configuration of the GCC, ld I think.
 
 RESPONSIBILITY OFF
 just my 2 cents.
 RESPONSIBILITY ON

#ifndef RESPONSIBILITY
I hate HTMLisms!  I like C! :)
#endif

Vad.

++_ 
Vadik V. (_`[EMAIL PROTECTED]  http://www.arbornet.org/~vadik/
Vygonets (_.lf  PGP public key (ID 9FC1DED9) available from surfnet.nl
Linux hackers are funny people: They count the time in patchlevels.