first of all i've tested this with several different kernels, different version
of asterisk 1.2 and different versions of visdn and vstuff. All give me the
same problem listed below.
Want to get it to work with these version (which should work according to
vstuff documentation)
Debian Etch
Debian linux-source-2.6.18
Asterisk-1.2.18
Vstuff-0.21.2
first of all patch Asterisk
/usr/src/asterisk < /usr/src/vstuff/samples/asterisk-1.2.5-cap.diff
/usr/src/asterisk -p1 < /usr/src/vstuff/samples/asterisk-1.2-disconnect.diff
/usr/src/asterisk -p1 < /usr/src/vstuff/samples/asterisk-1.2-answer.diff
build Asterisk:
make
and then the error occurs while trying to compile asterisk.c
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o
asterisk.o asterisk.casterisk.c:94: error: expected declaration specifiers or
â...â before âcapgetâasterisk.c:94: error: expected declaration specifiers or
â...â before âheaderâasterisk.c:94: error: expected declaration specifiers or
â...â before âdataptrâasterisk.c:94: warning: data definition has no type or
storage classasterisk.c:94: warning: type defaults to âintâ in declaration of
â_syscall2âasterisk.c:95: error: expected declaration specifiers or â...â
before âcapsetâasterisk.c:95: error: expected declaration specifiers or â...â
before âheaderâasterisk.c:95: error: expected declaration specifiers or â...â
before âdataptrâasterisk.c:95: warning: data definition has no type or storage
classasterisk.c:95: warning: type defaults to âintâ in declaration of
â_syscall2âmake: *** [asterisk.o] Error 1
anyone got a clue what the problem could be. Googling this error message wont
give the right answer.
Regards,
WJ van 't Hoog
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers