GNU bug report logs - #12477
undefined reference for scm_init_popen

Previous Next

Package: guile;

Reported by: lin ray <lin.wei.ray <at> gmail.com>

Date: Thu, 20 Sep 2012 04:48:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12477 in the body.
You can then email your comments to 12477 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#12477; Package guile. (Thu, 20 Sep 2012 04:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lin ray <lin.wei.ray <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 20 Sep 2012 04:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: lin ray <lin.wei.ray <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: undefined reference for scm_init_popen
Date: Thu, 20 Sep 2012 11:43:29 +0800
[Message part 1 (text/plain, inline)]
I got an undefined reference for scm_init_popen when I complied guile 2.0.6
on Windows, the scm_init_popen functions is introduced as following in the
posix.c

#ifdef HAVE_FORK
static void
scm_init_popen (void)
{
  scm_c_define_gsubr ("open-process", 2, 0, 1, scm_open_process);
}
#endif

since FORK is unavaiable in Windows, so the belowing part in posix.c should
be error.

  scm_c_register_extension ("libguile-" SCM_EFFECTIVE_VERSION,
                            "scm_init_popen",
       (scm_t_extension_init_func) scm_init_popen,
       NULL);


Regards
Ray Linn
[Message part 2 (text/html, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 23 Nov 2012 22:41:01 GMT) Full text and rfc822 format available.

Notification sent to lin ray <lin.wei.ray <at> gmail.com>:
bug acknowledged by developer. (Fri, 23 Nov 2012 22:41:02 GMT) Full text and rfc822 format available.

Message #10 received at 12477-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: lin ray <lin.wei.ray <at> gmail.com>
Cc: 12477-done <at> debbugs.gnu.org
Subject: Re: bug#12477: undefined reference for scm_init_popen
Date: Fri, 23 Nov 2012 23:38:34 +0100
Hi,

lin ray <lin.wei.ray <at> gmail.com> skribis:

> I got an undefined reference for scm_init_popen when I complied guile 2.0.6
> on Windows, the scm_init_popen functions is introduced as following in the
> posix.c
>
> #ifdef HAVE_FORK
> static void
> scm_init_popen (void)
> {
>   scm_c_define_gsubr ("open-process", 2, 0, 1, scm_open_process);
> }
> #endif
>
> since FORK is unavaiable in Windows, so the belowing part in posix.c should
> be error.

Thanks for the report.  This is now fixed, and the fix will be in 2.0.7.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 22 Dec 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.