[Gambas-user] Gambas and Cygwin

Trorrr [Héctor Fernández] trorrr at ...397...
Fri Jan 7 16:09:03 CET 2005


 --- Henri Girard <girardhenri at ...67...> escribió: 
> I installed qt and kde-cygwin...
> works fine... trying to compile now...
> We tried few months ago... i will see
> how different it is now...
> Henri
> 

I installed too qt and kde in cygwin, now i was trying
with gambas.  The ./configure seems to work OK (i
don't need SDL nor DB), so i tried to compile it.  It
crashes, :-(, but i don't know if the reason is try to
do it in cygwin or something else.  Here are the last
lines:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
gbcurl.lo -MD -MP -MF .deps/gbcurl.Tpo -c gbcurl.c 
-DPIC -o .libs/gbcurl.o
if /bin/bash ../../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share 
-I/usr/include/curl/    -g -O2 -pipe 
-Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP
-MF ".deps/main.Tpo" 
-c -o main.lo main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm
-f ".deps/main.Tpo"; 
exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
main.lo -MD -MP -MF .deps/main.Tpo -c main.c  -DPIC -o
.libs/main.o
if /bin/bash ../../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share 
-I/usr/include/curl/    -g -O2 -pipe 
-Wall -fno-strict-aliasing -g -Os -MT CCurl.lo -MD -MP
-MF 
".deps/CCurl.Tpo" -c -o CCurl.lo CCurl.c; \
then mv -f ".deps/CCurl.Tpo" ".deps/CCurl.Plo"; else
rm -f 
".deps/CCurl.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
CCurl.lo -MD -MP -MF .deps/CCurl.Tpo -c CCurl.c  -DPIC
-o .libs/CCurl.o
CCurl.c: In function `CCURL_stream_lof':
CCurl.c:86: warning: passing arg 1 of
`curl_easy_getinfo' makes pointer 
from integer without a cast
CCurl.c: In function `CCURL_stream_eof':
CCurl.c:97: warning: passing arg 1 of
`curl_easy_getinfo' makes pointer 
from integer without a cast
CCurl.c: In function `CCURL_stream_read':
CCurl.c:108: warning: passing arg 1 of
`curl_easy_getinfo' makes pointer 
from integer without a cast
CCurl.c: In function `CCURL_Manage_ErrCode':
CCurl.c:172: warning: passing arg 1 of `fclose' from
incompatible pointer 
type
CCurl.c:173: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:180: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:186: warning: use of cast expressions as
lvalues is deprecated
CCurl.c: In function `CCURL_stop':
CCurl.c:202: warning: passing arg 1 of `fclose' from
incompatible pointer 
type
CCurl.c:203: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:210: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:212: warning: use of cast expressions as
lvalues is deprecated
CCurl.c: In function `CCURL_URL':
CCurl.c:365: warning: use of cast expressions as
lvalues is deprecated
CCurl.c: In function `CCURL_new':
CCurl.c:383: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:384: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:385: warning: use of cast expressions as
lvalues is deprecated
CCurl.c:391: warning: assignment from incompatible
pointer type
CCurl.c: In function `CCURL_free':
CCurl.c:400: warning: passing arg 1 of `fclose' from
incompatible pointer 
type
if /bin/bash ../../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share 
-I/usr/include/curl/    -g -O2 -pipe 
-Wall -fno-strict-aliasing -g -Os -MT CHttpClient.lo
-MD -MP -MF 
".deps/CHttpClient.Tpo" -c -o CHttpClient.lo
CHttpClient.c; \
then mv -f ".deps/CHttpClient.Tpo"
".deps/CHttpClient.Plo"; else rm -f 
".deps/CHttpClient.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
CHttpClient.lo -MD -MP -MF .deps/CHttpClient.Tpo -c
CHttpClient.c  -DPIC -o 
.libs/CHttpClient.o
CHttpClient.c: In function `http_header_curl':
CHttpClient.c:136: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c: In function `http_write_curl':
CHttpClient.c:153: warning: passing arg 4 of `fwrite'
from incompatible 
pointer type
CHttpClient.c: In function `CHTTPCLIENT_new':
CHttpClient.c:338: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c:345: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c: In function
`http_initialize_curl_handle':
CHttpClient.c:379: warning: implicit declaration of
function `CCURL_stop'
CHttpClient.c:381: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c:386: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c:413: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c: In function `CHTTPCLIENT_Get':
CHttpClient.c:440: warning: use of cast expressions as
lvalues is 
deprecated
CHttpClient.c: In function `CHTTPCLIENT_Post':
CHttpClient.c:503: warning: use of cast expressions as
lvalues is 
deprecated
if /bin/bash ../../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share 
-I/usr/include/curl/    -g -O2 -pipe 
-Wall -fno-strict-aliasing -g -Os -MT CFtpClient.lo
-MD -MP -MF 
".deps/CFtpClient.Tpo" -c -o CFtpClient.lo
CFtpClient.c; \
then mv -f ".deps/CFtpClient.Tpo"
".deps/CFtpClient.Plo"; else rm -f 
".deps/CFtpClient.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
CFtpClient.lo -MD -MP -MF .deps/CFtpClient.Tpo -c
CFtpClient.c  -DPIC -o 
.libs/CFtpClient.o
CFtpClient.c: In function `ftp_read_curl':
CFtpClient.c:59: warning: initialization from
incompatible pointer type
CFtpClient.c:60: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c: In function `ftp_write_curl':
CFtpClient.c:73: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c:77: warning: passing arg 4 of `fwrite'
from incompatible 
pointer type
CFtpClient.c: In function
`ftp_initialize_curl_handle':
CFtpClient.c:112: warning: implicit declaration of
function `CCURL_stop'
CFtpClient.c:114: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c:119: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c:130: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c: In function `CFTPCLIENT_Get':
CFtpClient.c:180: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c: In function `CFTPCLIENT_Put':
CFtpClient.c:212: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c: In function `CFTPCLIENT_new':
CFtpClient.c:237: warning: use of cast expressions as
lvalues is deprecated
CFtpClient.c:242: warning: use of cast expressions as
lvalues is deprecated
if /bin/bash ../../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share 
-I/usr/include/curl/    -g -O2 -pipe 
-Wall -fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP
-MF ".deps/CNet.Tpo" 
-c -o CNet.lo CNet.c; \
then mv -f ".deps/CNet.Tpo" ".deps/CNet.Plo"; else rm
-f ".deps/CNet.Tpo"; 
exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
CNet.lo -MD -MP -MF .deps/CNet.Tpo -c CNet.c  -DPIC -o
.libs/CNet.o
if /bin/bash ../../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share 
-I/usr/include/curl/    -g -O2 -pipe 
-Wall -fno-strict-aliasing -g -Os -MT CProxy.lo -MD
-MP -MF 
".deps/CProxy.Tpo" -c -o CProxy.lo CProxy.c; \
then mv -f ".deps/CProxy.Tpo" ".deps/CProxy.Plo"; else
rm -f 
".deps/CProxy.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
-I../../../../src/share 
-I/usr/include/curl/ -g -O2 -pipe -Wall
-fno-strict-aliasing -g -Os -MT 
CProxy.lo -MD -MP -MF .deps/CProxy.Tpo -c CProxy.c 
-DPIC -o .libs/CProxy.o
/bin/bash ../../../../libtool --mode=link gcc  -g -O2
-pipe -Wall 
-fno-strict-aliasing -g -Os   -o lib.gb.net.curl.la
-rpath 
/opt/gambas/lib/gambas -no-undefined gbcurl.lo main.lo
CCurl.lo 
CHttpClient.lo CFtpClient.lo CNet.lo CProxy.lo -lc
-L/usr/lib -lcurl -lssl 
-lcrypto -lgdi32 -lwinmm -lz 
gcc -shared  .libs/gbcurl.o .libs/main.o .libs/CCurl.o
.libs/CHttpClient.o 
.libs/CFtpClient.o .libs/CNet.o .libs/CProxy.o 
-L/usr/lib 
/usr/lib/libcurl.dll.a -lssl -lcrypto -lgdi32 -lwinmm
-lz  -o 
.libs/cyg.gb.net.curl-0.dll
-Wl,--image-base=0x10000000 
-Wl,--out-implib,.libs/lib.gb.net.curl.dll.a
Creating library file: .libs/lib.gb.net.curl.dll.a
creating lib.gb.net.curl.la
(cd .libs && rm -f lib.gb.net.curl.la && ln -s
../lib.gb.net.curl.la 
lib.gb.net.curl.la)
make[5]: Leaving directory
`/home/Trorrr/gambas-1.0.1/src/lib/net/curl'
make[5]: Entering directory
`/home/Trorrr/gambas-1.0.1/src/lib/net'
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF
".deps/main.Tpo" -c -o 
main.lo main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm
-f ".deps/main.Tpo"; 
exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
main.lo -MD -MP -MF 
.deps/main.Tpo -c main.c  -DPIC -o .libs/main.o
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT tools.lo -MD -MP -MF
".deps/tools.Tpo" -c 
-o tools.lo tools.c; \
then mv -f ".deps/tools.Tpo" ".deps/tools.Plo"; else
rm -f 
".deps/tools.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
tools.lo -MD -MP -MF 
.deps/tools.Tpo -c tools.c  -DPIC -o .libs/tools.o
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT CDnsClient.lo -MD -MP
-MF 
".deps/CDnsClient.Tpo" -c -o CDnsClient.lo
CDnsClient.c; \
then mv -f ".deps/CDnsClient.Tpo"
".deps/CDnsClient.Plo"; else rm -f 
".deps/CDnsClient.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
CDnsClient.lo -MD -MP 
-MF .deps/CDnsClient.Tpo -c CDnsClient.c  -DPIC -o
.libs/CDnsClient.o
CDnsClient.c: In function `dns_get_name':
CDnsClient.c:192: warning: implicit declaration of
function 
`gethostbyaddr_r'
CDnsClient.c: In function `dns_get_ip':
CDnsClient.c:240: warning: implicit declaration of
function 
`gethostbyname_r'
CDnsClient.c: In function `CDNSCLIENT_GetHostName':
CDnsClient.c:522: warning: passing arg 1 of
`gethostbyaddr' from 
incompatible pointer type
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT CSocket.lo -MD -MP -MF
".deps/CSocket.Tpo" 
-c -o CSocket.lo CSocket.c; \
then mv -f ".deps/CSocket.Tpo" ".deps/CSocket.Plo";
else rm -f 
".deps/CSocket.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
CSocket.lo -MD -MP -MF 
.deps/CSocket.Tpo -c CSocket.c  -DPIC -o
.libs/CSocket.o
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT CServerSocket.lo -MD
-MP -MF 
".deps/CServerSocket.Tpo" -c -o CServerSocket.lo
CServerSocket.c; \
then mv -f ".deps/CServerSocket.Tpo"
".deps/CServerSocket.Plo"; else rm -f 
".deps/CServerSocket.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
CServerSocket.lo -MD -MP 
-MF .deps/CServerSocket.Tpo -c CServerSocket.c  -DPIC
-o 
.libs/CServerSocket.o
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT CUdpSocket.lo -MD -MP
-MF 
".deps/CUdpSocket.Tpo" -c -o CUdpSocket.lo
CUdpSocket.c; \
then mv -f ".deps/CUdpSocket.Tpo"
".deps/CUdpSocket.Plo"; else rm -f 
".deps/CUdpSocket.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
CUdpSocket.lo -MD -MP 
-MF .deps/CUdpSocket.Tpo -c CUdpSocket.c  -DPIC -o
.libs/CUdpSocket.o
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT CSerialPort.lo -MD -MP
-MF 
".deps/CSerialPort.Tpo" -c -o CSerialPort.lo
CSerialPort.c; \
then mv -f ".deps/CSerialPort.Tpo"
".deps/CSerialPort.Plo"; else rm -f 
".deps/CSerialPort.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
CSerialPort.lo -MD -MP 
-MF .deps/CSerialPort.Tpo -c CSerialPort.c  -DPIC -o
.libs/CSerialPort.o
if /bin/bash ../../../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../src/share  -D_REENTRANT    -g
-O2 -pipe -Wall 
-fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP -MF
".deps/CNet.Tpo" -c -o 
CNet.lo CNet.c; \
then mv -f ".deps/CNet.Tpo" ".deps/CNet.Plo"; else rm
-f ".deps/CNet.Tpo"; 
exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I../../../src/share -D_REENTRANT 
-g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT
CNet.lo -MD -MP -MF 
.deps/CNet.Tpo -c CNet.c  -DPIC -o .libs/CNet.o
CNet.c: In function `ToIPv4':
CNet.c:86: warning: embedded `\0' in format
CNet.c:89: warning: embedded `\0' in format
/bin/bash ../../../libtool --mode=link gcc  -g -O2
-pipe -Wall 
-fno-strict-aliasing -g -Os   -o lib.gb.net.la -rpath 
/opt/gambas/lib/gambas -no-undefined main.lo tools.lo
CDnsClient.lo 
CSocket.lo CServerSocket.lo CUdpSocket.lo
CSerialPort.lo CNet.lo -lc 
-lpthread 
gcc -shared  .libs/main.o .libs/tools.o
.libs/CDnsClient.o .libs/CSocket.o 
.libs/CServerSocket.o .libs/CUdpSocket.o
.libs/CSerialPort.o .libs/CNet.o  
-lpthread  -o .libs/cyg.gb.net-0.dll
-Wl,--image-base=0x10000000 
-Wl,--out-implib,.libs/lib.gb.net.dll.a
Creating library file: .libs/lib.gb.net.dll.a
.libs/CDnsClient.o(.text+0x22e): In function
`dns_get_name':
/home/Trorrr/gambas-1.0.1/src/lib/net/CDnsClient.c:192:
undefined reference 
to `_gethostbyaddr_r'
.libs/CDnsClient.o(.text+0x33c): In function
`dns_get_ip':
/home/Trorrr/gambas-1.0.1/src/lib/net/CDnsClient.c:240:
undefined reference 
to `_gethostbyname_r'
collect2: ld returned 1 exit status
make[5]: *** [lib.gb.net.la] Error 1
make[5]: Leaving directory
`/home/Trorrr/gambas-1.0.1/src/lib/net'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/Trorrr/gambas-1.0.1/src/lib/net'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/Trorrr/gambas-1.0.1/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/Trorrr/gambas-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Trorrr/gambas-1.0.1'
make: *** [all] Error 2





		
______________________________________________ 
Renovamos el Correo Yahoo!: ¡250 MB GRATIS! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es




More information about the User mailing list