View previous topic :: View next topic |
Author |
Message |
DawgG l33t
Joined: 17 Sep 2003 Posts: 866
|
Posted: Thu Dec 27, 2012 12:26 pm Post subject: xbmc 12-rc2 only compiles without webserver [solved] |
|
|
i tried to emerge xbmc 12 rc2 with the same useflags as xbmc-11 but when the useflag "webserver" is enabled (as it is in xbmc 11) this causes the compilation to fail:
Code: | LD xbmc.bin
xbmc/network/network.a(WebServer.o): In function `CWebServer::AnswerToConnection(void*, MHD_Connection*, char const*, char car const*, unsigned long*, void**)':
WebServer.cpp:(.text+0x3489): undefined reference to `MHD_post_process'
WebServer.cpp:(.text+0x3516): undefined reference to `MHD_destroy_post_processor'
WebServer.cpp:(.text+0x35e7): undefined reference to `MHD_create_post_processor'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
* ERROR: media-tv/xbmc-12.0_rc2 failed (compile phase): |
anybody know what's going on?
Code: | USE="-webserver" emerge -avD xbmc |
does compile.
it's an up-to-date ~amd64-system (in a chroot on a xeon for a shitty amd-a350 apu)
Code: | phrack-sdb ~ # emerge --info
Portage 2.1.11.38 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.7.0-gentoo x86_64)
=================================================================
System uname: Linux-3.7.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_L5630_@_2.13GHz-with-gentoo-2.2
Timestamp of tree: Thu, 27 Dec 2012 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p39-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/cmake: 2.8.10.2
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.16.0
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -mtune=k8 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu" |
_________________ DUMM KLICKT GUT.
Last edited by DawgG on Thu Dec 27, 2012 2:29 pm; edited 1 time in total |
|
Back to top |
|
|
lxg Veteran
Joined: 12 Nov 2005 Posts: 1019 Location: Aachen, Germany
|
Posted: Thu Dec 27, 2012 1:01 pm Post subject: |
|
|
This appears to be a known bug. I guess downgrading is the way to go until it's fixed. _________________ lxg.de – codebits and tech talk |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 866
|
Posted: Thu Dec 27, 2012 2:29 pm Post subject: compiles against libmicrohttpd-0.9.22 |
|
|
THX for your help!
Compiling it against libmicrohttpd-0.9.22 worked. _________________ DUMM KLICKT GUT. |
|
Back to top |
|
|
qualar n00b
Joined: 24 Aug 2012 Posts: 6 Location: Nottingham, UK
|
Posted: Sat Dec 29, 2012 10:44 am Post subject: |
|
|
I've just got a similar problem with my own program.
I remember seeing an update to libmicrohttpd come thru portage the other day, either that library has dropped these 3 functions (doubtful) or the ebuild for libmicrohttpd is broken
Kind regards,
Paul _________________ Paul |
|
Back to top |
|
|
lxg Veteran
Joined: 12 Nov 2005 Posts: 1019 Location: Aachen, Germany
|
Posted: Sat Dec 29, 2012 11:42 am Post subject: |
|
|
qualar wrote: | either that library has dropped these 3 functions (doubtful) … |
Don't be so sure. According to the Changelog, there have been changes related to the MHD* stuff in libmicrohttpd between .22 and .23 … I don't know what the consequences are in detail, but this might be worth at look. _________________ lxg.de – codebits and tech talk |
|
Back to top |
|
|
ryszardzonk Apprentice
Joined: 18 Dec 2003 Posts: 225 Location: Rzeszów, POLAND
|
Posted: Sat Dec 29, 2012 1:39 pm Post subject: |
|
|
hi, I have suffered from the same error and while ago just masked version 0.9.23 with the hope that future versions would resolve the issue. I didnt notice that few days back version 0.9.24 hit the portage and automatically made my xbmc start crashing. Knowing that remerging specific app usually solve the problem I stumbled again onto this compile problem but guess what this time 0.9.22 was not in portage anymore so I used the ebuild from 0.9.24 to compile 0.9.22 but to my surprise xbmc didnt compile with it any more either! Turns out that new versions of an ebuild enable some stuff that probably makes builds incompatible.
Having that said I build 0.9.24 without Code: | --enable-bauth \
--enable-dauth \ | that previous build did not have and xbmc builds just fine _________________ Sky is not the limit... |
|
Back to top |
|
|
lxg Veteran
Joined: 12 Nov 2005 Posts: 1019 Location: Aachen, Germany
|
Posted: Sat Dec 29, 2012 3:23 pm Post subject: |
|
|
Then please create a local copy of the ebuild as .24-r1, modify it accordingly, manifest it, and try to rebuild the package. If it works then, please post a bug report. _________________ lxg.de – codebits and tech talk |
|
Back to top |
|
|
ryszardzonk Apprentice
Joined: 18 Dec 2003 Posts: 225 Location: Rzeszów, POLAND
|
Posted: Mon Dec 31, 2012 9:59 am Post subject: |
|
|
@ lxg
Before I filled a bug I wanted to wait for the comments in this thread confirming that my solution works for others as well. Now that thread is marked solved I take that it does hence I reported it Gentoo's Bugzilla – Bug 449418. As far as the ebuild yes I have done the above with the changed ebuild to start with. Why would I want to do so otherwise if it would require much more work than just taking those two lines out and digesting it Besides IMHO You didn't have wait for me to fill the bug... _________________ Sky is not the limit... |
|
Back to top |
|
|
lxg Veteran
Joined: 12 Nov 2005 Posts: 1019 Location: Aachen, Germany
|
Posted: Mon Dec 31, 2012 12:44 pm Post subject: |
|
|
ryszardzonk wrote: | Besides IMHO You didn't have wait for me to fill the bug... |
I'm not affected by the bug, I don't even use xmcb or libmicrohttpd. Therefore it wouldn't make sense that I report it. _________________ lxg.de – codebits and tech talk |
|
Back to top |
|
|
iamben Apprentice
Joined: 10 May 2004 Posts: 275
|
Posted: Mon Dec 31, 2012 3:43 pm Post subject: |
|
|
The build failure originally reported in this thread (undefined reference to `MHD_*') was reported & fixed in bug 449082. I've seen a couple of reports of crashes related to bauth/dauth, but that would be a separate issue. Which issue are we working on now? |
|
Back to top |
|
|
Gustavo Guillermo Pérez n00b
Joined: 17 Jul 2004 Posts: 25 Location: Mexico/Argentina
|
Posted: Tue Feb 26, 2013 7:31 pm Post subject: |
|
|
Just re emerge with message flag enabled, and solved for me, when trying to emerge openvas.
_________________ I learn something new every day. Thanks God. |
|
Back to top |
|
|
Xonak n00b
Joined: 18 Mar 2013 Posts: 21
|
Posted: Wed Apr 03, 2013 9:29 pm Post subject: |
|
|
Yes, then XBMC will compile. |
|
Back to top |
|
|
|