Re: [Ecls-list] ECL as an embedded language on an Android game

2013-07-07 Thread Peter Enerccio
also, wont make this unusable for any commercial effort? If I have to put my binary out for anyone to download and link with ecl to have the program, why would anyone buy the already linked thing? 2013/7/7 Pascal J. Bourguignon > Matthew Mondor > writes: > > > On Sat, 06 Jul 2013 11:35:35 +020

Re: [Ecls-list] ECL as an embedded language on an Android game

2013-07-07 Thread Peter Enerccio
I dont understand why do you need to provide your binary o file with LGPL at all. What is the merit of it, from the point of creator of library? 2013/7/7 Matthew Mondor > On Sat, 06 Jul 2013 11:35:35 +0200 > "Pascal J. Bourguignon" wrote: > > > > Unless I'm mistaken (disclaimer: I'm no lawyer)

Re: [Ecls-list] How to wrap and return constant pointers with c-inline?

2013-07-07 Thread Peter Enerccio
++ you cant because you will need to write the class in at initialization anyways. Ultimately though, pointers are just numbers, so casts work precisely. 2013/7/7 Matthew Mondor > On Sun, 7 Jul 2013 17:27:38 +0200 > Peter Enerccio wrote: > > > Constness of a pointer, in c and c++ m

Re: [Ecls-list] How to wrap and return constant pointers with c-inline?

2013-07-07 Thread Peter Enerccio
Constness of a pointer, in c and c++ means absolutely nothing. It is just a way for programmer to self policy, same as private/public in c++/java, they are only for compilers to throw errors and programmers to avoid those errors. In memory, it is just data, and as data, in c you can force compiler

Re: [Ecls-list] Can anybody send me a copy of the latest source code of ECL?

2013-06-29 Thread Peter Enerccio
Why would they block SF in china? WTF? 2013/6/29 Pascal J. Bourguignon > ZhanLin Shang writes: > > > Hi all, > > I'm in China now and since the SourceForge is blocked here, I can not > > get the access to the project page of ECL. Can you guys give me a copy > > of the latest source code or the

Re: [Ecls-list] Crash with mp:process-run-function (stack overflow)

2013-06-26 Thread Peter Enerccio
Okay, nvm, it is fixed with latest ecl. 2013/6/26 Peter Enerccio > Ecl crashes every time mp:process-run-function is ran. > > ;;; Loading "/media/home/home/enerccio/quicklisp/setup.lisp" > ;;; Loading #P"/usr/lib/ecl-13.5.1/cmp.fas" > ;;; Loading #P&

[Ecls-list] Crash with mp:process-run-function (stack overflow)

2013-06-26 Thread Peter Enerccio
Ecl crashes every time mp:process-run-function is ran. ;;; Loading "/media/home/home/enerccio/quicklisp/setup.lisp" ;;; Loading #P"/usr/lib/ecl-13.5.1/cmp.fas" ;;; Loading #P"/usr/lib/ecl-13.5.1/asdf.fas" ECL (Embeddable Common-Lisp) 13.5.1 (git:64fb2cea2bc504bb9c0e4459b8ad2aa92518bd49) Copyright

Re: [Ecls-list] Standalone binary not really standalone?

2013-06-04 Thread Peter Enerccio
Cant asdf be prepackaged into fas? Which is something I wanted to report too, when loading such fas built out of asdf package (cl-opengl), it requires cmp package, thus I think will not work on system without compiler. 2013/6/5 Juan Jose Garcia-Ripoll > > On Tue, Jun 4, 2013 at 8:26 PM, William

Re: [Ecls-list] Announce: A new C++ based implementation of Common Lisp based on the ECL CL code

2013-03-04 Thread Peter Enerccio
it, though, but seems to work fine. (Sorry Juan about double the mail, but apparently gmail changed my reply to all to just reply...) 2013/3/4 Peter Enerccio > Adding my $0.02 to using ecl with c++, it is quite well possible, but very > tiresome. For every method call, you have to write stati

Re: [Ecls-list] Loading cl-opengl as fas throws errors.

2013-03-03 Thread Peter Enerccio
ipoll > BTW, cl-opengl emits a warning, not an error. Why do you get it as an > error? > > P.S.: Patch is attached. > > > On Sun, Mar 3, 2013 at 10:14 PM, Juan Jose Garcia-Ripoll < > juanjose.garciarip...@gmail.com> wrote: > >> >> On Sun, Feb 3, 2013 at

Re: [Ecls-list] Best way to create classes and methods in c(++)?

2013-02-28 Thread Peter Enerccio
item into c++ type. However, what I would like is to install new methods for these c functions. 2013/2/28 Juan Jose Garcia-Ripoll > > On Thu, Feb 28, 2013 at 6:39 PM, Peter Enerccio wrote: > >> I am yet on the writing api in c++ for ecl, but I am quite puzzled on how >> t

[Ecls-list] Best way to create classes and methods in c(++)?

2013-02-28 Thread Peter Enerccio
Hello, I am yet on the writing api in c++ for ecl, but I am quite puzzled on how to create basic things, such as lisp methods/classes directly in c environment? The documentation is silent about this. Can anyone help? -- Bc. Peter Vaňušanik http://www.bishojo.tk -

Re: [Ecls-list] Any way to get stack out of condition?

2013-02-18 Thread Peter Enerccio
in+0x25) [0x408e61] /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7fbec3e5d725] /media/home/home/enerccio/projects/gaia/gaia/Debug/gaia() [0x403ee9] what I don't like is that I can't get fas compiled objects to show c debug symbol names, no matter if I add -fdynamic or not, it will only

[Ecls-list] Loading cl-opengl as fas throws errors.

2013-02-02 Thread Peter Enerccio
I am trying to load monolithic .fas generated with asdf:make-build but I am getting the error Unhandled error detected: *Don't know how to setup a hook before saving cores on this Lisp.* Backtrace: POST-INITIALIZATION Args: #:LET57= (/media/home/home/enerccio/projects/gaia/gaia/plugins/gl.f

Re: [Ecls-list] Any way to get stack out of condition?

