Skip to content
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

Permission Denied when running pisstv.c #4

Open
KenwoodFox opened this issue Apr 11, 2018 · 2 comments
Open

Permission Denied when running pisstv.c #4

KenwoodFox opened this issue Apr 11, 2018 · 2 comments

Comments

@KenwoodFox
Copy link

Hey! Ive done everything i could think of to make this work, i made a modification to the .sh file in your code to let it use a webcam image of the same size, image.png, i dont have a pi camera. Here is what Im getting though when i try to run pisstv.c as included in the sstvcam.sh

./pisstv.c: 2: ./pisstv.c: //: Permission denied
./pisstv.c: 3: ./pisstv.c: //: Permission denied
./pisstv.c: 5: ./pisstv.c: //: Permission denied
./pisstv.c: 7: ./pisstv.c: //: Permission denied
./pisstv.c: 8: ./pisstv.c: //: Permission denied
./pisstv.c: 9: ./pisstv.c: //: Permission denied
./pisstv.c: 22: ./pisstv.c: //: Permission denied
./pisstv.c: 23: ./pisstv.c: //: Permission denied
./pisstv.c: 24: ./pisstv.c: //: Permission denied
./pisstv.c: 31: ./pisstv.c: //: Permission denied
./pisstv.c: 34: ./pisstv.c: //: Permission denied
./pisstv.c: 36: ./pisstv.c: //#define: not found
./pisstv.c: 46: ./pisstv.c: //: Permission denied
./pisstv.c: 47: ./pisstv.c: //: Permission denied
./pisstv.c: 48: ./pisstv.c: //: Permission denied
./pisstv.c: 50: ./pisstv.c: uint16_t: not found
./pisstv.c: 51: ./pisstv.c: uint32_t: not found
./pisstv.c: 52: ./pisstv.c: double: not found
./pisstv.c: 53: ./pisstv.c: double: not found
./pisstv.c: 55: ./pisstv.c: FILE: not found
./pisstv.c: 56: ./pisstv.c: FILE: not found
./pisstv.c: 57: ./pisstv.c: gdImagePtr: not found
./pisstv.c: 58: ./pisstv.c: uint16_t: not found
./pisstv.c: 60: ./pisstv.c: //: Permission denied
./pisstv.c: 61: ./pisstv.c: //: Permission denied
./pisstv.c: 62: ./pisstv.c: //: Permission denied
./pisstv.c: 64: ./pisstv.c: Syntax error: "(" unexpected
sudo: ./pifm_sstv: command not found

A little help would be super apreciated! thank you!

@AgriVision
Copy link
Owner

AgriVision commented Apr 11, 2018

you need to compile pisstv.c as stated in line 4 of the source:
// Note: Compile me thus: gcc -lgd -lmagic -o sstvX sstvX.c

@KenwoodFox
Copy link
Author

KenwoodFox commented Apr 11, 2018

Sorry again if im just being stupid, I have no idea where to really look for how to fix this

pi@raspberrypi:~/SSTV/pisstv $ gcc -lgd -lmagic -o sstvX sstvX.c
gcc: error: sstvX.c: No such file or directory
pi@raspberrypi:~/SSTV/pisstv $ gcc -lgd -lmagic -o pisstv pisstv.c
/usr/bin/ld: /tmp/ccuRXYyq.o: undefined reference to symbol 'sin@@GLIBC_2.4'
//lib/arm-linux-gnueabihf/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
pi@raspberrypi:~/SSTV/pisstv $

Still cant seem to compile, am i missing software?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants