Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-21-2006, 07:24 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
about include in gcc.

SDIR= ..
BDIR= $(HOME)/pvm3/bin


INC_DIRS= -I$(SDIR)/. -I$(GA_INC_DIR) -I${PVM_ROOT}/include
LIBS= -lpvm3 -lga -lm

I've declared PVM_ROOT in .profile.
When I do make
it doesn't find pvm3.h which is in
Also the gaconfig.h is not found which is in

SDIR= ..
shouldn't it go to $HOME/ga
other than galib/246/ga?
Old 11-22-2006, 09:12 AM   #2
Senior Member
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,710

Rep: Reputation: 107Reputation: 107

#1. bash reads .bash_profile .bash_login .profile, in this order and executes first exist and executable one only. .profile has least priority.

#2. Also, these need to be environmental variable, (not shell variable)

#3. I need more time to figure out your last question.

Happy Penguins!!
Old 11-22-2006, 10:38 AM   #3
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Don't you want to change those curly braces to regular braces?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get gcc to find my 'include' and 'lib'? renshao Linux - General 4 03-11-2006 08:02 AM
Where is my other gcc include files ?? DevandeAsk Ubuntu 1 01-30-2006 09:04 AM
gcc include apocolpse Programming 6 11-03-2004 02:36 PM
gcc on 9.1 include problem skywarp Slackware 3 06-04-2004 11:05 PM
GCC include path. jwilson Linux - General 1 04-02-2001 04:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration