On Fri, Aug 17, 2012 at 04:47:12PM -0400, John Maxwell wrote:
> Hi all-
> 
> When I compile my code, I add -luuid to the csc link command, like so:
> 
>     csc -o my-app my-app.o more-code.o -luuid
> 
> and all is well. However, I also need to run the same code using csi
> (for unit testing purposes), and this doesn't work so well; csi
> segfaults out the first time that I try to call any of the uuid
> functions.
> 
> Obviously, I could rebuild csi to link against libuuid (or play games
> with using the ELF utilities to modify the binary and add libuuid to
> it's dependencies), but this feels... wrong.

hm, what platform are you on?  Which version of Chicken?

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to