Re: Build crash #2

Sokar Someone <[email protected]> Mon, 23 Jan 2006 10:12:25 -0800
Newsgroups gmane.linux.bbc.devel
Message-ID <[email protected]>
Well, that 1 has 3 seperate makefiles that i can find that reference a
specific version...  So thats why i asked what i should do about it.

--ME

On 1/23/06, Jeff Chapin <[email protected]> wrote:
> try the upgrade... why not? simple as changing the makefile to test it...
>
> On 1/22/06, Sokar Someone <[email protected]> wrote:
> > I couldn't fix this 1 :-/
> >
> > crash is as follows:
> >
> >  =3D=3D> Running make in work/build.d/cloop-2.01
> > make[7]: Entering directory
> > `/home/sokar/lnx-bbc/kernel/cloop-bin/work/build.d/cloop-2.01'
> > ( make -C advancecomp-1.9_create_compressed_fs advfs )
> > make[8]: Entering directory
> > `/home/sokar/lnx-bbc/kernel/cloop-bin/work/build.d/cloop-2.01/advanceco=
mp-1.9_create_compressed_fs'
> > g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT
> > -DUSE_COMPRESS -c -o advfs.o `test -f 'advfs.cc' || echo './'`advfs.cc
> > advfs.cc:26:18: zlib.h: No such file or directory
> > In file included from pngex.h:25,
> >                 from advfs.cc:29:
> > compress.h:32:18: zlib.h: No such file or directory
> > In file included from pngex.h:26,
> >                 from advfs.cc:29:
> > utility.h:31:18: zlib.h: No such file or directory
> > In file included from pngex.h:26,
> >                 from advfs.cc:29:
> > utility.h: In function `crc_t crc_compute(const char*, unsigned int)':
> > utility.h:100: error: `crc32' undeclared (first use this function)
> > utility.h:100: error: (Each undeclared identifier is reported only once=
 for
> >   each function it appears in.)
> > utility.h: In function `crc_t crc_compute(unsigned int, const char*, un=
signed
> >   int)':
> > utility.h:104: error: `crc32' undeclared (first use this function)
> > In file included from lib/png.h:29,
> >                 from pngex.h:28,
> >                 from advfs.cc:29:
> > lib/fz.h:41:18: zlib.h: No such file or directory
> > In file included from lib/png.h:29,
> >                 from pngex.h:28,
> >                 from advfs.cc:29:
> > lib/fz.h: At global scope:
> > lib/fz.h:73: error: 'z_stream' is used as a type, but is not defined as=
 a type.
> > advfs.cc: In function `cb_list* create_compressed_blocks(int, long unsi=
gned
> >   int, long unsigned int*, int)':
> > advfs.cc:105: error: `Bytef' undeclared (first use this function)
> > advfs.cc:105: error: parse error before `)' token
> > advfs.cc:105: error: parse error before `)' token
> > advfs.cc:124: error: parse error before `else'
> > advfs.cc:127: error: `z_error' undeclared (first use this function)
> > advfs.cc:127: error: parse error before `)' token
> > advfs.cc:127: error: `len' undeclared (first use this function)
> > advfs.cc:127: error: `best' undeclared (first use this function)
> > advfs.cc:127: error: parse error before `)' token
> > advfs.cc:108: error: label `error_free_cb_list' used but not defined
> > advfs.cc: At global scope:
> > advfs.cc:132: error: parse error before `}' token
> > advfs.cc:140: error: syntax error before `+=3D' token
> > advfs.cc:142: error: `i' was not declared in this scope
> > advfs.cc:142: error: `total' was not declared in this scope
> > advfs.cc:142: error: `total' was not declared in this scope
> > advfs.cc:142: error: `total' was not declared in this scope
> > advfs.cc:142: error: `total_uncompressed' was not declared in this scop=
e
> > advfs.cc:142: error: `total_compressed' was not declared in this scope
> > advfs.cc:142: error: `total_uncompressed' was not declared in this scop=
e
> > advfs.cc:142: error: ISO C++ forbids declaration of `fprintf' with no t=
ype
> > advfs.cc:142: error: `int fprintf' redeclared as different kind of symb=
ol
> > /usr/include/stdio.h:322: error: previous declaration of `int fprintf(F=
ILE*,
> >   const char*, ...)'
> > advfs.cc:142: error: initializer list being treated as compound express=
ion
> > advfs.cc:143: error: syntax error before `->' token
> > advfs.cc:144: error: `cbp' was not declared in this scope
> > advfs.cc:144: error: `compressed' was not declared in this scope
> > advfs.cc:144: error: ISO C++ forbids declaration of `memcpy' with no ty=
pe
> > advfs.cc:144: error: `int memcpy' redeclared as different kind of symbo=
l
> > /usr/include/string.h:39: error: previous declaration of `void* memcpy(=
void*,
> >   const void*, unsigned int)'
> > advfs.cc:144: error: initializer list being treated as compound express=
ion
> > advfs.cc:145: error: syntax error before `->' token
> > advfs.cc:146: error: ISO C++ forbids declaration of `cbp' with no type
> > advfs.cc:146: error: invalid type argument of `unary *'
> > advfs.cc:147: error: parse error before `}' token
> > advfs.cc:150: error: syntax error before `:' token
> > advfs.cc:151: error: ISO C++ forbids declaration of `cbl' with no type
> > advfs.cc:151: warning: converting to non-pointer type `int' from NULL
> > advfs.cc:151: error: ISO C++ forbids declaration of `i' with no type
> > advfs.cc:151: error: parse error before `}' token
> > advfs.cc:153: error: syntax error before `:' token
> > advfs.cc:154: error: `maxalg' was not declared in this scope
> > advfs.cc:154: error: parse error before `;' token
> > advfs.cc:154: error: syntax error before `++' token
> > advfs.cc:155: error: syntax error before `:' token
> > advfs.cc:158: error: ISO C++ forbids declaration of `numblocks' with no=
 type
> > advfs.cc:158: error: invalid conversion from `int' to `int*'
> > advfs.cc:159: error: ISO C++ forbids declaration of `fprintf' with no t=
ype
> > advfs.cc:159: error: redefinition of `int fprintf'
> > advfs.cc:142: error: `int fprintf' previously defined here
> > advfs.cc:159: error: initializer list being treated as compound express=
ion
> > advfs.cc:159: error: invalid conversion from `const char*' to `int'
> > advfs.cc:160: error: parse error before `for'
> > advfs.cc:160: error: `maxalg' was not declared in this scope
> > advfs.cc:160: error: parse error before `;' token
> > advfs.cc:160: error: syntax error before `++' token
> > advfs.cc:161: error: `took' was not declared in this scope
> > advfs.cc:161: error: `maxalg' was not declared in this scope
> > advfs.cc:161: error: `took' was not declared in this scope
> > advfs.cc:161: error: `maxalg' was not declared in this scope
> > advfs.cc:161: error: ISO C++ forbids declaration of `fprintf' with no t=
ype
> > advfs.cc:161: error: redefinition of `int fprintf'
> > advfs.cc:159: error: `int fprintf' previously defined here
> > advfs.cc:161: error: initializer list being treated as compound express=
ion
> > advfs.cc:162: error: parse error before `return'
> > advfs.cc: In function `int usage(char*)':
> > advfs.cc:167: error: `fprintf' cannot be used as a function
> > advfs.cc:168: error: `fprintf' cannot be used as a function
> > advfs.cc: In function `int main(int, char**)':
> > advfs.cc:198: error: `fprintf' cannot be used as a function
> > advfs.cc:204: error: `fprintf' cannot be used as a function
> > advfs.cc:211: error: `fprintf' cannot be used as a function
> > advfs.cc:226: error: `memcpy' cannot be used as a function
> > advfs.cc:231: error: `fprintf' cannot be used as a function
> > advfs.cc:261: error: `fprintf' cannot be used as a function
> > make[8]: *** [advfs.o] Error 1
> > make[8]: Leaving directory
> > `/home/sokar/lnx-bbc/kernel/cloop-bin/work/build.d/cloop-2.01/advanceco=
mp-1.9_create_compressed_fs'
> > make[7]: *** [advancecomp-1.9_create_compressed_fs/advfs] Error 2
> >
> > found some references to cloop_2.01-5 had fixed this, but idk if thats
> > going to break anything else or not
> >
> > --ME
> >
> >
> >
> > --
> > irc.virrox.com  #cedarlug
> >
> > http://www.urbandictionary.com/define.php?term=3Dirc
> >
> > random quote(s) for the week
> > http://bash.org/?75154
> >
> > truth is rarely appreciated:
> > http://www.laddertheory.com/
> >
> > _______________________________________________
> > Lnx-bbc-devel mailing list
> > [email protected]
> > http://zork.net/mailman/listinfo/lnx-bbc-devel
> >
> >
>
>
> --
> Jeff Chapin
> President, CedarLug
> President, UNIPC
> President, UNI Scuba Club
> Senator, NISG
>


--
irc.virrox.com  #cedarlug

http://www.urbandictionary.com/define.php?term=3Dirc

random quote(s) for the week
http://bash.org/?75154

truth is rarely appreciated:
http://www.laddertheory.com/