Project

General

Profile

Bug #185

Build error on armel

Added by Pierre-Louis Bonicoli almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
2011-01-15
Due date:
% Done:

100%

Estimated time:
Patch Available:
No
Found in Versions:
All
Confirmed:
Yes
Branch:
Security:
No
Help Needed:

Description

From debian bug #597262 reported by Philipp Kern

There are errors when building on armel:

gcc -DHAVE_CONFIG_H -I. -I./src     -O2 -g -W -Wall -fPIE -c -o src/log.o src/log.c
In file included from src/log.c:18:
src/irc.h:61: error: redefinition of 'struct user'
src/log.c: In function 'log_build_filename':
src/log.c:154: error: 'struct user' has no member named 'name'
src/log.c: In function 'log_add_file':
src/log.c:312: error: 'struct user' has no member named 'backlog'
src/log.c: In function 'log_find_file':
src/log.c:371: error: 'struct user' has no member named 'connections'
src/log.c:419: error: 'struct user' has no member named 'backlog'
src/log.c: In function 'log_client_none_connected':
src/log.c:738: error: 'struct user' has no member named 'always_backlog'
src/log.c: In function 'log_advance_backlogs':
src/log.c:758: error: 'struct user' has no member named 'backlog'
src/log.c:758: error: 'struct user' has no member named 'backlog_lines'
src/log.c:761: error: 'struct user' has no member named 'backlog_lines'
src/log.c: In function 'log_beautify':
src/log.c:861: error: 'struct user' has no member named 'bl_msg_only'
src/log.c:937: error: 'struct user' has no member named 'backlog_no_timestamp'
src/log.c: In function 'log_backread':
src/log.c:1062: error: 'struct user' has no member named 'always_backlog'
src/log.c: In function '_log_write':
src/log.c:1135: error: 'struct user' has no member named 'backlog_lines'
src/log.c:1154: error: 'struct user' has no member named 'always_backlog'
src/log.c: At top level:
src/log.c:1198: error: conflicting types for 'log_new'
src/log.h:65: note: previous declaration of 'log_new' was here
src/log.c: In function 'log_new':
src/log.c:1203: warning: assignment from incompatible pointer type

Dann Frazier analysed the problem: sys/user.h on armel has a conflicting definition of 'struct user'.

History

#1

Updated by Pierre-Louis Bonicoli almost 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Fixed by 81b8ed4

#2

Updated by Pierre-Louis Bonicoli over 8 years ago

  • Target version set to 0.8.7

Also available in: Atom PDF