N
Nadina
Hello,
I have been getting the following error:
ld: fatal: file my_program: creation interrupted: No space left on
devicecollect2: ld returned 1 exit status
while I was trying to link several .o files in my project. I googled
this error and it seems to be caused by double import of external
variables/constants/functions.
However when I could not figure out what caused the error I stripped
down my program to a simple "hello world" AND... surprize I keep
getting the same error.
As long as I do
g++ my_program.c -o my_program
everything is fine. But if first build the object and then the
executable, I run into the error.
g++ -c my_program.c
g++ my_program.o -o my_program
ld: fatal: file my_program: creation interrupted: No space left on
devicecollect2: ld returned 1 exit status
Does anyone know what causes this error to occur and how can I fix it?
Thank you!
Nadina
I have been getting the following error:
ld: fatal: file my_program: creation interrupted: No space left on
devicecollect2: ld returned 1 exit status
while I was trying to link several .o files in my project. I googled
this error and it seems to be caused by double import of external
variables/constants/functions.
However when I could not figure out what caused the error I stripped
down my program to a simple "hello world" AND... surprize I keep
getting the same error.
As long as I do
g++ my_program.c -o my_program
everything is fine. But if first build the object and then the
executable, I run into the error.
g++ -c my_program.c
g++ my_program.o -o my_program
ld: fatal: file my_program: creation interrupted: No space left on
devicecollect2: ld returned 1 exit status
Does anyone know what causes this error to occur and how can I fix it?
Thank you!
Nadina