Re: [dev] wmii build fails in cygwin

From: <marko_AT_koski-vahala.com>
Date: Tue, 9 Mar 2010 14:45:54 +0100

Hello!

I'll answer myself. I created a symlink to solve it but now I get the next problem

MAKE all libwmii_hack/
CC libwmii_hack/hack.o_pic
libwmii_hack/hack.c:1: warning: -fPIC ignored for target (all code is position i ndependent)
In file included from libwmii_hack/hack.c:14:
libwmii_hack/util.c:15: warning: array subscript has type ‘char’
libwmii_hack/util.c:20: warning: array subscript has type ‘char’
libwmii_hack/hack.c:50: warning: implicit declaration of function ‘unsetenv’
LD lib/libwmii_hack.so
/tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:17: undefined reference to `_XInternAtom'
/tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:29: undefined reference to `_XChangePrope rty'
/tmp/wmii+ixp-3.9b1/libwmii_hack/x11.c:90: undefined reference to `_XGetWindowPr operty'
/tmp/wmii+ixp-3.9b1/libwmii_hack/hack.c:68: undefined reference to `_XInternAtom s'
collect2: ld returned 1 exit status
make[1]: *** [../lib/libwmii_hack.so] Error 1
make: *** [dall] Error 2

BR Marko

 2010-03-09 marko_AT_koski-vahala.com wrote:

>Hello!
>
>I don't have a file with that name but I have one called libgcc_s.dll.a.
>So the question is if I should rename that file or if it is possible to change the code to search for libgcc_s*.a
>
>BR Marko
>
>
> 2010-03-09 Anselm R Garbe wrote:
>
>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:45:54 UTC

This archive was generated by hypermail 2.2.0 : Tue Mar 09 2010 - 13:48:04 UTC