[Top][All Lists]

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

[Groff] [PATCH] compiling error on grolbp with latest CVS update

From: Nicola Bernardini
Subject: [Groff] [PATCH] compiling error on grolbp with latest CVS update
Date: Fri, 9 Jun 2000 09:48:15 +0200 (CEST)

Last night I updated my groff sandbox from CVS and trying to compile
it I got this compiling error:

make[2]: Entering directory 
g++ -mcpu=k6 -I. -I/usr/local/user/nicb/tr/src/groff-CVS/src/devices/grolbp 
-I/usr/local/user/nicb/tr/src/groff-CVS/src/include -DHAVE_UNISTD_H=1 
-DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DSYS_SIGLIST_DECLARED=1  -g -O2  -c declaration of C function `int strncasecmp(const char *, const char 
*, int)' conflicts with
/usr/include/strings.h:52: previous declaration `int strncasecmp(const char *, 
const char *, unsigned int)' here
make[2]: *** [lbp.o] Error 1
make[2]: Leaving directory 
make[1]: *** [src/devices/grolbp] Error 2
make[1]: Leaving directory `/usr/local/user/nicb/tr/src/groff-CVS'
make: *** [all] Error 2

With all evidence, there's a typo in the file. Here's a patch for

--- src/devices/grolbp/      Fri Jun  9 09:38:24 2000
+++ src/devices/grolbp/   Fri Jun  9 09:38:27 2000
@@ -31,7 +31,7 @@
 #include "lbp.h"
 #include "charset.h"
 extern "C" {
   // SunOS's string.h fails to declare this.
   int strncasecmp(const char *, const char *, int);

hope this helps.


|Nicola Bernardini     |
|E-mail: address@hidden |

reply via email to

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