Hello Alpine Users and Devs,

My previously compiled version of v2.26 is still working fine, but I haven't 
been able to build alpine on Fedora since F42.  F44 is out, now, and I still 
cannot build it.  I have applied patch 2.26.

Here are the errors at the end of the build failure:

...
gcc -DHAVE_CONFIG_H   -I../../include -I../../include -I/usr/include/openssl   
-g -O2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT collate.o -MD -MP 
-MF .deps/collate.Tpo -c -o collate.o collate.c
In file included from collate.c:15: collate.c: In function ‘set_collation’: ../../include/system.h:94:19: error: conflicting types for ‘strcoll’; have ‘int(void)’
   94 | # define collator strcoll
| ^~~~~~~ collate.c:29:16: note: in expansion of macro ‘collator’
   29 |     extern int collator();  /* set to strcoll if available in system.h 
*/
| ^~~~~~~~ In file included from ../../include/system.h:45:
/usr/include/string.h:178:12: note: previous declaration of ‘strcoll’ with type 
‘int(const char *, const char *)’
  178 | extern int strcoll (const char *__s1, const char *__s2)
| ^~~~~~~ collate.c:31:15: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(char *, char *)’ [-Wincompatible-pointer-types]
   31 |     pcollator = strucmp;
| ^ In file included from collate.c:17: collate.h:25:11: note: ‘strucmp’ declared here
   25 | int       strucmp(char *, char *);
| ^~~~~~~ collate.c: In function ‘sstrcasecmp’: collate.c:79:13: error: too many arguments to function ‘pcollator’; expected 0, have 2
   79 |     return((*pcollator)(*(char **)s1, *(char **)s2));
      |            ~^~~~~~~~~~~ ~~~~~~~~~~~~
make[4]: *** [Makefile:458: collate.o] Error 1
...

--
Porcelain Mouse
_______________________________________________
Alpine-info mailing list
[email protected]
http://mailman23.u.washington.edu/mailman/listinfo/alpine-info

Reply via email to