2013-02-02 Thread Peter Enerccio
I actually got it working, so it was most likely problem on my side. Thanks! 2013/1/31 Matthew Mondor > On Thu, 31 Jan 2013 17:03:44 -0500 > Matthew Mondor wrote: > > > Hmm that's not impossible, especially if it's a recent migration or > > concerns mostly the bytecode interpreter (which I hav

Re: [Ecls-list] Compiling asdf into single fas

2013-01-31 Thread Peter Enerccio
1/01/2013, at 3:18 AM, Peter Enerccio wrote: > > > I was wondering if it is possible to compile asdf package into single > fas file for easy loading/packaging. > > ECL's ASDF does what you want. See [1] and [2]. > > [1] http://ecls.sourceforge.net/new-manual/re55.html

[Ecls-list] Documentation wrong/outdated?

2013-01-31 Thread Peter Enerccio
I ran into problem with documentation. http://ecls.sourceforge.net/new-manual/re41.html this page specifies that ecl_make_simple_base_string will copy the data supplied to it. However, if this code is executed: cl_object ret = ecl_make_simple_base_string(data, -1); free(data); return ret; the re

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-31 Thread Peter Enerccio
By the way, anton, your guess is right. > ((lambda () (si::ihs-fun 1))) # directly from ecl repl.. 2013/1/31 Peter Enerccio > I managed to grab c stack (on linux anyways) which is nice, but not that > very revealing for any bytecoded functions... > > Unhandled error detect

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-31 Thread Peter Enerccio
(__libc_start_main+0xf5) [0x7fe16fabd725] /media/home/home/enerccio/projects/gaia/gaia/Debug/gaia() [0x4019f9] 2013/1/31 Peter Enerccio > I managed to grab c stack (on linux anyways) which is nice, but not that > very revealing for any bytecoded functions... > > Unhandled error detected:

Re: [Ecls-list] Changing the compile flags.

2013-01-31 Thread Peter Enerccio
But that would actually require running ecl so I can't run it in script, can I? 2013/1/31 Anton Vodonosov > > 31.01.2013, 17:13, "Peter Enerccio" : > > Hello > > > > as part of my compilation of the c backend, I also compile few lisp > files into fasls

[Ecls-list] Changing the compile flags.

2013-01-31 Thread Peter Enerccio
Hello as part of my compilation of the c backend, I also compile few lisp files into fasls with ecl --compile. I wonder if it is possible to change/add more flags for the compiler into the command line (i am most interested in -fdynamic flag). -- Bc. Peter Vaňušanik http://www.bishojo.tk ---

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-30 Thread Peter Enerccio
Even if I put declaim in the file, it is still compiled with DEBUG 0 ;;; Compiling /media/home/home/enerccio/ projects/gaia/gaia/src/postinit.lisp. ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 2013/1/31 Matthew Mondor > On Wed, 30 Jan 2013 17:06:47 +0100 > Peter En

[Ecls-list] Compiling asdf into single fas

2013-01-30 Thread Peter Enerccio
I was wondering if it is possible to compile asdf package into single fas file for easy loading/packaging. -- Bc. Peter Vaňušanik http://www.bishojo.tk -- Everyone hates slow websites. So do we. Make your web apps faster

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-30 Thread Peter Enerccio
nwound. > I.e. catching error handler-bind you can get stack trace, because you are > still > inside the stack, but for example with handler-case you are invoked after > the stack is unwound. > > PS. also check out trivial-backtrace if you want be portable library, > although >

Re: [Ecls-list] Any way to get stack out of condition?

2013-01-30 Thread Peter Enerccio
I tried looking it up there, however it uses si::ihs-top/si::ihs-fun, which at the condition handlers are for some reason 0 so there is nothing to do at that point. 2013/1/30 Stas Boukarev > Peter Enerccio writes: > > > Hello, I was wondering if it is possible to get the sta

[Ecls-list] Any way to get stack out of condition?

2013-01-30 Thread Peter Enerccio
Hello, I was wondering if it is possible to get the stack of thrown condition. I dont think there is ansi way of doing that, however, I can see stack generated by conditions thrown in slime with ecl, so there must be a way to do it. Thanks for any pointers on how to do it. -- Bc. Peter Vaňušanik

Re: [Ecls-list] Overwriting cl functions

2013-01-29 Thread Peter Enerccio
uan Jose Garcia-Ripoll < > juanjose.garciarip...@gmail.com> wrote: > >> >> On Tue, Jan 29, 2013 at 3:28 PM, Peter Enerccio wrote: >> >>> Basically, I want to overwrite open function to return my specific >>> (gray) stream. instead of usual stream that it would. &g

Re: [Ecls-list] Overwriting cl functions

2013-01-29 Thread Peter Enerccio
Matthew Mondor > On Tue, 29 Jan 2013 15:07:19 +0100 > Peter Enerccio wrote: > > > Hello, > > > > I wanted to ask if it is possible to overwrite functions in common-lisp > > package. > > I know I can do it in c level, but I would rather do it in lisp lev

[Ecls-list] Overwriting cl functions

2013-01-29 Thread Peter Enerccio
Hello, I wanted to ask if it is possible to overwrite functions in common-lisp package. I know I can do it in c level, but I would rather do it in lisp level, if it is possible. -- Bc. Peter Vaňušanik http://www.bishojo.tk -

Re: [Ecls-list] Better handling of printing errors

2013-01-18 Thread Peter Enerccio
Also, I dont know if it is issue of slime/emacs, but methods shows really badly in stack traces, usually as , so guess which method was called is somewhat detective work. 2013/1/19 Peter Enerccio > Thanks, I will take look. > As for condition types, well, mostly its si::standard-err

Re: [Ecls-list] Better handling of printing errors

2013-01-18 Thread Peter Enerccio
quot;) and then inline evaluation C-x C-e in emacs. 2013/1/19 Matthew Mondor > On Sat, 19 Jan 2013 02:09:58 +0100 > Peter Enerccio wrote: > > > Right now, I there is a problem with lisp, the resulting condition is not > > very > > helpful, unless I go into backtr

[Ecls-list] Better handling of printing errors

2013-01-18 Thread Peter Enerccio
Right now, I there is a problem with lisp, the resulting condition is not very helpful, unless I go into backtrace. In some environments, however, I can't do such a thing, so I am left with (if printed readably): *Odd number of keys * Now when I write it's usually new code which is wrong so I fin

Re: [Ecls-list] Special variables and threads

2013-01-18 Thread Peter Enerccio
Thanks, good to know because I was wondering if I have to protect special variables in some ways. 2013/1/18 Matthew Mondor > On Fri, 18 Jan 2013 22:40:49 +0100 > Juan Jose Garcia-Ripoll wrote: > > > On Fri, Jan 18, 2013 at 9:50 PM, Matthew Mondor < > mm_li...@pulsar-zone.net>wrote: > > > > > I

[Ecls-list] Special variables and threads

