Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
13 user(s) are online (11 user(s) are browsing Forum)

Members: 0
Guests: 13

more...


Browsing this Thread:   1 Anonymous Users




« 1 (2) 3 4 5 ... 9 »


Re: Does Contrib ABI v1 build at the moment?
#73
Home away from home
Home away from home


See User information
Quote:

Kalamatee wrote:
Quote:

Kalamatee wrote:
Quote:

Kalamatee wrote:
Ok I have it almost working now - it compiles curl with ssl support but fails linking the curl binary just now.


Ok, this is starting to give me a headache...

so I have fixed the curl patch (https://pastebin.com/DzdRqnNX), which results in the curl binary failing to compile/link.
I attempted to fix the mmakefile.src to correct the wrong linklib ordering (https://pastebin.com/UkUteAGB) which looks correct in the Makefile, however it still fails -:

<--snip-->

The reason for the failure is in the 2nd command it drops the first -lssl and I cannot for the life of me see why...


Ok, that's curl compiled and linked with ssl support - just need to fix git to compile again now ;)


Ok that should be curl and git compiling correctly now. The "fix" for curl is a bit lazy and should really be done in its configure scripts (if anyone is interested to do it ;)).

Ive updated the curl patch to 7.60.0, and am going to also update the git patch to 2.17.1 in a moment.


Posted on: 2018/6/9 15:41
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#72
Home away from home
Home away from home


See User information
Quote:

Kalamatee wrote:
Quote:

Kalamatee wrote:
Ok I have it almost working now - it compiles curl with ssl support but fails linking the curl binary just now.


Ok, this is starting to give me a headache...

so I have fixed the curl patch (https://pastebin.com/DzdRqnNX), which results in the curl binary failing to compile/link.
I attempted to fix the mmakefile.src to correct the wrong linklib ordering (https://pastebin.com/UkUteAGB) which looks correct in the Makefile, however it still fails -:

<--snip-->

The reason for the failure is in the 2nd command it drops the first -lssl and I cannot for the life of me see why...



Ok, that's curl compiled and linked with ssl support - just need to fix git to compile again now ;)

Posted on: 2018/6/9 15:13
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#71
Home away from home
Home away from home


See User information
Quote:

Kalamatee wrote:
Ok I have it almost working now - it compiles curl with ssl support but fails linking the curl binary just now.


Ok, this is starting to give me a headache...

so I have fixed the curl patch (https://pastebin.com/DzdRqnNX), which results in the curl binary failing to compile/link.
I attempted to fix the mmakefile.src to correct the wrong linklib ordering (https://pastebin.com/UkUteAGB) which looks correct in the Makefile, however it still fails -:


make[1]: Entering directory `/home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/curl/curl/src'
/bin/sh ../libtool  --tag=CC   --mode=link ccache /home/nick/AROS-build/amiga-m68k-gcc6/bin/linux-x86_64/tools/crosstools/m68k-aros-gcc  -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_PERSONAL -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE -DADEBUG=1 -DMDEBUG=1 -O0 -Os -nix -Werror-implicit-function-declaration -Wno-system-headers    -L/home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/AROS/Developer/lib -nix -L/home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/AROS/Developer/lib -o curl curl-slist_wc.o curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_filetime.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_strdup.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-nonblock.o ../lib/curl-warnless.o ../lib/curl-curl_ctype.o  ../lib/libcurl.la  -lssl -lcrypto -lssl -lz 
libtool: link: ccache /home/nick/AROS-build/amiga-m68k-gcc6/bin/linux-x86_64/tools/crosstools/m68k-aros-gcc -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_PERSONAL -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -fbuiltin -DNOLIBINLINE -DADEBUG=1 -DMDEBUG=1 -O0 -Os -nix -Werror-implicit-function-declaration -Wno-system-headers -nix -o curl curl-slist_wc.o curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_filetime.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_strdup.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-nonblock.o ../lib/curl-warnless.o ../lib/curl-curl_ctype.o  -L/home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/AROS/Developer/lib ../lib/.libs/libcurl.a -lcrypto -lssl -lz
There are undefined symbols in 'curl':
         U BIO_s_connect    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/bio_ssl.c:532
         U BIO_s_socket    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_lib.c:681
         U COMP_CTX_free    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/s3_enc.c:263
         U COMP_CTX_new    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/s3_enc.c:267
         U COMP_compress_block    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/s3_pkt.c:604
         U COMP_expand_block    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/s3_pkt.c:585
         U COMP_zlib    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_ciph.c:469
         U ERR_load_crypto_strings    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_err2.c:66
         U EVP_enc_null    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_ciph.c:573
         U OPENSSL_DIR_end    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_cert.c:796
         U OPENSSL_DIR_read    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_cert.c:765
         U SRP_Calc_A    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:463
         U SRP_Calc_B    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:257
         U SRP_Calc_client_key    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:394
         U SRP_Calc_server_key    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:347
         U SRP_Calc_u    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:345
         U SRP_Calc_x    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:392
         U SRP_Verify_A_mod_N    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:343
         U SRP_Verify_B_mod_N    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:381
         U SRP_check_known_gN_param    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:445
         U SRP_create_verifier_BN    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:282
         U SRP_get_default_gN    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/tls_srp.c:269
         U X509_STORE_load_locations    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_lib.c:2990
         U X509_STORE_set_default_paths    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/ssl_lib.c:2984
         U X509_certificate_type    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/s3_clnt.c:3360
         U pitem_free    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:641
         U pitem_new    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:750
         U pqueue_find    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:690
         U pqueue_free    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_lib.c:126
         U pqueue_insert    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:756
         U pqueue_iterator    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:1239
         U pqueue_new    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_lib.c:109
         U pqueue_next    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:1241
         U pqueue_peek    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:617
         U pqueue_pop    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_both.c:629
         U pqueue_size    /home/nick/AROS-build/amiga-m68k-gcc6/bin/amiga-m68k/gen/contrib/development/libs/openssl/ssl/d1_pkt.c:227


The reason for the failure is in the 2nd command it drops the first -lssl and I cannot for the life of me see why...

Posted on: 2018/6/9 14:41
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#70
Home away from home
Home away from home


See User information
Quote:

Kalamatee wrote:
# libcurl's configure scripts fail to detect a usable libssl.a (cant resolve SSL_Connect), so it seems curl is compiled without ssl support.


Ok, this is the root of the problem. The way it tests for SSL_connect is broken (it doesn't provide a prototype for the function, or include any header that would) - I will see if I can fix it.

Weirdly, I cant see how it could ever have worked using the changes to configure in the patch we have.

Edit:


Ok I have it almost working now - it compiles curl with ssl support but fails linking the curl binary just now.

Posted on: 2018/6/9 3:49

Edited by Kalamatee on 2018/6/9 4:36:42
Edited by Kalamatee on 2018/6/9 5:44:45
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#69
Home away from home
Home away from home


See User information
Quote:

Kalamatee wrote:
[quote]
nikolas wrote:
Hi all,

I just wanted to report that when I try to build contrib I got this error:

Performing build in bin/linux-i386/gen/contrib/development/scm/git
LINK git-http-fetch
There are undefined symbols in 'git-http-fetch':
U zlibVersion
Makefile:2069: recipe for target 'git-http-fetch' failed
make[2]: *** [git-http-fetch] Error 1
mmakefile:377: recipe for target '/root/linux-i386/bin/linux-i386/gen/contrib/development/scm/git/.installed' failed

My environment should be clean. I tried to build hosted version with the last version from git repository.
Anyone is working on that?


Well this is a bit of a head scratcher.

Ive dug "a little" and so far ive found the following (but I'm not sure how to fix it just yet) -:

# libcurl's configure scripts fail to detect a usable libssl.a (cant resolve SSL_Connect), so it seems curl is compiled without ssl support.

# git's configure scripts call "curl-config --features", but dont find SSL support, and so dont set NEEDS_SSL_WITH_CURL

# because NEEDS_SSL_WITH_CURL isn't specified, NEEDS_Z_WITH_SSL from config.mak.uname isn't used and libz isn't added to the end of the linklibs -> the reported error is shown when linking

libz is linked to, but it comes before libcurl, etc, and so doesn't get used to resolve the symbols from those.

Quote:

Thanks for letting me know. I had already planned on trying to get the git tools working at some point in the near future, but I will try and look into this soon.

Posted on: 2018/6/9 2:48
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#68
Quite a regular
Quite a regular


See User information
OK, rebuild from scratch but with everything now presumably cached in the port folder: 30m 27s so not really any different.

Note however that I performed an 'rm -rf' in the build folder so it did have to copy and unpack from my src-port folder again.

Posted on: 2018/6/9 0:48
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#67
Home away from home
Home away from home


See User information
Quote:

wawa wrote:
perhaps having unified build environment as downloadable option isnt that bad idea. ideally it would be aros (x86_64 multicore) building aros itself with limited posix compatibility and tools.


It is a bad idea, building AROS natively is painfully slow (and probably quite broken just now). One day when things are more stable/complete it may be desirable but now it would just cause more headaches.

Posted on: 2018/6/9 0:00
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#66
Home away from home
Home away from home


See User information
perhaps having unified build environment as downloadable option isnt that bad idea. ideally it would be aros (x86_64 multicore) building aros itself with limited posix compatibility and tools.

Posted on: 2018/6/8 23:55
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#65
Home away from home
Home away from home


See User information
Quote:

MartinW wrote:
OK, i'll run again now that the updated components have been cached. And glad I'm not going mad on the compilers :)

As far as I'm aware as well, the cxx compiler flag will only be used IF there is any C++ files. Not that it will try to use the C++ compiler to compile plain C. You guys may now the source well enough to know if there are C++ files in there. I don't so I figured I'd better add it.


You are correct (at least for now) - theres no host-side code compiled using the c++ compiler.

Posted on: 2018/6/8 23:46
Resized Image
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


Re: Does Contrib ABI v1 build at the moment?
#64
Home away from home
Home away from home


See User information
Quote:

Kalamatee wrote:
No, the first pair are defining the host compilers to use.


mhm. never knew this. so maybe its good if BFN sumarizes compiling guide a bit. i may take it a bit too straight forward.

Posted on: 2018/6/8 23:44
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 




« 1 (2) 3 4 5 ... 9 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project