bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kill not defined - diffutils-3.0 mingw32


From: Henry
Subject: kill not defined - diffutils-3.0 mingw32
Date: Wed, 5 Jan 2011 11:24:25 -0500

Platform - Windows Server 32 - 2003, MinGW 32
GCC-4.5

  CC       sdiff.o
> sdiff.c: In function 'main':
> sdiff.c:590:7: warning: passing argument 2 of 'execvp' from incompatible
> pointer type
> c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/process.h:120:42:
> note: expected 'const
> ar * const*' but argument is of type 'char **'
> sdiff.c: In function 'checksigs':
> sdiff.c:858:7: warning: implicit declaration of function 'kill'
>   CCLD     cmp.exe
>   CCLD     diff.exe
>   CCLD     sdiff.exe
>   CCLD     diff3.exe
> sdiff.o: In function `checksigs':
> C:\MinGW\msys\1.0\home\Administrator\build\diffutils-3.0\src/sdiff.c:858:
> undefined reference to
> ll'
> collect2: ld returned 1 exit status
> make[2]: *** [sdiff.exe] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/Administrator/build/diffutils-3.0/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/Administrator/build/diffutils-3.0/src'
> make: *** [all-recursive] Error 1
>

For some reason it thinks kill is a function within the sdiff.c
It compiles fine when adding the following:
     #define kill


reply via email to

[Prev in Thread] Current Thread [Next in Thread]