You can subscribe to this list here.
2000 |
Jan
(81) |
Feb
(55) |
Mar
(459) |
Apr
(159) |
May
(126) |
Jun
(69) |
Jul
(48) |
Aug
(29) |
Sep
(106) |
Oct
(76) |
Nov
(155) |
Dec
(161) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(122) |
Feb
(150) |
Mar
(294) |
Apr
(124) |
May
(197) |
Jun
(266) |
Jul
(111) |
Aug
(259) |
Sep
(163) |
Oct
(142) |
Nov
(101) |
Dec
(86) |
2002 |
Jan
(187) |
Feb
(108) |
Mar
(274) |
Apr
(157) |
May
(346) |
Jun
(242) |
Jul
(345) |
Aug
(187) |
Sep
(263) |
Oct
(69) |
Nov
(30) |
Dec
(76) |
2003 |
Jan
(125) |
Feb
(191) |
Mar
(87) |
Apr
(69) |
May
(107) |
Jun
(66) |
Jul
(112) |
Aug
(161) |
Sep
(184) |
Oct
(137) |
Nov
(28) |
Dec
(61) |
2004 |
Jan
(148) |
Feb
(99) |
Mar
(365) |
Apr
(225) |
May
(311) |
Jun
(204) |
Jul
(95) |
Aug
(214) |
Sep
(256) |
Oct
(290) |
Nov
(239) |
Dec
(152) |
2005 |
Jan
(253) |
Feb
(183) |
Mar
(178) |
Apr
(88) |
May
(175) |
Jun
(195) |
Jul
(122) |
Aug
(81) |
Sep
(119) |
Oct
(200) |
Nov
(110) |
Dec
(179) |
2006 |
Jan
(154) |
Feb
(64) |
Mar
(55) |
Apr
(69) |
May
(66) |
Jun
(64) |
Jul
(80) |
Aug
(59) |
Sep
(62) |
Oct
(90) |
Nov
(132) |
Dec
(106) |
2007 |
Jan
(58) |
Feb
(51) |
Mar
(59) |
Apr
(19) |
May
(33) |
Jun
(52) |
Jul
(15) |
Aug
(50) |
Sep
(41) |
Oct
(259) |
Nov
(323) |
Dec
(136) |
2008 |
Jan
(205) |
Feb
(128) |
Mar
(203) |
Apr
(126) |
May
(307) |
Jun
(166) |
Jul
(259) |
Aug
(181) |
Sep
(217) |
Oct
(265) |
Nov
(256) |
Dec
(132) |
2009 |
Jan
(104) |
Feb
(81) |
Mar
(27) |
Apr
(21) |
May
(85) |
Jun
(237) |
Jul
(243) |
Aug
(199) |
Sep
(178) |
Oct
(151) |
Nov
(64) |
Dec
(39) |
2010 |
Jan
(33) |
Feb
(146) |
Mar
(125) |
Apr
(109) |
May
(52) |
Jun
(135) |
Jul
(103) |
Aug
(68) |
Sep
(99) |
Oct
(88) |
Nov
(45) |
Dec
(56) |
2011 |
Jan
(19) |
Feb
(32) |
Mar
(50) |
Apr
(105) |
May
(46) |
Jun
(22) |
Jul
(101) |
Aug
(80) |
Sep
(52) |
Oct
(16) |
Nov
(10) |
Dec
(29) |
2012 |
Jan
(8) |
Feb
(22) |
Mar
(17) |
Apr
(68) |
May
(19) |
Jun
(19) |
Jul
(12) |
Aug
(6) |
Sep
(13) |
Oct
(5) |
Nov
(5) |
Dec
(5) |
2013 |
Jan
(6) |
Feb
(4) |
Mar
(3) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(16) |
Apr
(1) |
May
(8) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(8) |
Mar
(23) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
(5) |
2016 |
Jan
|
Feb
|
Mar
(16) |
Apr
(6) |
May
(53) |
Jun
(19) |
Jul
(3) |
Aug
(39) |
Sep
(24) |
Oct
(2) |
Nov
(19) |
Dec
|
2017 |
Jan
(13) |
Feb
(44) |
Mar
(208) |
Apr
(12) |
May
(94) |
Jun
(54) |
Jul
(18) |
Aug
(52) |
Sep
(12) |
Oct
(22) |
Nov
(27) |
Dec
(93) |
2018 |
Jan
(85) |
Feb
(28) |
Mar
(16) |
Apr
(47) |
May
(16) |
Jun
(15) |
Jul
(10) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
|
2019 |
Jan
(4) |
Feb
(6) |
Mar
(12) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2022 |
Jan
(2) |
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(5) |
Nov
|
Dec
|
2023 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(28) |
Dec
(3) |
2025 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Vladimir T. <vtz...@gm...> - 2011-07-28 23:08:54
|
On Fri, Jul 29, 2011 at 1:24 AM, Sam Steingold <sd...@gn...> wrote: >> * Vladimir Tzankov <igm...@tz...> [2011-07-29 00:17:37 +0300]: >> >> $ grep SIZEOF_OFF_T clisp.h config.h syscalls/config.h >> clisp.h:#define SIZEOF_OFF_T 8 >> config.h:#define SIZEOF_OFF_T 8 >> syscalls/config.h:#define SIZEOF_OFF_T 4 >> >> $ grep SIZEOF_RLIM_T clisp.h config.h syscalls/config.h >> clisp.h:#define SIZEOF_RLIM_T 8 >> config.h:#define SIZEOF_RLIM_T 8 >> syscalls/config.h:#define SIZEOF_RLIM_T 4 > > this is eminently wrong and warrants an investigation. > could you please take a look at config.log and syscalls/config.log to > find out why these SIZEOF's are defined differently? Not sure how helpful is information below: config.log: configure:33813: gcc -o conftest -g -O2 conftest.c -lavcall -lcallback >&5 configure:33813: $? = 0 configure:33813: ./conftest configure:33813: $? = 0 configure:33828: result: 8 syscall/config.log: configure:4795: checking size of off_t configure:4800: gcc -o conftest -g -O2 conftest.c >&5 configure:4800: $? = 0 configure:4800: ./conftest configure:4800: $? = 0 configure:4815: result: 4 Similar rlim_t. machine is: Linux vtz 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux following prints 4: #include <sys/types.h> main () { printf("%u", sizeof(off_t)); } |
From: Sam S. <sd...@gn...> - 2011-07-28 22:24:14
|
> * Vladimir Tzankov <igm...@tz...> [2011-07-29 00:17:37 +0300]: > > $ grep SIZEOF_OFF_T clisp.h config.h syscalls/config.h > clisp.h:#define SIZEOF_OFF_T 8 > config.h:#define SIZEOF_OFF_T 8 > syscalls/config.h:#define SIZEOF_OFF_T 4 > > $ grep SIZEOF_RLIM_T clisp.h config.h syscalls/config.h > clisp.h:#define SIZEOF_RLIM_T 8 > config.h:#define SIZEOF_RLIM_T 8 > syscalls/config.h:#define SIZEOF_RLIM_T 4 this is eminently wrong and warrants an investigation. could you please take a look at config.log and syscalls/config.log to find out why these SIZEOF's are defined differently? thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://camera.org http://www.PetitionOnline.com/tap12009/ http://dhimmi.com http://thereligionofpeace.com http://palestinefacts.org Never trust a man who can count to 1024 on his fingers. |
From: Vladimir T. <vtz...@gm...> - 2011-07-28 21:17:43
|
On Thu, Jul 28, 2011 at 5:29 PM, Sam Steingold <sd...@gn...> wrote: $ grep SIZEOF_OFF_T clisp.h config.h syscalls/config.h clisp.h:#define SIZEOF_OFF_T 8 config.h:#define SIZEOF_OFF_T 8 syscalls/config.h:#define SIZEOF_OFF_T 4 $ grep SIZEOF_RLIM_T clisp.h config.h syscalls/config.h clisp.h:#define SIZEOF_RLIM_T 8 config.h:#define SIZEOF_RLIM_T 8 syscalls/config.h:#define SIZEOF_RLIM_T 4 |
From: Sam S. <sd...@gn...> - 2011-07-28 14:29:51
|
Vladimir, > * Vladimir Tzankov <igm...@tz...> [2011-07-27 23:37:41 +0300]: > > gcc -I/home/vtz/clisp/hg/s/gllib -I/home/vtz/clisp/hg/s -g -O2 -W > -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 > -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE > -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC -DPIC > -I/home/vtz/clisp/hg/s/linkkit \ > -c calls.m.c -o calls.o > In file included from /home/vtz/clisp/hg/modules/syscalls/calls.c:21: > config.h:422:1: warning: "SIZEOF_OFF_T" redefined $ grep SIZEOF_OFF_T clisp.h config.h syscalls/config.h clisp.h:#define SIZEOF_OFF_T 8 config.h:#define SIZEOF_OFF_T 8 syscalls/config.h:#define SIZEOF_OFF_T 8 what do you see? > In file included from /home/vtz/clisp/hg/modules/syscalls/calls.c:21: > config.h:428:1: warning: "SIZEOF_RLIM_T" redefined $ grep SIZEOF_RLIM_T clisp.h config.h syscalls/config.h clisp.h:#define SIZEOF_RLIM_T 8 config.h:#define SIZEOF_RLIM_T 8 syscalls/config.h:#define SIZEOF_RLIM_T 8 what do you see? > /home/vtz/clisp/hg/modules/syscalls/calls.c: In function > ‘C_subr_posix__25sethostid’: > /home/vtz/clisp/hg/modules/syscalls/calls.c:1921: warning: ignoring > return value of ‘sethostid’, declared with attribute > warn_unused_result sethostid is not in posix. linux man page specifies an int return value, but does not explain what it is. freebsd declares it returning void. I don't see how it could return anything useful. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.PetitionOnline.com/tap12009/ http://dhimmi.com http://camera.org http://truepeace.org http://mideasttruth.com http://memri.org When we break the law, they fine us, when we comply, they tax us. |
From: <cli...@li...> - 2011-07-28 12:04:22
|
Send clisp-cvs mailing list submissions to cli...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to cli...@li... You can reach the person managing the list at cli...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp: * src/spvw_ctype.d (init_ctype): add "#ifdef LC_MESSAGES"... (cli...@li...) 2. clisp: * modules/syscalls/calls.c: when the portability is ensur... (cli...@li...) 3. clisp: (NO_CXX): removed unused variable (cli...@li...) 4. clisp: fix mingw compilation (cli...@li...) 5. clisp: * Makefile.devel (GNULIB_CORE): fix a typo: setsockopt was (cli...@li...) 6. clisp: regenerate for getsockopt, recvfrom, sendto (cli...@li...) 7. clisp: update from gnulib (cli...@li...) 8. clisp: typo (cli...@li...) 9. clisp: * src/lispbibl.d (ANSIC_error): export to clisp.h (cli...@li...) ---------------------------------------------------------------------- Message: 1 Date: Wed, 27 Jul 2011 15:01:18 +0000 From: cli...@li... Subject: clisp: * src/spvw_ctype.d (init_ctype): add "#ifdef LC_MESSAGES"... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/6a379ca4df73 changeset: 15481:6a379ca4df736693e2b81c6de8aba30425471285 user: Sam Steingold <sd...@po...> date: 2011-07-27 10:29:42 -0400 description: * src/spvw_ctype.d (init_ctype): add "#ifdef LC_MESSAGES" for mingw diffstat: src/ChangeLog | 4 ++++ src/spvw_ctype.d | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) ------------------------------ Message: 2 Date: Wed, 27 Jul 2011 18:40:48 +0000 From: cli...@li... Subject: clisp: * modules/syscalls/calls.c: when the portability is ensur... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/bae4b39bbb40 changeset: 15482:bae4b39bbb4013ca6dbe2257787285faa489f7a9 user: Sam Steingold <sd...@po...> date: 2011-07-27 12:58:56 -0400 description: * modules/syscalls/calls.c: when the portability is ensured by gnulib, use ANSIC_error; when we use WIN32_NATIVE functions directly, use OS_error (POSIX:MKSTEMP) [WIN32_NATIVE]: use _get_osfhandle to convert the return value of gnulib mkstemp() to a windows file handle Include <shldisp.h> & <shlguid.h> for CLSID_ShellLink & IID_IShellLink diffstat: modules/syscalls/calls.c | 96 ++++++++++++++++++++++++++---------------------- modules/syscalls/test.tst | 36 ++++++++++-------- src/ChangeLog | 10 +++++ 3 files changed, 82 insertions(+), 60 deletions(-) ------------------------------ Message: 3 Date: Wed, 27 Jul 2011 18:40:50 +0000 From: cli...@li... Subject: clisp: (NO_CXX): removed unused variable To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/7c32ef52394b changeset: 15483:7c32ef52394bbef6bb3ac4bf9c9e9eaa53009404 user: Sam Steingold <sd...@po...> date: 2011-07-27 13:00:34 -0400 description: (NO_CXX): removed unused variable diffstat: modules/regexp/Makefile.in | 3 --- src/ChangeLog | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) ------------------------------ Message: 4 Date: Wed, 27 Jul 2011 18:40:52 +0000 From: cli...@li... Subject: clisp: fix mingw compilation To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/df8f717e809a changeset: 15484:df8f717e809a78c35949ecd25ba702c3074186de user: Sam Steingold <sd...@po...> date: 2011-07-27 13:09:20 -0400 description: fix mingw compilation * src/lispbibl.d (setjmp) [__MINGW32__]: do not define Include <winsock2.h> before <windows.h> to avoid a warning * src/stream.d (QueryInformationFile) [WIN32_NATIVE]: do not include <ddk/ntifs.h> here, instead ... * src/win32.d: include <winternl.h> & <ntstatus.h> (_exit): remove prototype (get it from gnulib) (lseek): undef before redefining (CoGetCurrentProcess): remove prototype, rely on above headers diffstat: src/ChangeLog | 11 +++++++++++ src/lispbibl.d | 13 +------------ src/stream.d | 1 - src/win32.d | 20 ++++---------------- 4 files changed, 16 insertions(+), 29 deletions(-) ------------------------------ Message: 5 Date: Wed, 27 Jul 2011 18:51:11 +0000 From: cli...@li... Subject: clisp: * Makefile.devel (GNULIB_CORE): fix a typo: setsockopt was To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/38ab4c17af81 changeset: 15485:38ab4c17af81924b23b91216142ece0417177b02 user: Sam Steingold <sd...@po...> date: 2011-07-27 14:48:34 -0400 description: * Makefile.devel (GNULIB_CORE): fix a typo: setsockopt was requested twice while getsockopt was not requested at all (GNULIB_IMPORTS): add recvfrom & sendto for rawsock * modules/rawsock/rawsock.c: use ANSIC_error instead of OS_error diffstat: Makefile.devel | 4 ++-- modules/rawsock/rawsock.c | 12 +++++++----- src/ChangeLog | 7 +++++++ 3 files changed, 16 insertions(+), 7 deletions(-) ------------------------------ Message: 6 Date: Wed, 27 Jul 2011 18:51:13 +0000 From: cli...@li... Subject: clisp: regenerate for getsockopt, recvfrom, sendto To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/0020927a1a74 changeset: 15486:0020927a1a742ac86e851d742fae723393d12864 user: Sam Steingold <sd...@po...> date: 2011-07-27 14:50:30 -0400 description: regenerate for getsockopt, recvfrom, sendto diffstat: src/aclocal.m4 | 39 ++++++++++++++++--- src/config.h.in | 9 ++++ src/configure | 89 ++++++++++++++++++++++++++++++++++++++++++++- src/gllib/Makefile.am | 29 ++++++++++++++- src/gllib/Makefile.in | 32 +++++++++------- src/gllib/getsockopt.c | 68 ++++++++++++++++++++++++++++++++++ src/gllib/recvfrom.c | 48 ++++++++++++++++++++++++ src/gllib/sendto.c | 41 ++++++++++++++++++++ src/glm4/gnulib-cache.m4 | 5 ++- src/glm4/gnulib-comp.m4 | 21 ++++++++++ 10 files changed, 357 insertions(+), 24 deletions(-) ------------------------------ Message: 7 Date: Wed, 27 Jul 2011 18:51:14 +0000 From: cli...@li... Subject: clisp: update from gnulib To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/83bd8b1179b4 changeset: 15487:83bd8b1179b4273edadcdc0c6577f99fbdce1e37 user: Sam Steingold <sd...@po...> date: 2011-07-27 14:50:43 -0400 description: update from gnulib diffstat: src/glm4/include_next.m4 | 14 ++++++++------ src/glm4/warn-on-use.m4 | 4 +++- 2 files changed, 11 insertions(+), 7 deletions(-) ------------------------------ Message: 8 Date: Wed, 27 Jul 2011 22:06:16 +0000 From: cli...@li... Subject: clisp: typo To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/218eebe37fae changeset: 15488:218eebe37fae146ae14e5c411c59b1b2f1416719 user: Sam Steingold <sd...@po...> date: 2011-07-27 17:55:31 -0400 description: typo diffstat: modules/syscalls/calls.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ------------------------------ Message: 9 Date: Wed, 27 Jul 2011 22:06:18 +0000 From: cli...@li... Subject: clisp: * src/lispbibl.d (ANSIC_error): export to clisp.h To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/d4808e0ffc2a changeset: 15489:d4808e0ffc2a5b079bd7b1798ff3b03fc4cd83a4 user: Sam Steingold <sd...@po...> date: 2011-07-27 17:56:24 -0400 description: * src/lispbibl.d (ANSIC_error): export to clisp.h diffstat: src/ChangeLog | 4 ++++ src/lispbibl.d | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) ------------------------------ ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ------------------------------ _______________________________________________ clisp-cvs mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest, Vol 62, Issue 10 ***************************************** |
From: Angel P. <ang...@ya...> - 2011-07-28 08:03:59
|
Thanks, After upgrade/update of Arch, it works now. Regards, AngelP ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Sent: Monday, July 18, 2011 4:07 PM Subject: Re: Segfault on eql > * Angel Popov <nat...@ln...> [2011-07-17 22:55:43 -0700]: > > It happens clisp (compiled on archlinux from the latest source - no > multi-threading) to crash. It does not happened all the time and is not > perfectly reproducible. are you building with ffcall? this might be related to http://sourceforge.net/tracker/?func=detail&aid=1913760&group_id=1355&atid=101355 > Would you suggest how to investigate further? http://www.clisp.org/impnotes/faq.html#faq-debug > Is there a way to decipher these obj1 and obj2? zout will print any object using Lisp PRIN1 (which may trigger GC making further investigation pointless). xout will print some objects using non-consing C functions. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://camera.org http://ffii.org http://mideasttruth.com http://jihadwatch.org http://www.memritv.org http://pmw.org.il Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. |
From: Sam S. <sd...@gn...> - 2011-07-27 22:08:26
|
Vladimir, > * Vladimir Tzankov <igm...@tz...> [2011-07-27 23:37:41 +0300]: > > #defene > to `ANSIC_error' pushed. sorry. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://dhimmi.com http://ffii.org http://palestinefacts.org http://pmw.org.il http://mideasttruth.com http://openvotingconsortium.org http://iris.org.il My inferiority complex is not as good as yours. |
From: Vladimir T. <vtz...@gm...> - 2011-07-27 20:37:48
|
Sam, There is typo in your last changes: /home/vtz/clisp/hg/modules/syscalls/calls.c:690:3: error: invalid preprocessing directive #defene After fixing it the build ends with (all this on i386 debian): gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC -DPIC -Wl,--export-dynamic modules.o readline.o -lreadline -lncurses regexi.o calls.o bogomips.o -lm -lcrypt gettext.o lisp.a -lreadline -lncurses -ldl -lavcall -lcallback -lsigsegv libgnu.a -o lisp.run calls.o: In function `C_subr_posix_stat_vfs': /home/vtz/clisp/hg/modules/syscalls/calls.c:2427: undefined reference to `ANSIC_error' calls.o: In function `C_subr_posix_file_stat': /home/vtz/clisp/hg/modules/syscalls/calls.c:2001: undefined reference to `ANSIC_error' calls.o: In function `C_subr_posix_mkdtemp': /home/vtz/clisp/hg/modules/syscalls/calls.c:2312: undefined reference to `ANSIC_error' calls.o: In function `C_subr_posix_domainname': /home/vtz/clisp/hg/modules/syscalls/calls.c:1936: undefined reference to `ANSIC_error' calls.o: In function `C_subr_posix_groups': /home/vtz/clisp/hg/modules/syscalls/calls.c:1885: undefined reference to `ANSIC_error' calls.o:/home/vtz/clisp/hg/modules/syscalls/calls.c:1451: more undefined references to `ANSIC_error' follow collect2: ld returned 1 exit status ./clisp-link: failed in /home/vtz/clisp/hg/s/base make: *** [base] Error 1 And few more warnings while compiling calls.c: gcc -I/home/vtz/clisp/hg/s/gllib -I/home/vtz/clisp/hg/s -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC -DPIC -I/home/vtz/clisp/hg/s/linkkit \ -c calls.m.c -o calls.o In file included from /home/vtz/clisp/hg/modules/syscalls/calls.c:21: config.h:422:1: warning: "SIZEOF_OFF_T" redefined In file included from /home/vtz/clisp/hg/modules/syscalls/calls.c:20: /home/vtz/clisp/hg/s/clisp.h:1661:1: warning: this is the location of the previous definition In file included from /home/vtz/clisp/hg/modules/syscalls/calls.c:21: config.h:428:1: warning: "SIZEOF_RLIM_T" redefined In file included from /home/vtz/clisp/hg/modules/syscalls/calls.c:20: /home/vtz/clisp/hg/s/clisp.h:1664:1: warning: this is the location of the previous definition /home/vtz/clisp/hg/modules/syscalls/calls.c: In function ‘C_subr_posix_string_time’: /home/vtz/clisp/hg/modules/syscalls/calls.c:607: warning: implicit declaration of function ‘ANSIC_error’ /home/vtz/clisp/hg/modules/syscalls/calls.c: In function ‘C_subr_posix__25sethostid’: /home/vtz/clisp/hg/modules/syscalls/calls.c:1921: warning: ignoring return value of ‘sethostid’, declared with attribute warn_unused_result gcc -c /home/vtz/clisp/hg/modules/syscalls/bogomips.c -o bogomips.o Vladimir |
From: <cli...@li...> - 2011-07-27 12:05:46
|
Send clisp-cvs mailing list submissions to cli...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to cli...@li... You can reach the person managing the list at cli...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp: revert last patch; fix the gnulib defines in a more robus... (cli...@li...) 2. clisp: * Makefile.devel (GNULIB_CORE): add select (cli...@li...) 3. clisp: * src/m4/clisp.m4 (CL_CLISP): use AC_MSG_ERROR instead of... (cli...@li...) 4. clisp: add a FIXME comment about support for CYGWIN != winsymlinks (cli...@li...) 5. clisp: update mingw instructions (cli...@li...) ---------------------------------------------------------------------- Message: 1 Date: Tue, 26 Jul 2011 14:49:41 +0000 From: cli...@li... Subject: clisp: revert last patch; fix the gnulib defines in a more robus... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/e2fba11b78b0 changeset: 15476:e2fba11b78b0390f7083d3ce023fb2dcba3943c5 user: Sam Steingold <sd...@po...> date: 2011-07-26 10:40:37 -0400 description: revert last patch; fix the gnulib defines in a more robust way: change C names for Lisp symbols to avoid clashes with the C world Suggested by Bruno * undef-gnulib.h: remove * Makefile.devel, src/makemake.in: remove undef-gnulib.h * src/spvwtabf.d, src/spvwtabo.d, src/spvwtabs.d: do not include undef-gnulib.h * src/constsym.d, src/eval.d, src/io.d, src/package.d, src/pathname.d, * src/stream.d, src/subr.d, src/time.d (read): rename to readL (listen): ... listenL (write): ... writeL (sleep): ... psleep (time): ... pptime (close): ... closeL diffstat: Makefile.devel | 12 ---- src/ChangeLog | 16 +++++ src/constsym.d | 14 ++-- src/eval.d | 10 +- src/io.d | 134 ++++++++++++++++++++++---------------------- src/makemake.in | 30 +++------- src/package.d | 4 +- src/pathname.d | 4 +- src/spvwtabf.d | 3 +- src/spvwtabo.d | 3 +- src/spvwtabs.d | 3 +- src/stream.d | 2 +- src/subr.d | 10 +- src/time.d | 10 +- 14 files changed, 122 insertions(+), 133 deletions(-) ------------------------------ Message: 2 Date: Tue, 26 Jul 2011 14:49:43 +0000 From: cli...@li... Subject: clisp: * Makefile.devel (GNULIB_CORE): add select To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/72dfd22cafec changeset: 15477:72dfd22cafecf920b77959d4e2090c2dc6eadd3e user: Sam Steingold <sd...@po...> date: 2011-07-26 10:49:16 -0400 description: * Makefile.devel (GNULIB_CORE): add select diffstat: Makefile.devel | 2 +- src/ChangeLog | 4 + src/aclocal.m4 | 203 ++++++++++++++++- src/config.h.in | 8 + src/configure | 566 ++++++++++++++++++++++++++++++++++++++++++++++++-- src/gllib/Makefile.am | 11 +- src/gllib/Makefile.in | 14 +- src/gllib/select.c | 491 ++++++++++++++++++++++++++++++++++++++++++++ src/glm4/close.m4 | 23 +- src/glm4/gnulib-cache.m4 | 3 +- src/glm4/gnulib-comp.m4 | 13 + src/glm4/largefile.m4 | 104 +++++++++ src/glm4/mkstemp.m4 | 3 +- src/glm4/select.m4 | 50 ++++ src/glm4/tempname.m4 | 4 +- src/undef-gnulib.h | 5 - 16 files changed, 1427 insertions(+), 77 deletions(-) ------------------------------ Message: 3 Date: Tue, 26 Jul 2011 20:11:30 +0000 From: cli...@li... Subject: clisp: * src/m4/clisp.m4 (CL_CLISP): use AC_MSG_ERROR instead of... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/b0f997978ac9 changeset: 15478:b0f997978ac98b59fd451580bf6071847afa6f31 user: Sam Steingold <sd...@po...> date: 2011-07-26 12:08:50 -0400 description: * src/m4/clisp.m4 (CL_CLISP): use AC_MSG_ERROR instead of setting variables to bad values diffstat: modules/berkeley-db/configure | 8 +++++--- modules/clx/new-clx/configure | 8 +++++--- modules/dbus/configure | 8 +++++--- modules/dirkey/configure | 8 +++++--- modules/fastcgi/configure | 8 +++++--- modules/gdbm/configure | 8 +++++--- modules/gtk2/configure | 8 +++++--- modules/i18n/configure | 8 +++++--- modules/libsvm/configure | 8 +++++--- modules/oracle/configure | 8 +++++--- modules/pari/configure | 8 +++++--- modules/pcre/configure | 8 +++++--- modules/postgresql/configure | 8 +++++--- modules/rawsock/configure | 8 +++++--- modules/readline/configure | 8 +++++--- modules/regexp/configure | 8 +++++--- modules/syscalls/configure | 8 +++++--- modules/zlib/configure | 8 +++++--- src/ChangeLog | 6 ++++++ src/aclocal.m4 | 8 +++++--- src/m4/clisp.m4 | 8 +++++--- 21 files changed, 106 insertions(+), 60 deletions(-) ------------------------------ Message: 4 Date: Tue, 26 Jul 2011 23:00:24 +0000 From: cli...@li... Subject: clisp: add a FIXME comment about support for CYGWIN != winsymlinks To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/63ce33f44f65 changeset: 15479:63ce33f44f65b463bbc4d1d1abcb613095431e49 user: Sam Steingold <sd...@po...> date: 2011-07-26 16:17:53 -0400 description: add a FIXME comment about support for CYGWIN != winsymlinks diffstat: src/w32shell.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) ------------------------------ Message: 5 Date: Tue, 26 Jul 2011 23:00:28 +0000 From: cli...@li... Subject: clisp: update mingw instructions To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/e0a8f736ab3d changeset: 15480:e0a8f736ab3daf765659a5ee02641ede30b45ebd user: Sam Steingold <sd...@po...> date: 2011-07-26 18:59:34 -0400 description: update mingw instructions diffstat: INSTALL | 2 +- unix/INSTALL | 29 +++++++++++++---------------- 2 files changed, 14 insertions(+), 17 deletions(-) ------------------------------ ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ------------------------------ _______________________________________________ clisp-cvs mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest, Vol 62, Issue 9 **************************************** |
From: Reini U. <ru...@x-...> - 2011-07-27 07:01:35
|
2011/7/26 Sam Steingold <sd...@gn...>: > Native win32 clisp supports cygwin symlinks (see w32shell.c) with the > CYGWIN=winsymlinks setting. > Alas, this is not longer the default, so someone needs to lift the > appropriate code from winsup/cygwin/path.cc and adapt it to clisp. > > volunteers? I ran out of time lately, sorry. Not this month. I could not even check Yaroslaw gnulib problems, which should have been easy to fix if you had the same environment, which I do have. -- Reini |
From: Sam S. <sd...@gn...> - 2011-07-26 23:00:02
|
> * Bruno Haible <oe...@py...> [2011-07-27 00:17:48 +0200]: > > I haven't found build instructions for mingw in clisp's INSTALL file. hg pull -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://www.memritv.org http://thereligionofpeace.com http://dhimmi.com http://mideasttruth.com http://camera.org You don't have to prepare when your REAL friends are coming over. |
From: Bruno H. <br...@cl...> - 2011-07-26 22:18:13
|
Hi Sam and Yaroslav, Recently I've been asked for help and seen gross hacks in makemake.in and elsewhere regarding gnulib. I think you could achieve a technically better resolution of these issues (with approaches that are more in line with what gnulib means to deliver) if you talk with the gnulib people directly, and provide sufficient information. IMO, the problem is that gnulib and clisp both have a certain complexity (gnulib because it runs autoconf macros, generates a config.h file and many other .h files, and because often 'foo' is 'rpl_foo'; clisp because it also runs autoconf macros, generates different Makefiles in different directories, and uses 'clisp-link'), and therefore some analysis is required to determine the cause of the problem. This analysis can be performed by a single person in front of the build tree very quickly, but takes a long time through mail. Additionally, neither Sam nor me can currently do this analysis, because Sam uses a different compilation environment for mingw than Yaroslav, and I haven't found build instructions for mingw in clisp's INSTALL file. Also, you can get faster replies by writing to bug-gnulib instead of to me personally. Don't underestimate the other gnulib contributors. So, what I think would be useful is that the person who gets the build errors makes it possible for Sam and the gnulib people to reproduce and analyze the build errors. This can be done in one of two ways: a) Instructions how to reproduce. This includes a pointer to the clisp version in hg, the configure command line, and a list of relevant installed libraries (e.g. libintl, libiconv), in particular. b) Tar up the build tree at the moment of the error, and put it up for ftp or http somewhere, where Sam and the gnulib people can download it and analyze everything (from the contents of confog.h to the symbols defined in .o files). You have to understand that gnulib developers cannot arrive at valid conclusions regarding clisp internals if they get confronted merely with the error message, and have to do guesswork. Bruno -- In memoriam Eva Perón <http://en.wikipedia.org/wiki/Eva_Perón> |
From: Bruno H. <br...@cl...> - 2011-07-26 21:40:40
|
Sam wrote: > > * Yaroslav Kavenchuk <xni...@tz...> [2011-07-26 09:54:51 +0300]: > > > > libgnu.a(regex.o): In function `rpl_re_compile_pattern': > > g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:238: > > undefined reference to `libintl_gettext' > > libgnu.a(regex.o): In function `rpl_regerror': > > g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:559: > > undefined reference to `libintl_gettext' > > collect2: ld returned 1 exit status > > ./clisp-link: failed in /home/src/clisp/clisp/build-full-debug/base > > make: *** [base] Error 1 > > does this patch help? > > diff -r 72dfd22cafec modules/regexp/regexi.c > --- a/modules/regexp/regexi.c Tue Jul 26 10:49:16 2011 -0400 > +++ b/modules/regexp/regexi.c Tue Jul 26 11:00:18 2011 -0400 > @@ -144,3 +144,6 @@ DEFUN(REGEXP::REGEXP-EXEC,pattern string > } > skipSTACK(2); /* drop pattern & string */ > } > + > +/* gnulib workaround for mingw */ > +char* libintl_gettext (char* s) { return GETTEXT(s); } This looks like a dangerous hack (regarding begin/end_system_call()). When you get "undefined reference to `libintl_gettext'" this normally means that -lintl was missing from the link options. I.e. you should review the link options that clisp-link is passing to the C compiler. Bruno -- In memoriam Eva Perón <http://en.wikipedia.org/wiki/Eva_Perón> |
From: Bruno H. <br...@cl...> - 2011-07-26 21:33:23
|
Sam, > I am thinking about replacing the %defclcs table with this: > > (defun find-common-subclass (s1 &optional (s2 'simple-error)) > (let (ret (c2 (find-class s2))) > (dolist (c (mop:class-direct-subclasses (find-class s1))) > (when (clos::subclassp c c2) > (when ret > (error (TEXT "~S and ~S have two common subclasses: ~S and ~S") > s1 s2 ret c)) > (setq ret c))) > (unless ret > (error (TEXT "~S has no common subclasses with ~S") s1 s2)) > (class-name ret))) > > I think this would be more robust than the current setup. > wdyt? You can certainly replace the CDR parts of that table using this function, and use that in the initialization of O(error_types). If you mean to remove O(error_types) entirely and replace the function convert_simple_condition with a call to find-common-subclass, then this would make clisp more fragile: 1) When a user defines a class through (defclass my-type-error (type-error simple-error) ...) then find-common-subclass will signal an error "... have two common subclasses ...". If you keep the error message, you are breaking ANSI CL (it allows the user to define my-type-error like this); if you remove the error message, you need better heuristics for finding the right subclass. 2) More generally, any breakage in the CLOS class hierarchy under ERROR could make it impossible to signal a plain error or type-error. You know that CLOS itself is complicated and may have subtle bugs. Also the users can modify the internals of classes through MOP functions and sys::%record-ref. If clisp gets into infinite recursions of internal errors after stupid manipulations of CLOS classes, I would dislike this very much. => Don't make the error handling more fragile. At some point it was possible to set the symbol-value of all non-constant symbols to NIL, and clisp survived this. To give you an idea of what kind of robustness I would expect. Bruno -- In memoriam Eva Perón <http://en.wikipedia.org/wiki/Eva_Perón> |
From: Anton V. <avo...@ya...> - 2011-07-26 21:04:21
|
27.07.2011, 00:16, "Sam Steingold" <sd...@gn...>: > Native win32 clisp supports cygwin symlinks (see w32shell.c) with the > CYGWIN=winsymlinks setting. > Alas, this is not longer the default, so someone needs to lift the > appropriate code from winsup/cygwin/path.cc and adapt it to clisp. BTW, recent Windows (Vista, 7) support symlinks natively, without cygwin (or any other) emulation |
From: Yaroslav K. <kav...@gm...> - 2011-07-26 20:54:31
|
Excuse me. Some time out - leave for 10 days -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-26 20:16:46
|
Native win32 clisp supports cygwin symlinks (see w32shell.c) with the CYGWIN=winsymlinks setting. Alas, this is not longer the default, so someone needs to lift the appropriate code from winsup/cygwin/path.cc and adapt it to clisp. volunteers? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://www.memritv.org http://dhimmi.com http://ffii.org http://openvotingconsortium.org http://memri.org Can I do it in Lisp, or would you rather wait an extra couple of months? |
From: Sam S. <sd...@gn...> - 2011-07-26 16:20:35
|
Yaroslav, do you have these system headers: #include <winternl.h> #include <ntstatus.h> if yes, do they declare CoGetCurrentProcess? how about <setjmp.h>? what happens when you remove -#elif defined(__MINGW32__) - /* on mingw: - _CRTIMP int __cdecl __MINGW_NOTHROW _setjmp (jmp_buf); - #define setjmp(x) _setjmp(x) - _CRTIMP void __cdecl __MINGW_NOTHROW longjmp (jmp_buf, int) __MINGW_ATTRIB_NORETURN; - so we only need to redefine setjmp, not longjmp. - this is actually only necessary for lightning, see - http://article.gmane.org/gmane.lisp.clisp.devel:18315 - http://lists.gnu.org/archive/html/lightning/2008-05/msg00015.html */ - #undef setjmp - #define setjmp _setjmp from lispbibl.d? (I had to!) What does the appended patch do to your build? Thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://iris.org.il http://jihadwatch.org http://palestinefacts.org http://thereligionofpeace.com http://dhimmi.com Press any key to continue or any other key to quit. diff -r 72dfd22cafec src/lispbibl.d --- a/src/lispbibl.d Tue Jul 26 10:49:16 2011 -0400 +++ b/src/lispbibl.d Tue Jul 26 12:20:01 2011 -0400 @@ -1315,17 +1315,6 @@ typedef signed int signean; #undef longjmp #define longjmp(x,y) (_longjmp(x,y), NOTREACHED) #endif -#elif defined(__MINGW32__) - /* on mingw: - _CRTIMP int __cdecl __MINGW_NOTHROW _setjmp (jmp_buf); - #define setjmp(x) _setjmp(x) - _CRTIMP void __cdecl __MINGW_NOTHROW longjmp (jmp_buf, int) __MINGW_ATTRIB_NORETURN; - so we only need to redefine setjmp, not longjmp. - this is actually only necessary for lightning, see - http://article.gmane.org/gmane.lisp.clisp.devel:18315 - http://lists.gnu.org/archive/html/lightning/2008-05/msg00015.html */ - #undef setjmp - #define setjmp _setjmp #endif /* A longjmp() can only be called using an `int'. But if we want to use a `long' and if sizeof(int) < sizeof(long), diff -r 72dfd22cafec src/stream.d --- a/src/stream.d Tue Jul 26 10:49:16 2011 -0400 +++ b/src/stream.d Tue Jul 26 12:20:01 2011 -0400 @@ -14914,7 +14914,6 @@ LISPFUNN(socket_stream_shutdown,2) { #if defined(WIN32_NATIVE) /* http://msdn.microsoft.com/en-us/library/ms804359.aspx */ -#include <ddk/ntifs.h> typedef NTSTATUS (__stdcall *QueryInformationFile_t) (IN HANDLE FileHandle, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PVOID FileInformation, IN ULONG Length, diff -r 72dfd22cafec src/win32.d --- a/src/win32.d Tue Jul 26 10:49:16 2011 -0400 +++ b/src/win32.d Tue Jul 26 12:20:01 2011 -0400 @@ -36,6 +36,8 @@ /* Table of system error messages */ #include <winerror.h> +#include <winternl.h> +#include <ntstatus.h> /* extern DWORD GetLastError (void); extern void SetLastError (DWORD ErrCode); extern DWORD FormatMessage (DWORD Flags, LPCVOID Source, DWORD MessageId, DWORD LanguageId, LPTSTR Buffer, DWORD Size, va_list* Arguments); @@ -54,7 +56,7 @@ extern void free (void* memblock); /* used by spvw.d */ /* Normal program exit */ -extern _Noreturn void _exit (int status); +/*extern _Noreturn void _exit (int status);*/ /* used by spvw.d */ /* Abrupt program termination */ @@ -139,7 +141,7 @@ struct file_id { /* Unique ID for DWORD nFileIndexHigh; DWORD nFileIndexLow; }; -typedef DWORD errno_t; +/*typedef DWORD errno_t;*/ /* fill FI for an exiting namestring */ extern errno_t namestring_file_id (char *namestring, struct file_id *fi); /* fill FI for an existing file handle */ @@ -216,6 +218,7 @@ extern ssize_t fd_write (HANDLE fd, cons #define SIZEOF_OFF_T 8 #ifdef __MINGW32__ #include <io.h> + #undef lseek #define lseek clisp_lseek /* avoid collision with prototype in <mingw/io.h> */ #endif extern off_t lseek (HANDLE fd, off_t offset, DWORD mode); @@ -337,17 +340,6 @@ extern BOOL MyCreateProcess (LPTSTR Comm LPPROCESS_INFORMATION ProcessInformation); /* used by pathname.d, stream.d */ -/* Getting "random" numbers */ -#if defined(__MINGW32__) -/* Not defined in any header. */ -extern STDCALL DWORD CoGetCurrentProcess (void); -#else - #include <objbase.h> -/* extern DWORD CoGetCurrentProcess (void); */ -#endif -/* used by lisparit.d - requires linking with ole32.lib */ - /* Getting more information about the machine. extern LONG RegOpenKeyEx (HKEY Key, LPCTSTR SubKey, DWORD Options, REGSAM Desired, PHKEY Result); extern LONG RegQueryValueEx (HKEY Key, LPTSTR ValueName, LPDWORD Reserved, LPDWORD Type, LPBYTE Data, LPDWORD cbData); |
From: Sam S. <sd...@gn...> - 2011-07-26 16:15:39
|
Yaroslav, I get a compilation error on spvw_ctype saying that LC_MESSAGES is not defined. You, obviously, do not. I use the i686-w64-mingw32-gcc cygwin cross-compiler (4.5.3). You use mingw/msys (gcc v3?). Could you please find out which header defines LC_MESSAGES for you? thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://camera.org http://pmw.org.il http://iris.org.il http://ffii.org http://dhimmi.com http://honestreporting.com If you want it done right, you have to do it yourself |
From: Sam S. <sd...@gn...> - 2011-07-26 15:01:01
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-26 09:54:51 +0300]: > > libgnu.a(regex.o): In function `rpl_re_compile_pattern': > g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:238: > undefined reference to `libintl_gettext' > libgnu.a(regex.o): In function `rpl_regerror': > g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:559: > undefined reference to `libintl_gettext' > collect2: ld returned 1 exit status > ./clisp-link: failed in /home/src/clisp/clisp/build-full-debug/base > make: *** [base] Error 1 does this patch help? diff -r 72dfd22cafec modules/regexp/regexi.c --- a/modules/regexp/regexi.c Tue Jul 26 10:49:16 2011 -0400 +++ b/modules/regexp/regexi.c Tue Jul 26 11:00:18 2011 -0400 @@ -144,3 +144,6 @@ DEFUN(REGEXP::REGEXP-EXEC,pattern string } skipSTACK(2); /* drop pattern & string */ } + +/* gnulib workaround for mingw */ +char* libintl_gettext (char* s) { return GETTEXT(s); } -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://thereligionofpeace.com http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org http://camera.org http://honestreporting.com main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} |
From: Sam S. <sd...@gn...> - 2011-07-26 14:59:48
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-26 09:54:51 +0300]: > >>> #include "lispbibl.c" >>> #undef listen >>> #undef close >>> #undef select should be fixed. >>> g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: >>> regex.h: No such file or directory >>> compilation terminated. >>> make[1]: *** [regexi.o] Error 1 >>> make[1]: Leaving directory `/home/src/clisp/clisp/build-full-debug/regexp' >>> make: *** [regexp] Error 2 >> >> does it work if you add -I/home/src/clisp/clisp/src/gllib to CPPFLAGS in >> build-full-debug/regexp/Makefile? > > no: > > regexp/Makefile: > > CC = gcc > CPPFLAGS = -I/home/src/clisp/clisp/src/gllib > CFLAGS = -g -O2 > CLISP = /home/src/clisp/clisp/build-full-debug/clisp -K boot -E UTF-8 > -Emisc 1:1 -Epathname 1:1 -norc -norc -q > CLISP_LIBDIR = G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\ > CLISP_LINKKIT = G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit > ... > regexi.o : regexi.m.c config.h > $(CC) $(CPPFLAGS) $(CFLAGS) -I$(CLISP_LINKKIT) \ > -c regexi.m.c -o regexi.o > > > out: > cd regexp ; make clisp-module CC="gcc" > CPPFLAGS="-I/usr/local/include > -I/home/src/clisp/clisp/build-full-debug/gllib > -I/home/src/clisp/clisp/build-full-debug" CFLAGS="-g -O2 -W -Wswitch > -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral > -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW > -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/include > -DDYNAMIC_FFI -I." CLFLAGS="" LIBS="-lintl > /usr/local/lib/libreadline.dll.a -L/usr/local/lib -ltermcap -ldl > /usr/local/lib/libavcall.a /usr/local/lib/libcallback.a -luser32 -lole32 > -loleaut32 -luuid -liconv -L/usr/local/lib -lsigsegv libgnu.a -lws2_32" > RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.dll > make[1]: Entering directory `/home/src/clisp/clisp/build-full-debug/regexp' > gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib > -I/home/src/clisp/clisp/build-full-debug -g -O2 -W -W > switch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type > -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -fal > ign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW > -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/includ > e -DDYNAMIC_FFI -I. > -IG:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit \ > -c regexi.m.c -o regexi.o > g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: > regex.h: No such file or directory:\ why do I not see -I/home/src/clisp/clisp/src/gllib in the gcc command line above? btw, how come msys tools report the path G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\ as /home/src/clisp/clisp/build-full-debug/ how are these paths converted? >> did the top-level configure find readline? > > yes > >> what findings did it report? > > Configure findings: > FFI: yes (user requested: default) > readline: yes (user requested: yes) > libsigsegv: yes > ./makemake --with-dynamic-ffi --with-dynamic-modules=no --verbose=yes > --with-debug --with-readline --with-module=dirkey --with-module=pcre > --with-module=rawsock --with-module=bindings/win32 > --with-libreadline-prefix=/usr/local --with-libtermcap-prefix=/usr/local > --with-libpcre-prefix=/usr/local --with-module=zlib --with-module=libsvm > --disable-maintainer-mode --srcdir=../src > --win32gcc > Makefile > >> grep READLINE config.h > > $ grep READLINE config.h > #define HAVE_DECL_RL_GNU_READLINE_P 1 > #define HAVE_DECL_RL_READLINE_NAME 1 > #define HAVE_READLINE /**/ > #define HAVE_READLINE_READLINE_H 1 > #define READLINE_CONST const > #define READLINE_FILE_COMPLETE rl_filename_completion_function > >> grep readline config.cache > > $ grep readline config.cache > ac_cv_func_readline=${ac_cv_func_readline=yes} > ac_cv_have_decl_rl_gnu_readline_p=${ac_cv_have_decl_rl_gnu_readline_p=yes} > ac_cv_have_decl_rl_readline_name=${ac_cv_have_decl_rl_readline_name=yes} > ac_cv_have_readline=${ac_cv_have_readline=yes} > ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h=yes} > ac_cv_use_readline=${ac_cv_use_readline=yes} > cl_cv_proto_readline_const=${cl_cv_proto_readline_const=const} was readline/configure passed the --with-libreadline-prefix=/usr/local option? if not, why not? please look at config.log and see how gcc is invoked in the failed tests. thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://memri.org http://honestreporting.com http://dhimmi.com http://jihadwatch.org http://camera.org http://www.PetitionOnline.com/tap12009/ Trespassers will be shot. Survivors will be prosecuted. |
From: <cli...@li...> - 2011-07-26 12:04:21
|
Send clisp-cvs mailing list submissions to cli...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/clisp-cvs or, via email, send a message with subject or body 'help' to cli...@li... You can reach the person managing the list at cli...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of clisp-cvs digest..." CLISP CVS commits for today Today's Topics: 1. clisp: * Makefile.devel (RMRF): new variable (cli...@li...) 2. clisp: * Makefile.devel (RMRF): new variable (cli...@li...) 3. clisp: typos (cli...@li...) 4. clisp: * Makefile.devel (GNULIB_CORE): add close, ioctl, and mak... (cli...@li...) 5. clisp: regenerate for close/ioctl & a gnulib update (cli...@li...) 6. clisp: * src/m4/clisp.m4 (CL_DECOLONIZE): even when $ac_cv_build... (cli...@li...) 7. clisp: * Makefile.devel (src/undef-gnulib.h): new target (cli...@li...) 8. clisp: regenerate for CL_DECOLONIZE on mingw/cygpath (cli...@li...) 9. clisp: (spvwtab*.o): depend on undef-gnulib.h (cli...@li...) ---------------------------------------------------------------------- Message: 1 Date: Mon, 25 Jul 2011 16:13:04 +0000 From: cli...@li... Subject: clisp: * Makefile.devel (RMRF): new variable To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/53ff30ef5ea4 changeset: 15467:53ff30ef5ea499426698d45a36e94fbdf0c486de user: Sam Steingold <sd...@po...> date: 2011-07-20 11:02:02 -0400 description: * Makefile.devel (RMRF): new variable diffstat: Makefile.devel | 59 ++++++++++++++++++++++++++++++----------------------------- src/ChangeLog | 4 ++++ 2 files changed, 34 insertions(+), 29 deletions(-) ------------------------------ Message: 2 Date: Mon, 25 Jul 2011 16:13:05 +0000 From: cli...@li... Subject: clisp: * Makefile.devel (RMRF): new variable To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/9a7099d3193d changeset: 15468:9a7099d3193d1821b07d616098bbd118b1492d05 user: Sam Steingold <sd...@po...> date: 2011-07-20 11:08:59 -0400 description: * Makefile.devel (RMRF): new variable (gnulib-imported): remove gnulib directories before import to see added and deleted files right away diffstat: Makefile.devel | 8 ++++++-- src/ChangeLog | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) ------------------------------ Message: 3 Date: Mon, 25 Jul 2011 16:13:07 +0000 From: cli...@li... Subject: clisp: typos To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/7787632b8eb6 changeset: 15469:7787632b8eb6a13ff628b97a6e7e002d4be77dd8 user: Sam Steingold <sd...@po...> date: 2011-07-25 09:39:34 -0400 description: typos diffstat: src/_clisp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ------------------------------ Message: 4 Date: Mon, 25 Jul 2011 16:13:10 +0000 From: cli...@li... Subject: clisp: * Makefile.devel (GNULIB_CORE): add close, ioctl, and mak... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/d320d42dbb8f changeset: 15470:d320d42dbb8fdb5132e04097e1ad2b612cfcd884 user: Sam Steingold <sd...@po...> date: 2011-07-25 11:56:12 -0400 description: * Makefile.devel (GNULIB_CORE): add close, ioctl, and make stdlib inclusion explicit (it has always been present as a dependency) * modules/rawsock/rawsock.c, socket.d, stream.d, unix.d, win32.d: use close() instead of closesocket() and ioctl() instead of ioctlsocket() on all platforms diffstat: Makefile.devel | 6 +- modules/rawsock/rawsock.c | 6 +-- src/ChangeLog | 8 ++++ src/gllib/Makefile.am | 52 +++++++++++++++++++++++++- src/gllib/close.c | 42 +++++++++++++++++++++ src/gllib/ioctl.c | 79 +++++++++++++++++++++++++++++++++++++++ src/gllib/sys_ioctl.in.h | 79 +++++++++++++++++++++++++++++++++++++++ src/glm4/close.m4 | 26 +++++++++++++ src/glm4/gnulib-cache.m4 | 5 ++- src/glm4/gnulib-comp.m4 | 18 +++++++++ src/glm4/ioctl.m4 | 41 ++++++++++++++++++++ src/glm4/sys_ioctl_h.m4 | 64 ++++++++++++++++++++++++++++++++ src/socket.d | 30 +++++++------- src/stream.d | 4 +- src/unix.d | 21 +--------- src/unixaux.d | 2 +- src/win32.d | 24 +----------- 17 files changed, 438 insertions(+), 69 deletions(-) ------------------------------ Message: 5 Date: Mon, 25 Jul 2011 16:13:12 +0000 From: cli...@li... Subject: clisp: regenerate for close/ioctl & a gnulib update To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/c90d51abbe29 changeset: 15471:c90d51abbe29cea93b09a2feae3c0dfcfc1f13e2 user: Sam Steingold <sd...@po...> date: 2011-07-25 11:56:51 -0400 description: regenerate for close/ioctl & a gnulib update diffstat: modules/berkeley-db/config.h.in | 4 + modules/berkeley-db/configure | 2 + modules/clx/new-clx/config.h.in | 4 + modules/clx/new-clx/configure | 2 + modules/dbus/config.h.in | 4 + modules/dbus/configure | 2 + modules/dirkey/config.h.in | 4 + modules/dirkey/configure | 2 + modules/fastcgi/config.h.in | 4 + modules/fastcgi/configure | 2 + modules/gdbm/config.h.in | 4 + modules/gdbm/configure | 2 + modules/gtk2/config.h.in | 4 + modules/gtk2/configure | 2 + modules/i18n/config.h.in | 4 + modules/i18n/configure | 2 + modules/libsvm/config.h.in | 4 + modules/libsvm/configure | 2 + modules/oracle/config.h.in | 4 + modules/oracle/configure | 2 + modules/pari/config.h.in | 4 + modules/pari/configure | 2 + modules/pcre/config.h.in | 4 + modules/pcre/configure | 2 + modules/postgresql/config.h.in | 4 + modules/postgresql/configure | 2 + modules/rawsock/config.h.in | 4 + modules/rawsock/configure | 2 + modules/readline/config.h.in | 4 + modules/readline/configure | 2 + modules/regexp/config.h.in | 4 + modules/regexp/configure | 2 + modules/syscalls/config.h.in | 4 + modules/syscalls/configure | 2 + modules/zlib/config.h.in | 4 + modules/zlib/configure | 2 + src/aclocal.m4 | 181 +++++++++++++++++++++- src/config.h.in | 16 ++ src/configure | 332 +++++++++++++++++++++++++++++++++++++++++- src/gllib/Makefile.in | 105 ++++++++---- src/glm4/extensions.m4 | 7 +- src/glm4/strerror_r.m4 | 8 +- src/glm4/sys_select_h.m4 | 14 +- 43 files changed, 720 insertions(+), 51 deletions(-) ------------------------------ Message: 6 Date: Mon, 25 Jul 2011 16:13:13 +0000 From: cli...@li... Subject: clisp: * src/m4/clisp.m4 (CL_DECOLONIZE): even when $ac_cv_build... To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/668cd6a31f3c changeset: 15472:668cd6a31f3cd45eea6322a51cfcf534b7195f14 user: Sam Steingold <sd...@po...> date: 2011-07-25 12:04:01 -0400 description: * src/m4/clisp.m4 (CL_DECOLONIZE): even when $ac_cv_build is mingw, use cygpath when available because cross-compiling on cygwin is not detected diffstat: src/ChangeLog | 5 +++++ src/m4/clisp.m4 | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletions(-) ------------------------------ Message: 7 Date: Mon, 25 Jul 2011 22:10:30 +0000 From: cli...@li... Subject: clisp: * Makefile.devel (src/undef-gnulib.h): new target To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/a7f97aa911e8 changeset: 15473:a7f97aa911e85fbbfae5c3eb106f382e5e21451a user: Sam Steingold <sd...@po...> date: 2011-07-25 18:08:35 -0400 description: * Makefile.devel (src/undef-gnulib.h): new target (gnulib-imported): call it at the end * src/spvwtabf.d, src/spvwtabo.d, src/spvwtabs.d: include undef-gnulib.h after lispbibl to undefine the lisp symbols redefined by gnulib * src/makemake.in: link undef-gnulib.h into the build directory * undef-gnulib.h: new file, regenerated on each gnulib-imported diffstat: Makefile.devel | 12 ++++++++++++ src/ChangeLog | 9 +++++++++ src/makemake.in | 1 + src/spvwtabf.d | 3 ++- src/spvwtabo.d | 3 ++- src/spvwtabs.d | 3 ++- src/undef-gnulib.h | 5 +++++ 7 files changed, 33 insertions(+), 3 deletions(-) ------------------------------ Message: 8 Date: Mon, 25 Jul 2011 22:10:32 +0000 From: cli...@li... Subject: clisp: regenerate for CL_DECOLONIZE on mingw/cygpath To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/01428559da1c changeset: 15474:01428559da1c7721a9a3d0427db5bd80f0df9425 user: Sam Steingold <sd...@po...> date: 2011-07-25 18:09:14 -0400 description: regenerate for CL_DECOLONIZE on mingw/cygpath diffstat: modules/berkeley-db/configure | 7 ++++++- modules/clx/new-clx/configure | 7 ++++++- modules/dbus/configure | 7 ++++++- modules/dirkey/configure | 7 ++++++- modules/fastcgi/configure | 7 ++++++- modules/gdbm/configure | 7 ++++++- modules/gtk2/configure | 7 ++++++- modules/i18n/configure | 7 ++++++- modules/libsvm/configure | 7 ++++++- modules/oracle/configure | 7 ++++++- modules/pari/configure | 7 ++++++- modules/pcre/configure | 7 ++++++- modules/postgresql/configure | 7 ++++++- modules/rawsock/configure | 7 ++++++- modules/readline/configure | 7 ++++++- modules/regexp/configure | 7 ++++++- modules/syscalls/configure | 7 ++++++- modules/zlib/configure | 7 ++++++- src/aclocal.m4 | 7 ++++++- src/configure | 9 +++++++-- 20 files changed, 121 insertions(+), 21 deletions(-) ------------------------------ Message: 9 Date: Mon, 25 Jul 2011 22:34:28 +0000 From: cli...@li... Subject: clisp: (spvwtab*.o): depend on undef-gnulib.h To: cli...@li... Message-ID: <hg....@vz...> Content-Type: text/plain; charset="us-ascii" details: http://clisp.hg.sourceforge.net/hgweb/clisp/clisp/clisp/rev/be1cc2d15787 changeset: 15475:be1cc2d15787e063f78da74ec3be5a3f8e3d0767 user: Sam Steingold <sd...@po...> date: 2011-07-25 18:33:33 -0400 description: (spvwtab*.o): depend on undef-gnulib.h diffstat: src/ChangeLog | 1 + src/makemake.in | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) ------------------------------ ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ------------------------------ _______________________________________________ clisp-cvs mailing list cli...@li... https://lists.sourceforge.net/lists/listinfo/clisp-cvs End of clisp-cvs Digest, Vol 62, Issue 8 **************************************** |
From: Yaroslav K. <kav...@gm...> - 2011-07-26 06:55:08
|
Sam Steingold wrote: >> ok. spvwtab*.d: >> >> #include "lispbibl.c" >> #undef listen >> #undef close >> #undef select > > is "undef select" really necessary?! No, "undef select" only need the following two files: >> >> win32aux.d: >> >> #include "lispbibl.c" >> #undef select >> #undef listen >> >> >> stream.d: >> >> #include "lispbibl.c" >> #undef listen >> #undef select >> > > are these two really necessary? "select" - yes, "listen" - no ../src/win32aux.d: In function 'sock_read_will_hang_p': ../src/win32aux.d:788:3: warning: implicit declaration of function 'select_used_without_requesting_gnulib_module_select' and so on >> g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: >> regex.h: No such file or directory >> compilation terminated. >> make[1]: *** [regexi.o] Error 1 >> make[1]: Leaving directory `/home/src/clisp/clisp/build-full-debug/regexp' >> make: *** [regexp] Error 2 > > does it work if you add -I/home/src/clisp/clisp/src/gllib to CPPFLAGS in > build-full-debug/regexp/Makefile? no: regexp/Makefile: CC = gcc CPPFLAGS = -I/home/src/clisp/clisp/src/gllib CFLAGS = -g -O2 CLISP = /home/src/clisp/clisp/build-full-debug/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -norc -q CLISP_LIBDIR = G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\ CLISP_LINKKIT = G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit ... regexi.o : regexi.m.c config.h $(CC) $(CPPFLAGS) $(CFLAGS) -I$(CLISP_LINKKIT) \ -c regexi.m.c -o regexi.o out: cd regexp ; make clisp-module CC="gcc" CPPFLAGS="-I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -I/home/src/clisp/clisp/build-full-debug" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/include -DDYNAMIC_FFI -I." CLFLAGS="" LIBS="-lintl /usr/local/lib/libreadline.dll.a -L/usr/local/lib -ltermcap -ldl /usr/local/lib/libavcall.a /usr/local/lib/libcallback.a -luser32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib -lsigsegv libgnu.a -lws2_32" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.dll make[1]: Entering directory `/home/src/clisp/clisp/build-full-debug/regexp' gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -I/home/src/clisp/clisp/build-full-debug -g -O2 -W -W switch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -fal ign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/includ e -DDYNAMIC_FFI -I. -IG:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit \ -c regexi.m.c -o regexi.o g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: regex.h: No such file or directory:\ > did the top-level configure find readline? yes > what findings did it report? Configure findings: FFI: yes (user requested: default) readline: yes (user requested: yes) libsigsegv: yes ./makemake --with-dynamic-ffi --with-dynamic-modules=no --verbose=yes --with-debug --with-readline --with-module=dirkey --with-module=pcre --with-module=rawsock --with-module=bindings/win32 --with-libreadline-prefix=/usr/local --with-libtermcap-prefix=/usr/local --with-libpcre-prefix=/usr/local --with-module=zlib --with-module=libsvm --disable-maintainer-mode --srcdir=../src --win32gcc > Makefile > grep READLINE config.h $ grep READLINE config.h #define HAVE_DECL_RL_GNU_READLINE_P 1 #define HAVE_DECL_RL_READLINE_NAME 1 #define HAVE_READLINE /**/ #define HAVE_READLINE_READLINE_H 1 #define READLINE_CONST const #define READLINE_FILE_COMPLETE rl_filename_completion_function > grep readline config.cache $ grep readline config.cache ac_cv_func_readline=${ac_cv_func_readline=yes} ac_cv_have_decl_rl_gnu_readline_p=${ac_cv_have_decl_rl_gnu_readline_p=yes} ac_cv_have_decl_rl_readline_name=${ac_cv_have_decl_rl_readline_name=yes} ac_cv_have_readline=${ac_cv_have_readline=yes} ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h=yes} ac_cv_use_readline=${ac_cv_use_readline=yes} cl_cv_proto_readline_const=${cl_cv_proto_readline_const=const} when preset CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" in ./configure..., all modules is built, but: libgnu.a(regex.o): In function `rpl_re_compile_pattern': g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:238: undefined reference to `libintl_gettext' libgnu.a(regex.o): In function `rpl_regerror': g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:559: undefined reference to `libintl_gettext' collect2: ld returned 1 exit status ./clisp-link: failed in /home/src/clisp/clisp/build-full-debug/base make: *** [base] Error 1 -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-25 22:21:41
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-25 13:27:52 +0300]: > > ok. spvwtab*.d: > > #include "lispbibl.c" > #undef listen > #undef close > #undef select is "undef select" really necessary?! > > win32aux.d: > > #include "lispbibl.c" > #undef select > #undef listen > > > stream.d: > > #include "lispbibl.c" > #undef listen > #undef select > are these two really necessary? > > clisp.c:412: > > W32ERR(WaitForSingleObject); > not > w32err(WaitForSingleObject); > > > > clisp.c:419: > > int status = FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | > not > int status = FormatMessage(FeORMAT_MESSAGE_ALLOCATE_BUFFER | > oops. thanks, fixed. > > Now: > > ;; MODPREP: "g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c" --> > #P"G:regexi.m.c" > ;; MODPREP: reading > "g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c": 5,332 bytes, 141 > lines > ;; MODPREP: 11 objects, 3 DEFUNs > ;; packages: ("REGEXP") > MODPREP: wrote G:regexi.m.c (9,732 bytes) > gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib > -I/home/src/clisp/clisp/build-full-debug -g -O2 -W -Wswitch -Wcomment > -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations > -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g > -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 > -DENABLE_UNICODE -I/usr/local/include -DDYNAMIC_FFI -I. > -IG:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit \ > -c regexi.m.c -o regexi.o > g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: > regex.h: No such file or directory > compilation terminated. > make[1]: *** [regexi.o] Error 1 > make[1]: Leaving directory `/home/src/clisp/clisp/build-full-debug/regexp' > make: *** [regexp] Error 2 does it work if you add -I/home/src/clisp/clisp/src/gllib to CPPFLAGS in build-full-debug/regexp/Makefile? > Next: > > configure: ** Readline (Headers, Variables & Functions) > checking for library containing tgetent... -ltermcap > checking readline/readline.h usability... no > checking readline/readline.h presence... no > checking for readline/readline.h... no > configure: error: in `/home/src/clisp/clisp/build-full-debug/readline': > configure: error: despite --with-readline, GNU readline was not found > (try --with-libreadline-prefix) > > but --with-libreadline-prefix present in './configure...' did the top-level configure find readline? what findings did it report? grep READLINE config.h grep readline config.cache -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://ffii.org http://camera.org http://palestinefacts.org http://memri.org http://iris.org.il http://dhimmi.com http://www.PetitionOnline.com/tap12009/ I'd give my right arm to be ambidextrous. |
From: Yaroslav K. <kav...@gm...> - 2011-07-25 10:28:04
|
Sam Steingold wrote: > > so add "undef close"&c&c&c. > ok. spvwtab*.d: #include "lispbibl.c" #undef listen #undef close #undef select win32aux.d: #include "lispbibl.c" #undef select #undef listen stream.d: #include "lispbibl.c" #undef listen #undef select clisp.c:412: W32ERR(WaitForSingleObject); not w32err(WaitForSingleObject); clisp.c:419: int status = FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | not int status = FormatMessage(FeORMAT_MESSAGE_ALLOCATE_BUFFER | Now: ;; MODPREP: "g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c" --> #P"G:regexi.m.c" ;; MODPREP: reading "g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c": 5,332 bytes, 141 lines ;; MODPREP: 11 objects, 3 DEFUNs ;; packages: ("REGEXP") MODPREP: wrote G:regexi.m.c (9,732 bytes) gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -I/home/src/clisp/clisp/build-full-debug -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/include -DDYNAMIC_FFI -I. -IG:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit \ -c regexi.m.c -o regexi.o g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: regex.h: No such file or directory compilation terminated. make[1]: *** [regexi.o] Error 1 make[1]: Leaving directory `/home/src/clisp/clisp/build-full-debug/regexp' make: *** [regexp] Error 2 regex.h is present only in src/gllib I copy it to build/gllib. Next: configure: ** Readline (Headers, Variables & Functions) checking for library containing tgetent... -ltermcap checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no configure: error: in `/home/src/clisp/clisp/build-full-debug/readline': configure: error: despite --with-readline, GNU readline was not found (try --with-libreadline-prefix) but --with-libreadline-prefix present in './configure...' -- WBR, Yaroslav Kavenchuk |