Ticket #1461 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

./configure --disable-httpd fails in make with unresolved references to httpd_* in libaccess_output_http

Reported by: kibbu Assigned to:
Priority: normal Milestone: Bugs paradize
Component: HTTP Interface Version: master
Severity: normal Keywords: configure httpd make
Cc: Platform(s): all
Difficulty: unknown Work status: Not started

Description

Compilation with ./configure --disable-httpd fails in make with unresolved references to httpd_* in libaccess_output_http.

Configure:

+ ./configure --prefix=/usr/local
--enable-debug=3 --enable-threads=posix --enable-v4l2 --enable-dvb
--enable-x264 --disable-hal --disable-dbus-control --disable-telepathy
--disable-lua --disable-growl --disable-audioscrobbler
--disable-live555 --disable-dvdnav --disable-libcdio --disable-libcddb
--disable-cdda --disable-cvd --disable-screen --disable-ogg
--disable-mad --disable-mod --disable-mpc --disable-quicktime
--disable-libtar --disable-dca --disable-libmpeg2 --disable-vorbis
--disable-speex --disable-png --disable-fluidsynth --disable-alsa
--disable-waveout --disable-bonjour --disable-glx --disable-skins2
--disable-ffmpeg --disable-a52 --disable-httpd

Tail of make:

.libs/libaccess_output_http_plugin_la-http.o: In function `Close':
http.c:(.text+0x667): undefined reference to `httpd_StreamDelete'
http.c:(.text+0x671): undefined reference to `httpd_HostDelete'
.libs/libaccess_output_http_plugin_la-http.o: In function `Write':
http.c:(.text+0x763): undefined reference to `httpd_StreamSend'
http.c:(.text+0x7b6): undefined reference to `httpd_StreamHeader'
.libs/libaccess_output_http_plugin_la-http.o: In function `Open':
http.c:(.text+0x980): undefined reference to `httpd_TLSHostNew'
http.c:(.text+0xa63): undefined reference to `httpd_StreamNew'
http.c:(.text+0xd7a): undefined reference to `httpd_HostDelete'
collect2: ld returned 1 exit status
make[4]: *** [libaccess_output_http_plugin.la] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-trunk/modules/access_output'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/usr/local/src/vlc-trunk/modules/access_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-trunk'
make: *** [all] Error 2

Attachments

nohttpd.patch (4.1 kB) - added by aballier on 02/10/08 12:11:17.
the patch

Change History

02/10/08 12:10:43 changed by aballier

thresh had pointed that on vlc-devel; now it causes a build failure, thanks to the -z defs that make it easy to catch such things. I can't find a link to the post; this is very similar to ticket:1431

I'll attach the patch I had sent to vlc-devel here for reference

02/10/08 12:11:17 changed by aballier

  • attachment nohttpd.patch added.

the patch

02/25/08 16:45:22 changed by funman

  • status changed from new to closed.
  • resolution set to fixed.

(In [25306]) fix #1461