Re: Process & Fork

Quenio dos Santos <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <CAJ6rE1zroKoK2CyTmy7bm0tQ7--+oBQnjKV2BJZBdmifgy_0sw@mail.gmail.com>
I haven't been able to compiler master on MacOS. I installed GCC and
configured as follows, but it still seems to be using CLANG:

$ configure --prefix=/usr/local/Cellar/gcc/9.1.0
--with-gmp=/usr/local/Cellar/gcc/9.1.0
...
$ make
...
cd packages/net && /Applications/Xcode.app/Contents/Developer/usr/bin/make
  CC       gnutls-wrapper.o
  CCLD     gnutls-wrapper
Undefined symbols for architecture x86_64:
  "_gnutls_alert_send", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_alert_send_appropriate", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_anon_allocate_client_credentials", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_anon_free_client_credentials", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_bye", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_certificate_allocate_credentials", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_certificate_free_credentials", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_credentials_set", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_deinit", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_error_is_fatal", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_global_deinit", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_global_init", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_handshake", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_init", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_perror", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_record_recv", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_record_send", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_set_default_priority", referenced from:
      _main in gnutls-wrapper.o
  "_gnutls_transport_set_ptr", referenced from:
      _main in gnutls-wrapper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [gnutls-wrapper] Error 1
make[2]: *** [NetClients.star] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


On Sat, Jul 20, 2019 at 12:00 PM Holger Freyther <[email protected]> wrote:

>
>
> > On 20. Jul 2019, at 21:36, Quenio dos Santos <[email protected]>
> wrote:
>
>
> Hi!
>
>
> >
> > And then I have to interrupt it.
> >
> > I'm wondering if there's something basic I'm missing here. Maybe I don't
> > understand how "Process yield" works, but I thought it was just going to
> > suspend the current process and let the forked process run.
>
> Can you try with the master branch? I suspect some known (and fixed)
> undefined
> behavior in 3.2.5.
>
>
>
> holger
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.