adamcaudill/ccsrch — Issue #11: Compile fails on Ubuntu 11.04
Author: adamcaudill
Created: 2012-01-31 17:23:42+00:00
State: open

See log:

```
adam@ubuntu:~/adamcaudill-ccsrch-8e62b09$ make
gcc -O2 -static -I./ -c ccsrch.c
ccsrch.c: In function ‘cleanup_shtuff’:
ccsrch.c:698:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat]
ccsrch.c:700:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat]
ccsrch.c: In function ‘is_allowed_file_type’:
ccsrch.c:784:7: warning: assignment makes pointer from integer without a cast [enabled by default]
ccsrch.c: In function ‘main’:
ccsrch.c:871:25: warning: assignment makes pointer from integer without a cast [enabled by default]
In file included from /usr/include/string.h:642:0,
from ccsrch.c:25:
In function ‘strncat’,
inlined from ‘print_result’ at ccsrch.c:97:10:
/usr/include/i386-linux-gnu/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
In function ‘strncat’,
inlined from ‘print_result’ at ccsrch.c:103:12:
/usr/include/i386-linux-gnu/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
In function ‘strncat’,
inlined from ‘print_result’ at ccsrch.c:121:14:
/usr/include/i386-linux-gnu/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
In function ‘strncat’,
inlined from ‘print_result’ at ccsrch.c:128:14:
/usr/include/i386-linux-gnu/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
In function ‘strncat’,
inlined from ‘print_result’ at ccsrch.c:148:14:
/usr/include/i386-linux-gnu/bits/string3.h:152:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default]
gcc -O2 -static -I./ -s ccsrch.o -L./ -o ccsrch
ccsrch.o: In function `is_allowed_file_type':
ccsrch.c:(.text+0x186f): undefined reference to `strlwr'
ccsrch.o: In function `main':
ccsrch.c:(.text.startup+0xe1): undefined reference to `strlwr'
collect2: ld returned 1 exit status
make: *** [ccsrch] Error 1
```