linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Compilation error with 1.7.1 sources


From: Avinash
Subject: [Linphone-developers] Compilation error with 1.7.1 sources
Date: Mon, 21 May 2007 21:14:30 +0530

Hi All ,

I am trying to use linphone 1.7.1
I am getting following compilation errors when I try to build the source.

"make[2]: Entering directory `/home/avinash/linphone-1.7.1/gtk'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../oRTP/include -I../coreapi -I../mediastreamer2/include -I/usr/include    -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DINET6         -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c:26: error: syntax error before "linphone_options"
main.c:27: warning: braces around scalar initializer
main.c:27: warning: (near initialization for `linphone_options[0]')
main.c:28: error: field name not in record or union initializer
main.c:28: error: (near initialization for `linphone_options[0]')
main.c:28: warning: initialization makes integer from pointer without a cast
main.c:29: error: field name not in record or union initializer
main.c:29: error: (near initialization for `linphone_options[0]')
main.c:29: warning: excess elements in scalar initializer
main.c:29: warning: (near initialization for `linphone_options[0]')
main.c:30: error: field name not in record or union initializer
main.c:30: error: (near initialization for `linphone_options[0]')
main.c:30: error: `G_OPTION_ARG_NONE' undeclared here (not in a function)
main.c:30: warning: excess elements in scalar initializer
main.c:30: warning: (near initialization for `linphone_options[0]')
main.c:31: error: field name not in record or union initializer
main.c:31: error: (near initialization for `linphone_options[0]')
main.c:31: warning: excess elements in scalar initializer
main.c:31: warning: (near initialization for `linphone_options[0]')
main.c:32: error: field name not in record or union initializer
main.c:32: error: (near initialization for `linphone_options[0]')
main.c:33: warning: excess elements in scalar initializer
main.c:33: warning: (near initialization for `linphone_options[0]')
main.c:34: warning: data definition has no type or storage class
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/avinash/linphone-1.7.1/gtk'
"

Could any one of you help me to resolve these errors please ?
Thanks in advance.

Regards,
Avinash

reply via email to

[Prev in Thread] Current Thread [Next in Thread]