-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue setting path with makefile in ./papitool #6
Comments
Do you read output? The output tells what the problem is."no such file or
directory". I can not tell from what I see because some part of black
screen is missing and it does not particularly tell the file or directory
name as there are multiple entries on the screen. You might be mistyping
some file or directory name or totally missing. If you have a debug option
or verbose like -vvv kind of option you can give a try. It seems not a
serious problem from what I see at first glance.
Good luck
…On Tue, Jun 4, 2019 at 9:23 AM Ash ***@***.***> wrote:
Hi i'm getting error saying no input file found after changing the path in
scam/papitool/makefile.
ill send the error shown here.The code in the make file is also present
below. Could somebody please help me with the issue. Thanks in advance.
[image: Screenshot from 2019-06-04 11:53:59]
<https://user-images.githubusercontent.com/47691483/58856106-60a7dc80-86bf-11e9-907f-abfdeea9234c.png>
***@***.***:~/Desktop/ash/SCAM/papitool$ sudo make
gcc -I/home/nrs/Desktop/ash/papi-5.4.1/src
-I/home/nrs/Desktop/ash/papi-5.4.1/src
-I/home/nrs/Desktop/ash/papi-5.4.1/src/testlib \
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.
make: *** [all] Error 4
CC=gcc
PAPI_DIR= /home/nrs/Desktop/ash/papi-5.4.1/src
EXT_OBJS=${PAPI_DIR}/testlib/do_loops.o
${PAPI_DIR}/testlib/test_utils.o
${PAPI_DIR}/testlib/dummy.o
all:
${CC} -I${PAPI_DIR} -I${PAPI_DIR} -I${PAPI_DIR}/testlib \
-g -Wall papitool.c argparse.c
${EXT_OBJS}
${PAPI_DIR}/libpapi.a
-o papitool
clean:
-rm papitool
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6?email_source=notifications&email_token=AH44KJRNBF57R2WEEBAINRLPYYC7VA5CNFSM4HSZEMCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXOGIAQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH44KJQ6HBULS2JWMGZTUHLPYYC7VANCNFSM4HSZEMCA>
.
|
@githubfoam The below image states the path I mentioned exists and the files that are metioned in the make file also exists. but still getting the no such file or directory. Somebody please help me with that. |
On the same terminal are u able to copy some text file in ${PAPI_DIR}/testlib/? Or run a simple helloworld.cc just to make sure makefile is working.Or just to isolate u can create a "virtualenv" and try. |
@githubfoam Yes i could able to copy text file in the same directory. Initially in the make file it showed like this ` CC=gcc all: clean: ` after changing the directory in make file it looked like this. ` CC=gcc all: clean: ` |
Hi i'm getting error saying no input file found after changing the path in scam/papitool/makefile.
ill send the error shown here.The code in the make file is also present below. Could somebody please help me with the issue. Thanks in advance.
nrs@NRS-PC-HP:~/Desktop/ash/SCAM/papitool$ sudo make
gcc -I/home/nrs/Desktop/ash/papi-5.4.1/src -I/home/nrs/Desktop/ash/papi-5.4.1/src -I/home/nrs/Desktop/ash/papi-5.4.1/src/testlib \
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.
make: *** [all] Error 4
The text was updated successfully, but these errors were encountered: