probe_i8k_calls_time.c undefined reference to `timestamp'

Bug #1606011 reported by Kis Gellert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
i8kutils
Fix Released
Low
vitorafsr

Bug Description

(i8kutils not available in repos. )

make fail on Fedora 24 :

gcc -Wall i8kctl.c -o i8kctl
gcc -Wall -c -g -DLIB i8kctl.c
gcc -Wall -c -g -DLIB probe_i8k_calls_time.c
gcc -o probe_i8k_calls_time i8kctl.o probe_i8k_calls_time.o
probe_i8k_calls_time.o: In function `main':
/root/i8kutils/probe_i8k_calls_time.c:37: undefined reference to `timestamp'
/root/i8kutils/probe_i8k_calls_time.c:39: undefined reference to `timestamp'
/root/i8kutils/probe_i8k_calls_time.c:41: undefined reference to `timestamp'
/root/i8kutils/probe_i8k_calls_time.c:43: undefined reference to `timestamp'
/root/i8kutils/probe_i8k_calls_time.c:45: undefined reference to `timestamp'
probe_i8k_calls_time.o:/root/i8kutils/probe_i8k_calls_time.c:47: more undefined references to `timestamp' follow
collect2: error: ld returned 1 exit status
Makefile:24: recipe for target 'probe_i8k_calls_time' failed
make: *** [probe_i8k_calls_time] Error 1

Revision history for this message
vitorafsr (vitorafsr) wrote :

New gcc compiler version 5 applies GNU dialect of ISO C11 that uses the C99 inline semantics that conflicts with the inline syntax of probe_i8k_calls_time.c.

The problems was solved removing keyword 'inline' from "probe_i8k_calls_time.c"; it is already commited in recent versions of the file in the repository.

Changed in i8kutils:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → vitorafsr (vitorafsr)
vitorafsr (vitorafsr)
Changed in i8kutils:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.