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

Re: heimdal 1.1 not building under cygwin



Hello All,

David and I have have a private conversation about building under  
cygwin, now it builds static binaries fine but there are still some  
issues with building DLLs.

Love


11 apr 2008 kl. 22.03 skrev David Rosenstrauch:

> David Rosenstrauch wrote:
>> David Rosenstrauch wrote:
>>> Ugh.  Just found another one:
>>>
>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../include - 
>>> I../../lib/roken -I../../lib/roken -D_LARGE_FILES= -Wall -Wmissing- 
>>> prototypes -Wpointer-arith -Wbad-function-cast -Wmissing- 
>>> declarations -Wnested-externs -g -O2 -c stringprep.c -DDLL_EXPORT - 
>>> DPIC -o .libs/stringprep.o
>>> stringprep.c:61: error: conflicting types for 'wind_stringprep'
>>> wind.h:63: error: previous declaration of 'wind_stringprep' was here
>>> stringprep.c:61: error: conflicting types for 'wind_stringprep'
>>> wind.h:63: error: previous declaration of 'wind_stringprep' was here
>>> make[3]: *** [stringprep.lo] Error 1
>>> make[3]: Leaving directory `/cygdrive/c/dave/heimdal-svn/lib/wind'
>>> make[2]: *** [all] Error 2
>>> make[2]: Leaving directory `/cygdrive/c/dave/heimdal-svn/lib/wind'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/cygdrive/c/dave/heimdal-svn/lib'
>>> make: *** [all-recursive] Error 1
>>>
>>> DR
>> I'd guess there's probably going to be other similar probs too.   
>> Any chance it might be possible to try building under cygwin like I  
>> am so that I wouldn't have to report these one at a time?
>> Thanks,
>> DR
>
> For instance:
>
> make[2]: Entering directory `/cygdrive/c/dave/heimdal-svn/lib/kafs'
> /bin/sh ../../libtool --tag=CC   --mode=compile gcc  -DHAVE_CONFIG_H  
> -I. -I. -I../../include  -I../../lib/roken -I../../lib/roken  - 
> DROKEN_RENAME   -I../../lib/krb5 -D_LARGE_FILES= -Wall -Wmissing- 
> prototypes -Wpointer-arith -Wbad-function-cast -Wmissing- 
> declarations -Wnested-externs  -g -O2 -c -o afssys.lo afssys.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../include - 
> I../../lib/roken -I../../lib/roken -DROKEN_RENAME -I../../lib/krb5 - 
> D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad- 
> function-cast -Wmissing-declarations -Wnested-externs -g -O2 -c  
> afssys.c  -DDLL_EXPORT -DPIC -o .libs/afssys.o
> afssys.c: In function `k_hasafs':
> afssys.c:442: warning: implicit declaration of function `_IOWR'
> afssys.c:442: warning: nested extern declaration of `_IOWR'
> afssys.c:442: error: parse error before "struct"
> afssys.c:444: error: parse error before "struct"
> afssys.c:459: warning: nested extern declaration of `_IOWR'
> afssys.c:459: error: parse error before "struct"
> afssys.c:462: error: parse error before "struct"
> afssys.c: At top level:
> afssys.c:74: warning: 'afs_syscalls' defined but not used
> make[2]: *** [afssys.lo] Error 1
> make[2]: Leaving directory `/cygdrive/c/dave/heimdal-svn/lib/kafs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/c/dave/heimdal-svn/lib'
> make: *** [all-recursive] Error 1
>
> Tnx,
>
> DR