You can cd into src from the shell, so access rights aren't an issue.
Has  make changed to another directory for building some other target ?
e.g. make clean all 
may change directory to run rules for target ``clean''

Regards,
Mohan S N

tailuo2002 <[EMAIL PROTECTED]> wrote: Hi,all

I found a strange problem. This is my Makefile:

all:
  cd src
  ls 

When I run make , I got these error messages:

cd src
cd: can't cd to src
*** Error code 2

But my working directory contains a src directory, and I can cd to src
at the Bash command line.

My OS is FreeBSD 6.1, Bash shell.

Thank you.




 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

Reply via email to