Hi Folks,

           I'm attempting to build Vstuff (latest snapshot from
www.visdn.org/download/snapshots) on a debian etch system, kernel
2.6.18-4-686.

I have asterisk 1.4.2 installed along with kernel headers for
2.6.18-4-686 (from debian kernel headers package).

The ultimate aim is to build drivers for a vgsm card but currently I
think I'm just missing some essential step in the build process.

 

I'm a bit new to this so please bear with me while I step through what
I've done: (all while logged in as root)

 

1)       unpacked tarball into /usr/src/

2)       cd /usr/src/vstuff-head

3)       ran ./configure    no errors reported

4)       ran make, this fails at the "making all in libkstreamer" phase
as the template file lempar.c is missing from tools

5)       downloaded a lempar.c template from sqlite website and copied
into tools, hoping that vstuff doesn't use a modified template.

6)       re-ran make, this time libkstreamer.c fails as libkstreamer.h
is trying to include "netlink.h" which doesn't exist in the libkstreamer
dir

7)       found a netlink.h in vstuff-head/modules/kstreamer  and copied
to libkstreamer/  

8)       make

9)       now fails compile of libkstreamer/channel.c  line 35
"dereferencing pointer to incomplete type"  this being a ref to a
ks_conn struct

ks_conn structure is defined in conn.h but this doesn't seem  to be
referenced in channel.c

 

I went on to include conn.h in channel.c which then built, but the same
error then occurs in pipeline.c, including conn.h in pipeline.c  enables
make to proceed a lot further until vgsm2test.c complains about  missing
longtime.h, fixing this (pointing to chan_vgsm/longtime.h) in
vgsm2test.c and dsptest.c finally allows make to complete.

 

All the above makes me think I'm missing something to get the include
paths right.

 

Having gone through the above and running "make install" "modprobe vgsm"
now fails with a kernel bug and I'm stuck wondering whether I have dodgy
hardware or just badly built drivers... can anyone help me out of this
hinterland :-)

 

 

Many thanks,

                Robin Bussell

 

 

 

_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to