2013-01-18 Thread Peter Enerccio
Hello, I have a question. Are special variables safe for multithreading? Ie, if one thread sets them, others will not be changed? Thanks. -- Bc. Peter Vaňušanik http://www.bishojo.tk -- Master HTML5, CSS3, ASP.NET, MVC,

[Ecls-list] Ecl PARSE-NAMESTRING unable to handle unicode path name

2013-01-13 Thread Peter Enerccio
Hello, I am trying to pass unicode string into PARSE-NAMESTRING, however, it doesn't work. (parse-namestring "aAaaajあ") Cannot coerce string aAaaajあ to a base-string [Condition of type SIMPLE-ERROR] List of features: *features* (:SWANK :SERVE-EVENT :PROFILE :LINUX :FORMATTER

[Ecls-list] (no subject)

2013-01-11 Thread Peter Enerccio
Hello, how would I prevent the ecl from stripping all the symbol info from the compiled file? I am trying to profile code but I get zero results even when including -pg both in compilation flags and in linker flags. -- Bc. Peter Vaňušanik http://www.bishojo.tk ---

Re: [Ecls-list] SBCL Sockets in ecl will not take string as buffer?

2013-01-07 Thread Peter Enerccio
I already fixed those. As for no string buffer, I had to write string to unsigned char conversion function. 2013/1/7 Michael Wood > Hi > > On 7 January 2013 17:45, Peter Enerccio wrote: > [...] > > Lisp object is not a valid socket buffer: HTTP/1.0 200 OK nServer: > H

Re: [Ecls-list] SBCL Sockets in ecl will not take string as buffer?

2013-01-07 Thread Peter Enerccio
Isnt there unicode string -> base string decoding function? Or is the only option to recompile ECL without unicode? 2013/1/7 Juan Jose Garcia-Ripoll > On Mon, Jan 7, 2013 at 4:45 PM, Peter Enerccio wrote: > >> Hello, I am trying to use SB-BSD-SOCKETS in ecl, however, since

[Ecls-list] SBCL Sockets in ecl will not take string as buffer?

2013-01-07 Thread Peter Enerccio
Hello, I am trying to use SB-BSD-SOCKETS in ecl, however, since there is no documentation about that, I am using documentation on SBCL webpage (which is supposed to be the same for sockets), however, SOCKET-SEND according to help on sbcl webpage can accept string as buffer, however, this method is

Re: [Ecls-list] Better handling of swank refedinition of method?

2012-12-27 Thread Peter Enerccio
Thanks, I will use that. And I mean that there is nothing else (except that fmakeunbound that I learned now) to actually get program working again, other than turning off ecl and turn it on again (and get all the stuff back). 2012/12/27 Anton Vodonosov > 28.12.2012, 00:17, "Peter

[Ecls-list] Better handling of swank refedinition of method?

2012-12-27 Thread Peter Enerccio
When I try to use ecl with emacs and slime, if I need to change the method to a different one, with different lambda list, I get an error out of which I can't recover in any sensible way, so I have to stop the ecl and start is again and load the new method in. This is way too cumberstone, there sho

Re: [Ecls-list] Previously reported problem on MinGW32 but on Cygwin (probably GCC bug)

2012-12-20 Thread Peter Enerccio
I mean the gcc package of mingw, not the whole mingw. 2012/12/21 Peter Enerccio > I had the same problem. The only way to fix it is to downgrade mingw. > > > 2012/12/20 Jean-Pierre Flori > >> Dear all, >> >> I encountered the problem reported here: >

Re: [Ecls-list] Previously reported problem on MinGW32 but on Cygwin (probably GCC bug)

2012-12-20 Thread Peter Enerccio
I had the same problem. The only way to fix it is to downgrade mingw. 2012/12/20 Jean-Pierre Flori > Dear all, > > I encountered the problem reported here: > http://sourceforge.net/mailarchive/message.php?msg_id=28468685 > but on Cygwin (64 bits Windows 7) using a compiled from scratch GCC > 4.

[Ecls-list] Automatic memory reclamation

2012-12-13 Thread Peter Enerccio
Is it possible for automatic memory reclamation when object is no longer needed (ie it's parent foreign type has been disposed in the ecl memory)? Or the same equivalent for defclass made class instance. The reason being, in sdl, you must call SDL_FreeSurface when it's no longer needed and it wou

Re: [Ecls-list] Defconstant impossible with ffi?

2012-12-13 Thread Peter Enerccio
Thanks, that worked well! 2012/12/13 Peter Enerccio > Thanks, that worked well! > > > 2012/12/13 Matthew Mondor > >> On Thu, 13 Dec 2012 16:17:28 +0100 >> Peter Enerccio wrote: >> >> > Hello, >> > >> > I am trying to compile file

[Ecls-list] Defconstant impossible with ffi?

2012-12-13 Thread Peter Enerccio
Hello, I am trying to compile file containing only this: (DEFCONSTANT +SDL_HWSURFACE+ (FFI:C-INLINE () () :INT "SDL_HWSURFACE" :ONE-LINER T :SIDE-EFFECTS NIL)) however, I get > (compile-file "test.lisp") ;;; ;;; Compiling test.lisp. ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 ;;

Re: [Ecls-list] Macros impossible in compiled function

2012-12-11 Thread Peter Enerccio
Ah, right, I know why it is impossible. At the point of compilation of the lambda macro doesnt exists yet. Duh. Sorry about that. 2012/12/11 Peter Enerccio > Ah, thank you. I guess that was the problem, I didn't think about the > local definition, since technically, you can define f

Re: [Ecls-list] Macros impossible in compiled function

2012-12-11 Thread Peter Enerccio
gt; On Tue, Dec 11, 2012 at 12:58 AM, Peter Enerccio wrote: > >> Macrolet will make possible to do local macros, which are fine, but this >> is not what I meant. >> What I wanted is to define macros "safely", because the code is evaluated >> in different thread with s

Re: [Ecls-list] Macros impossible in compiled function

2012-12-10 Thread Peter Enerccio
acro is not a toplevel form and thus the > definition is not available for the statement that follows it. Use macrolet > instead. > El 10/12/2012 23:28, "Peter Enerccio" escribió: > >> Hello, I dont know if this is related to the common lisp or the ecl, >> but

[Ecls-list] Macros impossible in compiled function

2012-12-10 Thread Peter Enerccio
Hello, I dont know if this is related to the common lisp or the ecl, but imagine code like this, compiled into function: (LAMBDA () (LET ((CORE::P *PACKAGE*) (CORE:THIS #)) (IN-PACKAGE ANCA) (HANDLER-CASE (UNWIND-PROTECT (PROGN (PROGN (DEFMACRO ANCA::RU

[Ecls-list] Easy way to bind c++ class instances in lisp?

2012-12-06 Thread Peter Enerccio
I am looking for easy way of wrapping around class instances of c++. I can wrap it in lisp with classes with slot containing fixnum of the pointer and then recast it in c++ but its cumberstone and has lot of boiler plate on both lisp and c++ side. Any other way of doing that? Could be even in lisp

Re: [Ecls-list] Resitricted mode - possible?

2012-11-13 Thread Peter Enerccio
them to the mailing list for future use of other > people. This is not a private consulting office and if I answer some > question to you, it is most likely that I will have to answer the same > question again. > > On Tue, Nov 13, 2012 at 11:32 AM, Peter Enerccio wrote: > >&g

Re: [Ecls-list] Resitricted mode - possible?

2012-11-12 Thread Peter Enerccio
-Ripoll > Trying to precise an answer from a private email > > On Mon, Nov 12, 2012 at 12:47 AM, Peter Enerccio wrote: > >> it should not be possible to break into another object's code > > > This is only possible through the MP package, which allows interrupting >

[Ecls-list] Resitricted mode - possible?

2012-11-11 Thread Peter Enerccio
Hello, I am wondering if it is possible to have restricted mode of lisp with ecl? Something that would not allow some functions or some potentially risky features (such as disk writes)? I know I can redefine the builtin functions by simply redefining them, but is that fool proof? Thanks. -- Bc.

[Ecls-list] How to define c function for lisp with X arguments?

2012-11-05 Thread Peter Enerccio
I have only seen in tutorials how to define it with one or possibly infinite arguments. I am using this kind of macro: #define DEFUN( name, argcount, fpointer) do { \ cl_def_c_function(c_string_to_object(name), \ (cl_objectfn_fixed)fpointer, \ argcount); \ } while (

Re: [Ecls-list] Making new class with defclass in another thread

2012-11-05 Thread Peter Enerccio
under certain conditions; see file 'Copyright' for details. Type :h for Help. Top level in: #. Here is the test case that reproduces it for me It will print a, but not b so it froze on defclass. 2012/11/5 Mark Cox > Hi Peter, > > On Mon, Nov 5, 2012 at 11:10 AM, Peter Enerccio

[Ecls-list] Making new class with defclass in another thread

2012-11-04 Thread Peter Enerccio
Hello, if I attempt to create new class in code evaluated in thread, it will either ends with segfault or it will simply freeze the thread. Evaluating same code in main thread is fine. -- Bc. Peter Vaňušanik http://www.bishojo.tk ---

Re: [Ecls-list] Repl loop running in another thread and non blocking?

2012-11-04 Thread Peter Enerccio
are fore > > On Fri, Nov 2, 2012 at 3:46 PM, Peter Enerccio wrote: > >> Well, I can get my own stdin thread in it, but it has the problem that >> once there is error, it will go crazy about console resource being already >> acquired, all over. >> > > I think y

Re: [Ecls-list] Repl loop running in another thread and non blocking?

2012-11-02 Thread Peter Enerccio
fore > > On Fri, Nov 2, 2012 at 3:46 PM, Peter Enerccio wrote: > >> Well, I can get my own stdin thread in it, but it has the problem that >> once there is error, it will go crazy about console resource being already >> acquired, all over. >> > > I think you ar

Re: [Ecls-list] Repl loop running in another thread and non blocking?

2012-11-02 Thread Peter Enerccio
can be debugged on the fly. 2012/11/2 Juan Jose Garcia-Ripoll > On Fri, Nov 2, 2012 at 12:26 AM, Peter Enerccio wrote: > >> Is it possible to have repl not block and wait for error instead being >> available during the runtime of application? >> Right now, I hav

[Ecls-list] Repl loop running in another thread and non blocking?

2012-11-01 Thread Peter Enerccio
Is it possible to have repl not block and wait for error instead being available during the runtime of application? Right now, I have something similar made artificially but there are numerous errors when error actually happens in the stuff I evaluated. -- Bc. Peter Vaňušanik http://www.bishojo.

Re: [Ecls-list] Multi thread problem

2012-11-01 Thread Peter Enerccio
Roger, works fine with that repo link. 2012/11/1 Peter Enerccio > Okay, will try that then > > > 2012/11/1 Juan Jose Garcia-Ripoll > >> On Thu, Nov 1, 2012 at 9:45 PM, Peter Enerccio wrote: >> >>> enerccio@G73Jh-Arch:~/tmp$ ecl >>> ECL

Re: [Ecls-list] Multi thread problem

2012-11-01 Thread Peter Enerccio
Okay, will try that then 2012/11/1 Juan Jose Garcia-Ripoll > On Thu, Nov 1, 2012 at 9:45 PM, Peter Enerccio wrote: > >> enerccio@G73Jh-Arch:~/tmp$ ecl >> ECL (Embeddable Common-Lisp) 12.7.1 (git:UNKNOWN) >> > > This is the latest release. It is too old. Pleas

Re: [Ecls-list] Multi thread problem

2012-11-01 Thread Peter Enerccio
conditions; see file 'Copyright' for details. Type :h for Help. Top level in: #. > 2012/11/1 Juan Jose Garcia-Ripoll > On Thu, Nov 1, 2012 at 9:31 PM, Peter Enerccio wrote: > >> I tried your code with little modified makefile and I still get the same >> segfault:

Re: [Ecls-list] Multi thread problem

2012-11-01 Thread Peter Enerccio
I tried your code with little modified makefile and I still get the same segfault: enerccio@G73Jh-Arch:~/tmp$ make gcc main.c thread.c -lecl -o main -lpthread `ecl-config --ldflags` `ecl-config --cflags` enerccio@G73Jh-Arch:~/tmp$ ./main Segmentation fault enerccio@G73Jh-Arch:~/tmp$ gdb ./main GNU

[Ecls-list] Ecl threading issue

2012-10-25 Thread Peter Enerccio
Forgot the title. 2012/10/24 Peter Enerccio > Hello, I have trouble related to the threading with ecl. > The problem is exactly the same as in > http://www.mail-archive.com/ecls-list@lists.sourceforge.net/msg02098.html, > > however, I do not use gc and the fix posted there does

[Ecls-list] (no subject)

2012-10-24 Thread Peter Enerccio
Hello, I have trouble related to the threading with ecl. The problem is exactly the same as in http://www.mail-archive.com/ecls-list@lists.sourceforge.net/msg02098.html, however, I do not use gc and the fix posted there does not work. Any help? -- Bc. Peter Vaňušanik http://www.bishojo.tk ---