[erlang-questions] tcerldrv-1.2.5b build error

Bharani bharani_vms@REDACTED
Tue Jul 8 14:01:38 CEST 2008


Thanks ! using gcc4 fixed the problem. I got a clean build of driver and the
tcerl erlang code. 

However when i tried to create the table (as shown in step4 of
http://code.google.com/p/tcerl/wiki/Example ) i got an error


 mnesia:create_table (testtab, [ { type, { external, ordered_set, tcbdbtab }
}, { external_copies, [ node () ] }, { user_properties, [ { deflate, true },
{ bucket_array_size, 10000 } ] } ]).

{aborted,{no_exists,{testtab,cstruct}}}

i have added tcerl and mnesiaex to the path and if i look at the 
Mnesia.nonode@REDACTED directory i see

-rw-rw-r--  1 erlang erlang  156 Jul  8 17:32 DECISION_TAB.LOG
-rw-rw-r--  1 erlang erlang   95 Jul  8 18:03 LATEST.LOG
-rw-rw-r--  1 erlang erlang 8328 Jul  8 17:14 schema.DAT

is there anything else i am missing?

Thanks
Bharani



Kevin Scaldeferri wrote:
> 
> What gcc are you using?  I hit some similar problems with gcc3, but  
> they don't occur with gcc4.  (But, also, I thought that Paul fixed all  
> the gcc3 build issues; or at least the ones for my specific version.)
> 
> 
> -kevin
> 
> 
> On Jul 7, 2008, at 1:39 AM, Bharani wrote:
> 
>>
>> First of all Thanks for a great work on porting tc to erlang.
>>
>> I am trying to get the tcerl to work but got a build error with the C
>> driver. I did install the tc 1.2.5 from source.
>>
>> here is what i get
>>
>>
>> make[1]: Entering directory `/home/erlang/tcerldrv-1.2.5b/fw-pkgin'
>> make[2]: Entering directory `/home/erlang/tcerldrv-1.2.5b/fw-pkgin'
>> make[2]: Nothing to be done for `all-am'.
>> make[2]: Leaving directory `/home/erlang/tcerldrv-1.2.5b/fw-pkgin'
>> make[1]: Leaving directory `/home/erlang/tcerldrv-1.2.5b/fw-pkgin'
>> Making all in src
>> make[1]: Entering directory `/home/erlang/tcerldrv-1.2.5b/src'
>> make  all-recursive
>> make[2]: Entering directory `/home/erlang/tcerldrv-1.2.5b/src'
>> make[3]: Entering directory `/home/erlang/tcerldrv-1.2.5b/src'
>> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
>> -I/usr/local/include    -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/include -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/src/legacy -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/src/misc/ -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/src/decode -I
>> /usr/local/lib/erlang/erts-5.6.2/include -W -Wall -Werror -Wpointer- 
>> arith
>> -Wcast-align -Wwrite-strings -Wmissing-prototypes  -g -O2 -MT  
>> tcbdberl.lo
>> -MD -MP -MF .deps/tcbdberl.Tpo -c -o tcbdberl.lo tcbdberl.c
>> gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/include -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/src/legacy -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/src/misc/ -I
>> /usr/local/lib/erlang/lib/erl_interface-3.5.6/src/decode -I
>> /usr/local/lib/erlang/erts-5.6.2/include -W -Wall -Werror -Wpointer- 
>> arith
>> -Wcast-align -Wwrite-strings -Wmissing-prototypes -g -O2 -MT  
>> tcbdberl.lo -MD
>> -MP -MF .deps/tcbdberl.Tpo -c tcbdberl.c  -fPIC -DPIC -o .libs/ 
>> tcbdberl.o
>> In file included from tcbdbfrom.h:5,
>>                 from tcbdberl.c:13:
>> tcbdbtypes.h:13: warning: parameter has incomplete type
>> make[3]: *** [tcbdberl.lo] Error 1
>> make[3]: Leaving directory `/home/erlang/tcerldrv-1.2.5b/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/home/erlang/tcerldrv-1.2.5b/src'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/erlang/tcerldrv-1.2.5b/src'
>> make: *** [all-recursive] Error 1
>>
>>
>> - Bharani
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/tcerldrv-1.2.5b-build-error-tp18255420p18255420.html
>> Sent from the Erlang Questions mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 
> 

-- 
View this message in context: http://www.nabble.com/tcerldrv-1.2.5b-build-error-tp18255420p18337491.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list