Two choices: You can comment out the -lexpat from the Makefile and hope that it works or you can download expat from your favorite distro location. (ie check your distro's CDs or a Mirror) Make sure you grab the dev package also. Jeremy McNamara Makerere University wrote:> am compiling h323 support using channels/h323/ error am getting is > this any pointers > chan_h323.h:30: warning: `struct sockaddr_in bindaddr' defined but not > used > g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o > -L/root/pwlib/lib -lpt_linux_x86_r -L/root/openh323/lib > -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat > /usr/i486-suse-linux/bin/ld: cannot find -lexpat > collect2: ld returned 1 exit status > make: *** [chan_h323.so] Error 1 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
On Fri, 2003-05-23 at 13:35, Makerere University wrote:> am compiling h323 support using channels/h323/ error am getting is this any > pointers > chan_h323.h:30: warning: `struct sockaddr_in bindaddr' defined but not used > g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o > -L/root/pwlib/lib -lpt_linux_x86_r -L/root/openh323/lib -lh323_linux_x86_r > -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat > /usr/i486-suse-linux/bin/ld: cannot find -lexpat > collect2: ld returned 1 exit status > make: *** [chan_h323.so] Error 1So either it is in a dir that the make line doesn't address, or it isn't installed. Do you have it? does ld know where it is? check /etc/ld.so.conf to be sure. -- Steven Critchfield <critch@basesys.com>
am compiling h323 support using channels/h323/ error am getting is this any pointers chan_h323.h:30: warning: `struct sockaddr_in bindaddr' defined but not used g++ -shared -Xlinker -x -o chan_h323.so chan_h323.o ast_h323.o -L/root/pwlib/lib -lpt_linux_x86_r -L/root/openh323/lib -lh323_linux_x86_r -L/usr/lib -lpthread -ldl -lcrypto -lssl -lexpat /usr/i486-suse-linux/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make: *** [chan_h323.so] Error 1