public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: James Solner <solner@lucent.com>
To: linux-mtd@lists.infradead.org
Subject: zlib compilation failures
Date: Mon, 10 Nov 2003 12:37:29 -0600	[thread overview]
Message-ID: <3FAFDAE9.5050506@lucent.com> (raw)

I got the most recent snapshot of the MTD and JFFS2 and try to
compile it, but it fails on the following errors. The kernel is 2.4.18.
Any ideas on whats wrong?

Thanks!


ppc_405-gcc -D__KERNEL__ -I/home/jds/PPC_DEV/WT405_LINUX/linux/include 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -g -ggdb 
-I/home/jds/PPC_DEV/WT405_LINUX/linux/arch/ppc -fsigned-char 
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring 
-Wa,-m405   -DKBUILD_BASENAME=zlib  -DEXPORT_SYMTAB -c zlib.c
zlib.c:72: `deflate' undeclared here (not in a function)
zlib.c:72: initializer element is not constant
zlib.c:72: (near initialization for `__ksymtab_deflate.value')
zlib.c:73: `deflateInit_' undeclared here (not in a function)
zlib.c:73: initializer element is not constant
zlib.c:73: (near initialization for `__ksymtab_deflateInit_.value')
zlib.c:74: `deflateInit2_' undeclared here (not in a function)
zlib.c:74: initializer element is not constant
zlib.c:74: (near initialization for `__ksymtab_deflateInit2_.value')
zlib.c:75: `deflateEnd' undeclared here (not in a function)
zlib.c:75: initializer element is not constant
zlib.c:75: (near initialization for `__ksymtab_deflateEnd.value')
zlib.c:76: `deflateSetDictionary' undeclared here (not in a function)
zlib.c:76: initializer element is not constant
zlib.c:76: (near initialization for `__ksymtab_deflateSetDictionary.value')
zlib.c:77: `deflateCopy' undeclared here (not in a function)
zlib.c:77: initializer element is not constant
zlib.c:77: (near initialization for `__ksymtab_deflateCopy.value')
zlib.c:78: `deflateReset' undeclared here (not in a function)
zlib.c:78: initializer element is not constant
...

zlib.c: In function `inflate_codes_free':
zlib.c:4864: structure has no member named `zfree'
zlib.c:4864: structure has no member named `opaque'
zlib.c: At top level:
zlib.c:5170: warning: function declaration isn't a prototype
zlib.c:5374: warning: function declaration isn't a prototype
zlib.c:5374: `adler32' used prior to declaration
zlib.c:5374: warning: `adler32' was previously implicitly declared to 
return `int'
make[2]: *** [zlib.o] Error 1
make[2]: Leaving directory `/home/jds/PPC_DEV/WT405_LINUX/linux/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/jds/PPC_DEV/WT405_LINUX/linux/lib'
make: *** [_dir_lib] Error 2
Make status: 2
***** Build Failure -make bzImage *****

                 reply	other threads:[~2003-11-10 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3FAFDAE9.5050506@lucent.com \
    --to=solner@lucent.com \
    --cc=linux-mtd@lists.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