On Wed, 4 Oct 2006 05:44:30 -0500 "Joel Leyh" <[EMAIL PROTECTED]> babbled:

> Hello. I've been trying to solve this issue for a while now. I try to
> keep an up to date CVS build of e17 on my Sun box. I use Sun Studio 11
> to compile everything. It seems that there is something that makes cc
> choke, while compiling embryo, on alloca.
> 
> gmake[3]: Entering directory
> `/afs/landex.info/public/e17/e17/libs/embryo/src/bin'
> /bin/bash ../../libtool --mode=link cc  -lsocket -lnsl   -o embryo
> embryo_main.o ../../src/lib/libembryo.la
> cc -o .libs/embryo embryo_main.o  ../../src/lib/.libs/libembryo.so -lm
> -R/home/joel/build/enlightenment-9999/lib
> Undefined                       first referenced
>  symbol                             in file
> alloca                              ../../src/lib/.libs/libembryo.so
> ld: fatal: Symbol referencing errors. No output written to .libs/embryo
> 
> Just for fun, I ran a test program which calls alloca, and it worked fine.
> 
> I know if cc is ran in a certain mode, alloca won't be found since its
> a non-standard builtin. I see no indication of strange compile
> options.
> 
> Anyone see a fix for this? I am striving to get E to build nicely using
> Studio.

dunno here - but in this day and age - alloca is pretty standard. i avoided it
for problems just like this - but in the end - it's time to just give up on
os's that decide not to provide features in their compilers like alloca() which
improves memory efficiency/fragmentation etc. it's up to you to figure out
what's removing it (or use gcc) :)

> Thanks, Joel
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to