bug-gnulib
[Top][All Lists]
Advanced

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

Re: Gnulib in non-Autotools projects with --create-testdir


From: Bruno Haible
Subject: Re: Gnulib in non-Autotools projects with --create-testdir
Date: Tue, 01 Sep 2020 00:12:13 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; )

John Scott wrote:
> gllib/unistd.h:621:3: error: #error "Please include config.h first."
> 621 |  #error "Please include config.h first."
> |   ^~~~~
> 
> I'm not using Autotools for my project, so I don't get why I should include 
> config.h.

This is explained in
<https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html>.

> If I do that anyway, and I pass -lws2_32 to gcc as hinted by 
> configure, my program works under Wine! Having to guesstimate that linker 
> flag 
> may be a little less clean than I'd hoped, but it's great that it works.

I tried to explain, in the preceding mail, how you can handle the link
dependencies in a systematic manner.

Bruno




reply via email to

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