The problem is that ghc eats -DHAVE_CONFIG_H option from libwww-config --cflags. If I run:
% ghc -c hslibwww.c `libwww-config --cflags` -optc-DHAVE_CONFIG_H It compiles fine. I guess this should be dealt with in configure step? For now I will just put needed flags into makefile. Regards, Dmitry 2007/12/19, Dmitry Kurochkin <[EMAIL PROTECTED]>: > Debian testing. I will try it on unstable when get home. > I'll see if I can make ghc to print commands it runs. > > Regards, > Dmitry > > 2007/12/19, David Roundy <[EMAIL PROTECTED]>: > > This is puzzling. What OS are you using? It seems like ghc should be > > calling the same gcc you've got on the system... :( > > > > David > > > > On Dec 19, 2007 10:51 AM, Dmitry Kurochkin <[EMAIL PROTECTED]> wrote: > > > Copied too fast. Here is what I get: > > > > > > % ghc -c hslibwww.c `libwww-config --cflags` > > > In file included from /usr/include/w3c-libwww/WWWLib.h:50, > > > > > > from hslibwww.c:5:0: > > > > > > /usr/include/w3c-libwww/wwwsys.h:1324:0: > > > error: conflicting types for 'sys_errlist' > > > _______________________________________________ darcs-devel mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-devel
