[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Linphone 3.4.0 FTBFS
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] Linphone 3.4.0 FTBFS |
Date: |
Mon, 14 Feb 2011 22:02:32 +0100 |
Hi,
The missing -lX11 should be fixed too now (by modifying configure.ac).
For the `tempnam' it is a warning that exists since years, don't worry
about that.
Simon
Le vendredi 11 février 2011 à 10:15 -0600, Jeff Krebs a écrit :
> No, thank you. That error is now fixed.
>
> A couple other issues cropped up FYI. I received the build error output:
>
> cd ../../coreapi/help/doc/html && tar cf html.tar *
> make[4]: Leaving directory
> `/stuff2/cvs/custom-specs/BUILD/linphone-3.4.0/coreapi/help'
> make[3]: Leaving directory
> `/stuff2/cvs/custom-specs/BUILD/linphone-3.4.0/coreapi'
> Making all in console
> make[3]: Entering directory
> `/stuff2/cvs/custom-specs/BUILD/linphone-3.4.0/console'
> CC linphonec-linphonec.o
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../coreapi -D_REENTRANT -DORTP_INET6
> -I../exosip -I../mediastreamer2/include -DIN_LINPHONE -DENABLE_TRACE
> -D_ORTP_SOURCE -DOSIP_MT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -c -o linphonec-linphonec.o `test -f 'linphonec.c' || echo './'`linphonec.c
> CC linphonec-commands.o
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../coreapi -D_REENTRANT -DORTP_INET6
> -I../exosip -I../mediastreamer2/include -DIN_LINPHONE -DENABLE_TRACE
> -D_ORTP_SOURCE -DOSIP_MT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -c -o linphonec-commands.o `test -f 'commands.c' || echo './'`commands.c
> CC linphonecsh-shell.o
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../coreapi -D_REENTRANT -DORTP_INET6
> -I../exosip -I../mediastreamer2/include -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o linphonecsh-shell.o `test
> -f 'shell.c' || echo './'`shell.c
> CCLD linphonecsh
> CCLD linphonec
> linphonec-commands.o: In function `lpc_cmd_speak':
> /stuff2/cvs/custom-specs/BUILD/linphone-3.4.0/console/commands.c:2030:
> warning: the use of `tempnam' is dangerous, better use `mkstemp'
> /usr/bin/ld: linphonec-linphonec.o: undefined reference to symbol
> 'XUnmapWindow'
> /usr/bin/ld: note: 'XUnmapWindow' is defined in DSO /usr/lib64/libX11.so.6 so
> try adding it to the linker command line
> /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[3]: *** [linphonec] Error 1
>
>
> I added "-lX11" during make:
>
> make LIBS=" -lX11 "
>
> That solved the build error, but libX11 will need to be linked correctly
> elsewhere.
>
> I don't know enough about C/C++ to comment on the "tempnam" vs. "mkstemp"
> issue.
>
>
> Jeff
>
>
> * Simon Morlat (address@hidden) wrote:
> > Thank you.
> > I updated the code, actually OSIP_SUCCESS equals 0.
> > You can replace it by 0 in your source code to workaround.
> >
> > Simon
> >
> > Le mercredi 09 février 2011 à 18:10 -0600, Jeff Krebs a écrit :
> > > libosip2-3.1.0
> > >
> > > libeXosip2-3.1.0
> > >
> > > Jeff
> > >
> > > * Simon Morlat (address@hidden) wrote:
> > > > Hi,
> > > >
> > > > What are the versions of libosip and libexosip ?
> > > >
> > > > Simon
> > > >
> > > > L
> > > >
> > > > e mardi 08 février 2011 à 21:57 -0600, Jeff Krebs a écrit :
> > > > > Experiencing a failure to build from the 3.4.0 source tarball.
> > > > >
> > > > > Fedora 14
> > > > > x86_64
> > > > > gcc 4.5.1
> > > > > libosip, libosip-devel, libeXosip, libeXosip-devel installed
> > > > >
> > > > > Am I missing something that I need to install?
> > > > >
> > > > > error message is:
> > > > >
> > > > > make[4]: Entering directory
> > > > > `/stuff2/cvs/custom-specs/BUILD/linphone-3.4.0/coreapi'
> > > > > CC linphonecore.lo
> > > > > /bin/sh ../libtool --silent --tag=CC --mode=compile gcc
> > > > > -DHAVE_CONFIG_H -I. -I.. -I.. -I../mediastreamer2/include
> > > > > -DIN_LINPHONE -D_REENTRANT -DORTP_INET6 -DOSIP_MT
> > > > > -I../mediastreamer2/include -DOSIP_MT -DOSIP_MT -DENABLE_TRACE
> > > > > -DLOG_DOMAIN=\"LinphoneCore\" -DINET6 -DORTP_INET6 -O2 -g -pipe
> > > > > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> > > > > --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o linphonecore.lo
> > > > > linphonecore.c
> > > > > CC offeranswer.lo
> > > > > /bin/sh ../libtool --silent --tag=CC --mode=compile gcc
> > > > > -DHAVE_CONFIG_H -I. -I.. -I.. -I../mediastreamer2/include
> > > > > -DIN_LINPHONE -D_REENTRANT -DORTP_INET6 -DOSIP_MT
> > > > > -I../mediastreamer2/include -DOSIP_MT -DOSIP_MT -DENABLE_TRACE
> > > > > -DLOG_DOMAIN=\"LinphoneCore\" -DINET6 -DORTP_INET6 -O2 -g -pipe
> > > > > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> > > > > --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o offeranswer.lo
> > > > > offeranswer.c
> > > > > CC sal.lo
> > > > > /bin/sh ../libtool --silent --tag=CC --mode=compile gcc
> > > > > -DHAVE_CONFIG_H -I. -I.. -I.. -I../mediastreamer2/include
> > > > > -DIN_LINPHONE -D_REENTRANT -DORTP_INET6 -DOSIP_MT
> > > > > -I../mediastreamer2/include -DOSIP_MT -DOSIP_MT -DENABLE_TRACE
> > > > > -DLOG_DOMAIN=\"LinphoneCore\" -DINET6 -DORTP_INET6 -O2 -g -pipe
> > > > > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> > > > > --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o sal.lo sal.c
> > > > > CC sal_eXosip2.lo
> > > > > /bin/sh ../libtool --silent --tag=CC --mode=compile gcc
> > > > > -DHAVE_CONFIG_H -I. -I.. -I.. -I../mediastreamer2/include
> > > > > -DIN_LINPHONE -D_REENTRANT -DORTP_INET6 -DOSIP_MT
> > > > > -I../mediastreamer2/include -DOSIP_MT -DOSIP_MT -DENABLE_TRACE
> > > > > -DLOG_DOMAIN=\"LinphoneCore\" -DINET6 -DORTP_INET6 -O2 -g -pipe
> > > > > -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> > > > > --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o sal_eXosip2.lo
> > > > > sal_eXosip2.c
> > > > > sal_eXosip2.c: In function 'sal_call_update':
> > > > > sal_eXosip2.c:2024:61: error: 'OSIP_SUCCESS' undeclared (first use in
> > > > > this function)
> > > > > sal_eXosip2.c:2024:61: note: each undeclared identifier is reported
> > > > > only once for each function it appears in
> > > > > make[4]: *** [sal_eXosip2.lo] Error 1
> > > > >
> > > > > Jeff
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Linphone-developers mailing list
> > > > > address@hidden
> > > > > http://lists.nongnu.org/mailman/listinfo/linphone-developers
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Linphone-developers mailing list
> > > > address@hidden
> > > > http://lists.nongnu.org/mailman/listinfo/linphone-developers
> > >
> > > _______________________________________________
> > > Linphone-developers mailing list
> > > address@hidden
> > > http://lists.nongnu.org/mailman/listinfo/linphone-developers
> >
> >
> >
> > _______________________________________________
> > Linphone-developers mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/linphone-developers
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers