Project

General

Profile

Actions

Bug #1386

closed

Warnings and errors when compiling tvheadend

Added by Rene Herbrich over 12 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2012-11-08
Due date:
% Done:

0%

Estimated time:
Found in version:
683b0f9c8b
Affected Versions:

Description

Hi,

I'm getting a warning and several errors when compiling tvheadend:

/opt/src/tvheadend_beta/src/capmt.c:73: warning: unknown option after '#pragma GCC diagnostic' kind
CC              build.linux/src/ffdecsa/ffdecsa_interface.o
CC              build.linux/src/ffdecsa/ffdecsa_int.o
CC              build.linux/tvheadend
./build.linux/src/packet.o: In function `atomic_add':
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
./build.linux/src/streaming.o:/opt/src/tvheadend_beta/src/atomic.h:24: more undefined references to `__sync_fetch_and_add_4' follow
./build.linux/src/subscriptions.o: In function `atomic_exchange':
/opt/src/tvheadend_beta/src/atomic.h:30: undefined reference to `__sync_lock_test_and_set_4'
./build.linux/src/service.o: In function `atomic_add':
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
./build.linux/src/cwc.o: In function `atomic_add':
/opt/src/tvheadend_beta/src/atomic.h:24: undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
make: *** [build.linux/tvheadend] Error 1

I'm compiling on a Synology NAS with a Marvell Kirkwood mv6282 (ARM)

Actions

Also available in: Atom PDF