Project

General

Profile

Bug #276

build error Fedora 13

Added by Jouk Hettema - about 14 years ago. Updated about 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
General
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Found in version:
Affected Versions:

Description

hi,

I have build svn-5120 without any issues on Fedora 13 (32bit and 64bit) and used it without any issues as well.

Now I'am trying to build the newest svn version 5335 on the same systems and I get the following error during build time:

js_dvb.o build.Linux/src/v4l.o build.Linux/src/webui/extjs_v4l.o build.Linux/src/ffdecsa/ffdecsa_mmx.o build.Linux/src/ffdecsa/ffdecsa_sse2.o build.Linux/src/avahi.o build.Linux/bundles/docs/html.o build.Linux/bundles/docs/docresources.o build.Linux/bundles/src/webui/static.o -lrt -lcrypt -lavahi-common -lavahi-client -lpthread -lm
/usr/bin/ld: build.Linux/src/trap.o: undefined reference to symbol 'dladdr@GLIBC_2.0'
/usr/bin/ld: note: 'dladdr
@GLIBC_2.0' is defined in DSO /lib/libdl.so.2 so try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [build.Linux/tvheadend] Error 1

I saw that the dladdr function in trap.c is added after 5120, but haven't been able to work around it or make a patch for it (I'am not really a programmer, more a tester :) )

Think it needs to be solved before releasing, but that's up to you.

I'll follow up on this ticket if more information is needed, or if I find a solution.

kind regards

Jouk


Files

libdl-fix.patch (316 Bytes) libdl-fix.patch Patch to add libdl to linker flags magnus -, 2010-09-04 23:29

History

#1

Updated by Hein Rigolo about 14 years ago

I assume you did a new clean checkout of the source before compiling again?

#2

Updated by magnus - about 14 years ago

I have similar problems on Debian (Lenny). Compiles with the patch attached above.

#3

Updated by Andreas Smas about 14 years ago

Fixed

#4

Updated by Andreas Smas about 14 years ago

  • Found in version set to fixed

In r5336

Also available in: Atom PDF