Skip to content

Instantly share code, notes, and snippets.

@leedo
Created December 8, 2009 22:27
Show Gist options
  • Save leedo/252051 to your computer and use it in GitHub Desktop.
Save leedo/252051 to your computer and use it in GitHub Desktop.
leedo@li41-143:~/src/filter$ make
rm -f .ham.db .spam.db || echo "lol"
gcc -pg -Wall filter.c -o filter
In file included from filter.c:13:
lookup3.c: In function ‘hashlittle’:
lookup3.c:293: warning: unused variable ‘k8’
lookup3.c: In function ‘hashlittle2’:
lookup3.c:478: warning: unused variable ‘k8’
lookup3.c: In function ‘hashbig’:
lookup3.c:655: warning: unused variable ‘k8’
lookup3.c: In function ‘driver4’:
lookup3.c:965: warning: format ‘%2ld’ expects type ‘long int’, but argument 2 has type ‘uint32_t’
filter.c: In function ‘classify_message’:
filter.c:208: warning: implicit declaration of function ‘log’
filter.c:208: warning: incompatible implicit declaration of built-in function ‘log’
/tmp/ccd0rcC1.o: In function `classify_message':
filter.c:(.text+0x315c): undefined reference to `log'
filter.c:(.text+0x31f1): undefined reference to `log'
collect2: ld returned 1 exit status
make: *** [all] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment