Mailing List Archive

Support open source code!


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

Re: tlug: Emergency Help!



--------------------------------------------------------
tlug note from "Alan B. Stone" <stoneab@example.com>
--------------------------------------------------------
Thank you.  I set up the symlinks and it seems to work.  Thanks again.

Blaine

Jason Molenda wrote:
> 
> --------------------------------------------------------
> tlug note from Jason Molenda <crash@example.com>
> --------------------------------------------------------
> Hi Blaine,
> 
> > I'm using   g++ -o secdb secdb.C -lXm -lXt -lX11   that's the command.
> 
> gcc (or g++, same thing really) will only look in a few places by
> default for your library files.  Specifically, it won't look in
> /usr/X11R6/lib (or wherever your library files are).  If your X
> libraries are in /usr/X11/lib, then you'd want to run
> 
>  g++ -o secdb secdb.C -L/usr/X11/lib -lXm -lXt -lX11
> 
> If you're including X11 header files, you should probably have
> something like -I/usr/X11/include on your command line.
> 
> There may be some sym-links to mae these header files or library files
> available invisibly.  But in general, you need to tell the compiler
> where they are.
> 
> Jason
> 
> PS-  Although it makes debugging a little weird (specifically stepping
> in gdb is non-intuitive), you can safely add "-g -O2" to your command
> line.  The resulting output file is larger, but the debug sections
> won't be loaded at execution time, so you pay no significant penalty
> for including "-g".
> -----------------------------------------------------------------
> a word from the sponsor will appear below
> -----------------------------------------------------------------
> The TLUG mailing list is proudly sponsored by TWICS - Japan's First
> Public-Access Internet System.  Now offering 20,000 yen/year flat
> rate Internet access with no time charges.  Full line of corporate
> Internet and intranet products are available.   info@example.com
> Tel: 03-3351-5977   Fax: 03-3353-6096
-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links