Re: [dev] wmii build fails in cygwin

From: Anselm R Garbe <anselm_AT_garbe.us>
Date: Tue, 9 Mar 2010 13:30:00 +0000

On 9 March 2010 13:26, <marko_AT_koski-vahala.com> wrote:
> Hello!
>
> That fixed that problem.
> Next error I get is this
> LD cmd/wmiir.out
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
> find -lgcc_s
> collect2: ld returned 1 exit status
> make[1]: *** [wmiir.out] Error 1
> make: *** [dall] Error 2

Check where libgcc_s.a is on your system and add the directory to your
LDFLAGS prefixing with -L, eg
-L/path/to/the/dir/that/contains/libgcc_s.a/

Cheers,
Anselm

>
> BR Marko
>
>
>
> 2010-03-09 Anselm R Garbe wrote:
>
> On 9 March 2010 12:42, wrote:
>>> Hello!
>>>
>>> I'm trying to build wmii+ixp-3.9b1 in cygwin. However it fails with below
>>> error.
>>>
>>> MAKE all cmd/menu/
>>> CC cmd/menu/main.o
>>> cmd/menu/main.c:249: error: ‘strncasecmp’ undeclared
>>> make[2]: *** [main.o] Error 1
>>> make[1]: *** [dall] Error 2
>>> make: *** [dall] Error 2
>>>
>>> Anybody know how I can fix this?
>>
>>The quick fix would be use strncmp instead.
>>
>>Cheers,
>>Anselm
>>
>>
>>
>
Received on Tue Mar 09 2010 - 13:30:00 UTC

This archive was generated by hypermail 2.2.0 : Tue Mar 09 2010 - 13:36:03 UTC