I wish anyone could give a clue on this: I've started the cs50 course, amazing!. But, I am not using the cs50 appliance, I use fedora 20 OS, got installed the cs50 library according guidelines but I can't help to get this output at one of the examples: [week 1, lecture continued, 44:44]
$ make condition0
cc condition0.c -o condition0
/tmp/ccYqPG01.o: In function `main':
condition0.c:(.text+0x16): undefined reference to `GetInt'
collect2: error: ld returned 1 exit status
make: *** [condition0] Error 1
Here the script as reference: I'd appreciate any help!
#include <stdio.h>
#include <cs50.h>
int main(void)
{
printf("I'd like an int, please: ");
int n = GetInt();
if (n > 0)
{
printf("You picked a positive number.\n");
}
else if (n==0)
{
printf("You picked zero!\n");
}
else
{
printf("You picked a negative number.\n");
}
}