Dear Sir
I just downloaded trixbox2.2.4 and try to get celliax installed in it.
during the installation after I edited the Makefile by nano command
then I did :
[root@asterisk1 build]# make
then a lot of errors as followed: please help me out. thanks a lot
cc -c -DASTERISK_VERSION_1_2 -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declarations -fomit-frame-pointer -D_REENTRANT -Wall -I/home/maruzz/devel/asterisk-1.4.11/include -o chan_celliax.o chan_celliax.c
chan_celliax.c:473:22: X11/Xlib.h: No such file or directory
chan_celliax.c:474:25: X11/Xlibint.h: No such file or directory
chan_celliax.c:475:23: X11/Xatom.h: No such file or directory
chan_celliax.c:790: error: syntax error before "Window"
chan_celliax.c:790: warning: no semicolon at end of struct or union
chan_celliax.c:791: warning: type defaults to `int' in declaration of `disp'
chan_celliax.c:791: warning: data definition has no type or storage class
chan_celliax.c:792: error: syntax error before "win"
chan_celliax.c:792: warning: type defaults to `int' in declaration of `win'
chan_celliax.c:792: warning: data definition has no type or storage class
chan_celliax.c:794: error: syntax error before '}' token
chan_celliax.c:1153: error: field `AsteriskHandlesAst' has incomplete type
chan_celliax.c:1514: error: syntax error before '*' token
chan_celliax.c:1517: error: syntax error before '*' token
chan_celliax.c: In function `load_module':
chan_celliax.c:2514: warning: implicit declaration of function `XInitThreads'
chan_celliax.c: At top level:
chan_celliax.c:11078: error: syntax error before "skype_win"
chan_celliax.c:11078: warning: type defaults to `int' in declaration of `skype_win'
chan_celliax.c:11078: error: `Window' undeclared here (not in a function)
chan_celliax.c:11078: warning: data definition has no type or storage class
chan_celliax.c:11079: error: syntax error before "old_handler"
chan_celliax.c:11079: warning: type defaults to `int' in declaration of `old_handler'
chan_celliax.c:11079: warning: data definition has no type or storage class
chan_celliax.c:11082: error: syntax error before '*' token
chan_celliax.c: In function `X11_errors_handler':
chan_celliax.c:11084: error: `dpy' undeclared (first use in this function)
chan_celliax.c:11084: error: (Each undeclared identifier is reported only once
chan_celliax.c:11084: error: for each function it appears in.)
chan_celliax.c:11087: error: `err' undeclared (first use in this function)
chan_celliax.c: In function `X11_errors_trap':
chan_celliax.c:11095: warning: implicit declaration of function `XSetErrorHandler'
chan_celliax.c: In function `X11_errors_untrap':
chan_celliax.c:11101: error: `BadValue' undeclared (first use in this function)
chan_celliax.c:11101: error: `BadWindow' undeclared (first use in this function)
chan_celliax.c: In function `celliax_skype_send_message':
chan_celliax.c:11108: error: syntax error before "w_P"
chan_celliax.c:11109: error: `Display' undeclared (first use in this function)
chan_celliax.c:11110: error: syntax error before "handle_P"
chan_celliax.c:11113: error: `w_P' undeclared (first use in this function)
chan_celliax.c:11113: error: dereferencing pointer to incomplete type
chan_celliax.c:11114: error: dereferencing pointer to incomplete type
chan_celliax.c:11115: error: `handle_P' undeclared (first use in this function)
chan_celliax.c:11115: error: dereferencing pointer to incomplete type
chan_celliax.c:11117: error: `Atom' undeclared (first use in this function)
chan_celliax.c:11117: error: syntax error before "atom1"
chan_celliax.c:11121: error: `XEvent' undeclared (first use in this function)
chan_celliax.c:11121: error: syntax error before "e"
chan_celliax.c:11124: error: `e' undeclared (first use in this function)
chan_celliax.c:11125: error: `ClientMessage' undeclared (first use in this function)
chan_celliax.c:11126: error: `atom1' undeclared (first use in this function)
chan_celliax.c:11132: warning: implicit declaration of function `XLockDisplay'
chan_celliax.c:11137: warning: implicit declaration of function `XSendEvent'
chan_celliax.c:11137: error: `False' undeclared (first use in this function)
chan_celliax.c:11139: error: `atom2' undeclared (first use in this function)
chan_celliax.c:11143: warning: implicit declaration of function `XSync'
chan_celliax.c:11144: warning: implicit declaration of function `XUnlockDisplay'
chan_celliax.c: At top level:
chan_celliax.c:11153: error: syntax error before '*' token
chan_celliax.c: In function `celliax_skype_present':
chan_celliax.c:11155: error: `Atom' undeclared (first use in this function)
chan_celliax.c:11155: error: syntax error before "skype_inst"
chan_celliax.c:11168: warning: implicit declaration of function `XGetWindowProperty'
chan_celliax.c:11168: warning: implicit declaration of function `DefaultRootWindow'
chan_celliax.c:11168: error: `skype_inst' undeclared (first use in this function)
chan_celliax.c:11168: error: `False' undeclared (first use in this function)
chan_celliax.c:11168: error: `XA_WINDOW' undeclared (first use in this function)
chan_celliax.c:11169: error: `type_ret' undeclared (first use in this function)
chan_celliax.c:11174: error: `Success' undeclared (first use in this function)
chan_celliax.c: In function `do_skype_thread':
chan_celliax.c:11214: error: `Display' undeclared (first use in this function)
chan_celliax.c:11215: error: syntax error before "root"
chan_celliax.c:11226: warning: implicit declaration of function `XOpenDisplay'
chan_celliax.c:11226: warning: assignment makes pointer from integer without a cast
chan_celliax.c:11235: warning: implicit declaration of function `XConnectionNumber'
chan_celliax.c:11243: error: `root' undeclared (first use in this function)
chan_celliax.c:11245: warning: implicit declaration of function `XCreateSimpleWindow'
chan_celliax.c:11246: warning: implicit declaration of function `BlackPixel'
chan_celliax.c:11246: warning: implicit declaration of function `DefaultScreen'
chan_celliax.c:11250: error: dereferencing pointer to incomplete type
chan_celliax.c:11251: error: dereferencing pointer to incomplete type
chan_celliax.c:11252: error: dereferencing pointer to incomplete type
chan_celliax.c:11271: error: `XEvent' undeclared (first use in this function)
chan_celliax.c:11271: error: syntax error before "an_event"
chan_celliax.c:11281: warning: implicit declaration of function `XNextEvent'
chan_celliax.c:11281: error: `an_event' undeclared (first use in this function)
chan_celliax.c:11283: error: `ClientMessage' undeclared (first use in this function)
chan_celliax.c:11296: error: dereferencing pointer to incomplete type
make: *** [chan_celliax.o] Error 1
[root@asterisk1 build]# exit
logout
Last login: Sat Oct 27 16:26:33 2007 from 192.168.0.102
Welcome to trixbox
-------------------------------------------------
For access to the trixbox web GUI use this URL
http://192.168.0.105
For help on trixbox commands you can use from this
command shell type help-trixbox.
[root@asterisk1 ~]# cd /usr/src
[root@asterisk1 src]# cd celliax_stuff/build
[root@asterisk1 build]# nano Makefile
GNU nano 1.2.4 File: Makefile
AST_INCLUDE_DIR=/home/maruzz/devel/asterisk-1.4.11/include
#ASTERISK VERSION 1.4.XX
#Uncomment the following line if you are compiling for Asterisk 1.4 series
#Comment out if you are compiling for Asterisk 1.2 series
#CFLAGS+=-DASTERISK_VERSION_1_4
#ASTERISK VERSION 1.2.XX
#Uncomment the following line if you are compiling for Asterisk 1.2 series
#Comment out if you are compiling for Asterisk 1.4 series
CFLAGS+=-DASTERISK_VERSION_1_2
[ Wrote 64 lines ]
[root@asterisk1 build]#
[root@asterisk1 build]#
[root@asterisk1 build]# make
cc -c -DASTERISK_VERSION_1_2 -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declarations -fomit-frame-pointer -D_REENTRANT -Wall -I/home/maruzz/devel/asterisk-1.4.11/include -o chan_celliax.o chan_celliax.c
chan_celliax.c:473:22: X11/Xlib.h: No such file or directory
chan_celliax.c:474:25: X11/Xlibint.h: No such file or directory
chan_celliax.c:475:23: X11/Xatom.h: No such file or directory
chan_celliax.c:790: error: syntax error before "Window"
chan_celliax.c:790: warning: no semicolon at end of struct or union
chan_celliax.c:791: warning: type defaults to `int' in declaration of `disp'
chan_celliax.c:791: warning: data definition has no type or storage class
chan_celliax.c:792: error: syntax error before "win"
chan_celliax.c:792: warning: type defaults to `int' in declaration of `win'
chan_celliax.c:792: warning: data definition has no type or storage class
chan_celliax.c:794: error: syntax error before '}' token
chan_celliax.c:1153: error: field `AsteriskHandlesAst' has incomplete type
chan_celliax.c:1514: error: syntax error before '*' token
chan_celliax.c:1517: error: syntax error before '*' token
chan_celliax.c: In function `load_module':
chan_celliax.c:2514: warning: implicit declaration of function `XInitThreads'
chan_celliax.c: At top level:
chan_celliax.c:11078: error: syntax error before "skype_win"
chan_celliax.c:11078: warning: type defaults to `int' in declaration of `skype_win'
chan_celliax.c:11078: error: `Window' undeclared here (not in a function)
chan_celliax.c:11078: warning: data definition has no type or storage class
chan_celliax.c:11079: error: syntax error before "old_handler"
chan_celliax.c:11079: warning: type defaults to `int' in declaration of `old_handler'
chan_celliax.c:11079: warning: data definition has no type or storage class
chan_celliax.c:11082: error: syntax error before '*' token
chan_celliax.c: In function `X11_errors_handler':
chan_celliax.c:11084: error: `dpy' undeclared (first use in this function)
chan_celliax.c:11084: error: (Each undeclared identifier is reported only once
chan_celliax.c:11084: error: for each function it appears in.)
chan_celliax.c:11087: error: `err' undeclared (first use in this function)
chan_celliax.c: In function `X11_errors_trap':
chan_celliax.c:11095: warning: implicit declaration of function `XSetErrorHandler'
chan_celliax.c: In function `X11_errors_untrap':
chan_celliax.c:11101: error: `BadValue' undeclared (first use in this function)
chan_celliax.c:11101: error: `BadWindow' undeclared (first use in this function)
chan_celliax.c: In function `celliax_skype_send_message':
chan_celliax.c:11108: error: syntax error before "w_P"
chan_celliax.c:11109: error: `Display' undeclared (first use in this function)
chan_celliax.c:11110: error: syntax error before "handle_P"
chan_celliax.c:11113: error: `w_P' undeclared (first use in this function)
chan_celliax.c:11113: error: dereferencing pointer to incomplete type
chan_celliax.c:11114: error: dereferencing pointer to incomplete type
chan_celliax.c:11115: error: `handle_P' undeclared (first use in this function)
chan_celliax.c:11115: error: dereferencing pointer to incomplete type
chan_celliax.c:11117: error: `Atom' undeclared (first use in this function)
chan_celliax.c:11117: error: syntax error before "atom1"
chan_celliax.c:11121: error: `XEvent' undeclared (first use in this function)
chan_celliax.c:11121: error: syntax error before "e"
chan_celliax.c:11124: error: `e' undeclared (first use in this function)
chan_celliax.c:11125: error: `ClientMessage' undeclared (first use in this function)
chan_celliax.c:11126: error: `atom1' undeclared (first use in this function)
chan_celliax.c:11132: warning: implicit declaration of function `XLockDisplay'
chan_celliax.c:11137: warning: implicit declaration of function `XSendEvent'
chan_celliax.c:11137: error: `False' undeclared (first use in this function)
chan_celliax.c:11139: error: `atom2' undeclared (first use in this function)
chan_celliax.c:11143: warning: implicit declaration of function `XSync'
chan_celliax.c:11144: warning: implicit declaration of function `XUnlockDisplay'
chan_celliax.c: At top level:
chan_celliax.c:11153: error: syntax error before '*' token
chan_celliax.c: In function `celliax_skype_present':
chan_celliax.c:11155: error: `Atom' undeclared (first use in this function)
chan_celliax.c:11155: error: syntax error before "skype_inst"
chan_celliax.c:11168: warning: implicit declaration of function `XGetWindowProperty'
chan_celliax.c:11168: warning: implicit declaration of function `DefaultRootWindow'
chan_celliax.c:11168: error: `skype_inst' undeclared (first use in this function)
chan_celliax.c:11168: error: `False' undeclared (first use in this function)
chan_celliax.c:11168: error: `XA_WINDOW' undeclared (first use in this function)
chan_celliax.c:11169: error: `type_ret' undeclared (first use in this function)
chan_celliax.c:11174: error: `Success' undeclared (first use in this function)
chan_celliax.c: In function `do_skype_thread':
chan_celliax.c:11214: error: `Display' undeclared (first use in this function)
chan_celliax.c:11215: error: syntax error before "root"
chan_celliax.c:11226: warning: implicit declaration of function `XOpenDisplay'
chan_celliax.c:11226: warning: assignment makes pointer from integer without a cast
chan_celliax.c:11235: warning: implicit declaration of function `XConnectionNumber'
chan_celliax.c:11243: error: `root' undeclared (first use in this function)
chan_celliax.c:11245: warning: implicit declaration of function `XCreateSimpleWindow'
chan_celliax.c:11246: warning: implicit declaration of function `BlackPixel'
chan_celliax.c:11246: warning: implicit declaration of function `DefaultScreen'
chan_celliax.c:11250: error: dereferencing pointer to incomplete type
chan_celliax.c:11251: error: dereferencing pointer to incomplete type
chan_celliax.c:11252: error: dereferencing pointer to incomplete type
chan_celliax.c:11271: error: `XEvent' undeclared (first use in this function)
chan_celliax.c:11271: error: syntax error before "an_event"
chan_celliax.c:11281: warning: implicit declaration of function `XNextEvent'
chan_celliax.c:11281: error: `an_event' undeclared (first use in this function)
chan_celliax.c:11283: error: `ClientMessage' undeclared (first use in this function)
chan_celliax.c:11296: error: dereferencing pointer to incomplete type
make: *** [chan_celliax.o] Error 1
no X11 include files
seems that you have no libX11 include files on your trixbox.
edit the makefile for no skype support, or install the libX11-devel package.
ciao for now,
giovanni