public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Xavier DEBREUIL <xde@inventel.fr>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd@infradead.org
Subject: Re: mtd with 2.0.4-test6
Date: Thu, 08 Mar 2001 16:53:18 +0100	[thread overview]
Message-ID: <3AA7AAEE.FB7E4DC1@inventel.fr> (raw)
In-Reply-To: 31161.983802881@redhat.com

Hello,
I build the utilities for arm and almost all of these have been build without
any problem.
I got just one problem with the compr_zlib.c

In fact, I was compelled to explicitly give the zlib.h path. Should it be in my
glibc ?
Another point is that zalloc and zfree are defined as nozalloc and nozfree in
the 2.4.0 kernel headers. Do I have just to rename those two fields in
comp_zlib.c ?

Xavier.


arm-linux-gcc -O -Wall -I/usr/arm-linux -I../include
-I/home/xde/arm_linux/linux_2.4/linux/fs/cramfs/inflate   -c compr_zlib.c -o
compr_zlib.o
In file included from
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/stdio.h:40,
                 from compr_zlib.c:47:
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/bits/types.h:95:
warning: `__NFDBITS' redefined
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/linux/posix_types.h:22:
warning: this is the location of the previous definition
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/bits/types.h:97:
warning: `__FDMASK' redefined
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/linux/posix_types.h:34:
warning: this is the location of the previous definition
In file included from compr_zlib.c:47:
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/stdio.h:477:
warning: redefinition of `off_t'
/usr/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/include/linux/types.h:18:
warning: `off_t' previously declared here
compr_zlib.c: In function `zlib_compress':
compr_zlib.c:73: structure has no member named `zalloc'
compr_zlib.c:74: structure has no member named `zfree'
compr_zlib.c: In function `zlib_decompress':
compr_zlib.c:132: structure has no member named `zalloc'
compr_zlib.c:133: structure has no member named `zfree'
compr_zlib.c:136: warning: implicit declaration of function `inflateInit'
compr_zlib.c:148: warning: implicit declaration of function `inflate'
compr_zlib.c:153: warning: implicit declaration of function `inflateEnd'
make: *** [compr_zlib.o] Error 1


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

      parent reply	other threads:[~2001-03-08 15:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-05 14:30 mtd with 2.0.4-test6 Xavier DEBREUIL
2001-03-05 14:34 ` David Woodhouse
2001-03-06  8:56   ` Xavier DEBREUIL
2001-03-06  8:56     ` David Woodhouse
2001-03-08 13:34       ` Xavier DEBREUIL
2001-03-08 15:53   ` Xavier DEBREUIL [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AA7AAEE.FB7E4DC1@inventel.fr \
    --to=xde@inventel.fr \
    --cc=dwmw2@infradead.org \
    --cc=mtd@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox