[erlang-questions] State of the Union: FFI

Zvi exta7@REDACTED
Mon Apr 13 14:32:10 CEST 2009


Hi Franco,

did u run  ./otp_build autoconf  before ./configure ?
You need to install autoconf to use it:

apt-get install autoconf 

I did:

./otp_build autoconf
./configure 
make 

and got compilation errors in beam/erl_bif_ddll.c :


beam/erl_bif_ddll.c: In function 'erl_ddll_info_2':
beam/erl_bif_ddll.c:833: error: 'de' undeclared (first use in this function)
beam/erl_bif_ddll.c:833: error: (Each undeclared identifier is reported only
once
beam/erl_bif_ddll.c:833: error: for each function it appears in.)
beam/erl_bif_ddll.c: In function 'do_unload_driver_entry':
beam/erl_bif_ddll.c:1790: error: 'erts_driver_t' has no member named 'drv'
beam/erl_bif_ddll.c:1791: error: 'erts_driver_t' has no member named 'drv'
make[3]: *** [obj/i686-pc-linux-gnu/opt/smp/erl_bif_ddll.o] Error 1
make[3]: Leaving directory `/root/erlang/otp_src_R13A-ffi/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/root/erlang/otp_src_R13A-ffi/erts/emulator'
make[1]: *** [smp] Error 2
make[1]: Leaving directory `/root/erlang/otp_src_R13A-ffi/erts'
make: *** [emulator] Error 2
[root@REDACTED otp_src_R13A-ffi]#


Thanks,
Zvi




Franco Milicchio-4 wrote:
> 
> I have started porting the patch to R13A, although I can't say if it  
> really works: it doesn't compile! Makefile error, not a C one :)
> 
> You may find the source code at:
> http://plm.dia.uniroma3.it/milicchio/public/otp_src_R13A-ffi.zip 
>   (62 MB)
> 
> 
> I have no time left today, but if we all start figuring out what's  
> wrong with it, we may end up having the FFI working on this new  
> release. I have marked the C code with comments (/* FFI START */ and / 
> * FFI END */) where I had doubts about applying Alceste's patch, so it  
> should be easy to spot them.
> 
> By the way, no news about the reason FFI hasn't been taken into  
> account yet?
> 
> Cheers!
> 
> -- 
> Franco Milicchio <fmilicchio@REDACTED>
> 
> DIA - Dept. of Computer Science and Engineering
> University Roma Tre
> http://plm.dia.uniroma3.it/milicchio/
> 
> 
>  
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 

-- 
View this message in context: http://www.nabble.com/State-of-the-Union%3A-FFI-tp22824174p23021754.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list