Ticket #205 (assigned defect) — at Version 7
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
comment:1 Changed 16 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 16 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 16 years ago by slyfox
- Attachment 0001-amd64-fix-build-error-cpio_read-prototype-mismat.patch added
Changed changelog entry to reflect state of things
comment:3 Changed 16 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:6 Changed 16 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.