Ticket #205 (assigned defect) — at Version 7

Opened 15 years ago

Last modified 14 years ago

Compilation erros on Ubuntu amd64

Reported by: styx Owned by: metux
Priority: critical Milestone: 4.6.2
Component: mc-core Version: 4.6.1
Keywords: vote-slyfox vote-styx vote-winnie committed-master Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description (last modified by metux) (diff)

Int and ssize_t are incompatible types.

branch:205_inttypes_64bit_error
changeset:d362e3b0151d9acc87096762da39bf1d0edd9b33

Change History

Changed 15 years ago by styx

comment:1 Changed 15 years ago by slavazanko

  • Owner changed from slavazanko to metux
  • Status changed from new to assigned
  • Milestone changed from 4.7 to 4.6.2

As I see, this trouble is effect from changeset:183a66f7f50282c62511af0f5c0fc73ff9cbe3fb

Enrico?

comment:2 Changed 15 years ago by Enrico Weigelt

  • MC Ticket System <tickets@…> schrieb:

Comment:

As I see, this trouble is effect from
changeset:183a66f7f50282c62511af0f5c0fc73ff9cbe3fb
Enrico?

complete compiler log would be fine.

Changed 15 years ago by slyfox

Changed changelog entry to reflect state of things

comment:3 Changed 15 years ago by slyfox

  • Priority changed from major to critical

Current mc is unbuildable on amd64

Please ignore previous patch and consider applying the following (changelog entry cleaned up a little, contails build errors!):

0001-amd64-fix-build-error-cpio_read-prototype-mismat.patch

comment:4 Changed 15 years ago by slyfox

  • Keywords vote-slyfox added; ssize_t, amd64 removed

comment:5 Changed 15 years ago by styx

  • Keywords vote-styx added

comment:6 Changed 15 years ago by winnie

  • Keywords vote-winnie approved added

Here is the compiler error, which I've extracted out of the second patch.

   gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -g -O2 -Wall -MT cpio.o -MD -MP -MF .deps/cpio.Tpo -c -o cpio.o cpio.c
    cpio.c:633: error: conflicting types for 'cpio_read'
    cpio.c:101: error: previous declaration of 'cpio_read' was here
    cpio.c: In function 'init_cpiofs':
    cpio.c:674: warning: assignment from incompatible pointer type

As there is really a problem which should be fixed very soon I'm adding a vote.

comment:7 Changed 15 years ago by metux

  • Description modified (diff)
Note: See TracTickets for help on using tickets.