[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Info-mtools] GNU mtools 4.0.30 released
From: |
Natanael Copa |
Subject: |
Re: [Info-mtools] GNU mtools 4.0.30 released |
Date: |
Fri, 18 Jun 2021 13:15:47 +0200 |
On Fri, 18 Jun 2021 00:26:55 +0200
Alain Knaff <alain@knaff.lu> wrote:
> Hello,
>
> I am pleased to announce the release of GNU mtools version 4.0.30
It fails to build on Alpine Linux x86_64. I haven't figured out why yet.
...
gcc -Os -fomit-frame-pointer -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/mtools\"
-DCPU_x86_64 -DVENDOR_alpine -DOS_linux_musl -Os -fomit-frame-pointer -g -Wall
-fno-strict-aliasing -I. -I. -c mzip.c
gcc -Os -fomit-frame-pointer -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/mtools\"
-DCPU_x86_64 -DVENDOR_alpine -DOS_linux_musl -Os -fomit-frame-pointer -g -Wall
-fno-strict-aliasing -I. -I. -c mtools.c
gcc -Os -fomit-frame-pointer -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/mtools\"
-DCPU_x86_64 -DVENDOR_alpine -DOS_linux_musl -Os -fomit-frame-pointer -g -Wall
-fno-strict-aliasing -I. -I. -c offset.c
mcat.c: In function 'mcat':
init.c: In function 'try_device':
gcc -Os -fomit-frame-pointer -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/mtools\"
-DCPU_x86_64 -DVENDOR_alpine -DOS_linux_musl -Os -fomit-frame-pointer -g -Wall
-fno-strict-aliasing -I. -I. -c old_dos.c
init.c:244:12: error: too many arguments to function 'OpenImage'
244 | Stream = OpenImage(out_dev, dev, name, openMode, errmsg,
| ^~~~~~~~~
In file included from init.c:30:
open_image.h:8:11: note: declared here
8 | Stream_t *OpenImage(struct device *out_dev, struct device *dev,
| ^~~~~~~~~
mcat.c:107:12: error: too many arguments to function 'OpenImage'
107 | Stream = OpenImage(&out_dev, dev, name, mode,
| ^~~~~~~~~
In file included from mcat.c:27:
open_image.h:8:11: note: declared here
8 | Stream_t *OpenImage(struct device *out_dev, struct device *dev,
| ^~~~~~~~~
make: *** [Makefile:162: mcat.o] Error 1
make: *** Waiting for unfinished jobs....
mpartition.c: In function 'mpartition':
mpartition.c:436:12: error: too many arguments to function 'OpenImage'
436 | Stream = OpenImage(&used_dev, dev, name, mode, errmsg,
| ^~~~~~~~~
In file included from mpartition.c:31:
open_image.h:8:11: note: declared here
8 | Stream_t *OpenImage(struct device *out_dev, struct device *dev,
| ^~~~~~~~~
make: *** [Makefile:162: init.o] Error 1
mformat.c: In function 'mformat':
mformat.c:1088:28: error: 'info' undeclared (first use in this function); did
you mean 'minfo'?
1088 | &maxSize, NULL, &info);
| ^~~~
| minfo
mformat.c:1088:28: note: each undeclared identifier is reported only once for
each function it appears in
mformat.c:1084:15: error: too many arguments to function 'OpenImage'
1084 | Fs.Direct = OpenImage(&used_dev, dev, name,
| ^~~~~~~~~
In file included from mformat.c:38:
open_image.h:8:11: note: declared here
8 | Stream_t *OpenImage(struct device *out_dev, struct device *dev,
| ^~~~~~~~~
make: *** [Makefile:162: mpartition.o] Error 1
make: *** [Makefile:162: mformat.o] Error 1
-nc