Re: [Forum] Mailx sources?

From: Henrik Brix Andersen <btech1@users.sourceforge.net>
Date: Sun Nov 18 2001 - 13:57:31 CET

On Sun, 2001-11-18 at 09:53, Morten Liebach wrote:
> Hvad er fejlen(e)?

Se nedenstående ;)
Den kompilerer fint på mit host system, Red Hat 7.2. Jeg kan bare ikke
liiige finde ud af, hvad jeg mangler.
Jeg bruger gcc-2.95.3 på mit Linux From Scratch, kan det være det?

./Brix

Making in /usr/src/sendmail-8.12.1/obj.Linux.2.4.14.i686/libsmdb
make[1]: Entering directory
`/usr/src/sendmail-8.12.1/obj.Linux.2.4.14.i686/libsmdb'
cc -O2 -I. -I../../sendmail -I../../include -DNOT_SENDMAIL -c -o
smdb.o smdb.c
In file included from smdb.c:19:
../../include/libsmdb/smdb.h:23: parse error before `NDBM'
../../include/libsmdb/smdb.h:70: parse error before `*'
../../include/libsmdb/smdb.h:86: parse error before `*'
../../include/libsmdb/smdb.h:101: parse error before `*'
../../include/libsmdb/smdb.h:118: parse error before `*'
../../include/libsmdb/smdb.h:139: parse error before `*'
../../include/libsmdb/smdb.h:155: parse error before `*'
../../include/libsmdb/smdb.h:170: parse error before `*'
../../include/libsmdb/smdb.h:185: parse error before `*'
../../include/libsmdb/smdb.h:188: parse error before `*'
../../include/libsmdb/smdb.h:342: parse error before `*'
../../include/libsmdb/smdb.h:342: warning: data definition has no type
or storage class
../../include/libsmdb/smdb.h:343: parse error before `*'
../../include/libsmdb/smdb.h:344: parse error before `*'
../../include/libsmdb/smdb.h:368: parse error before `*'
../../include/libsmdb/smdb.h:369: parse error before `*'
smdb.c:32: parse error before `*'
smdb.c: In function `smdb_malloc_database':
smdb.c:35: `SMDB_DATABASE' undeclared (first use in this function)
smdb.c:35: (Each undeclared identifier is reported only once
smdb.c:35: for each function it appears in.)
smdb.c:35: `db' undeclared (first use in this function)
smdb.c:37: parse error before `)'
smdb.c: At top level:
smdb.c:58: parse error before `SMDB_DATABASE'
smdb.c:58: warning: data definition has no type or storage class
smdb.c:59: parse error before `{'
smdb.c:192: parse error before `SMDB_DATABASE'
smdb.c:192: conflicting types for `database'
smdb.c:58: previous declaration of `database'
smdb.c:192: warning: data definition has no type or storage class
smdb.c:200: parse error before `{'
smdb.c:204: parse error before `if'
smdb.c:219: parse error before `&&'
smdb.c:219: warning: data definition has no type or storage class
smdb.c:219: parse error before `}'
smdb.c:219: conflicting declarations of `__result'
smdb.c:219: `__result' previously declared here
smdb.c:219: `__s2' undeclared here (not in a function)
smdb.c:219: initializer element is not constant
smdb.c:219: parse error before `if'
smdb.c:219: conflicting declarations of `__result'
smdb.c:219: `__result' previously defined here
smdb.c:219: warning: data definition has no type or storage class
smdb.c:219: parse error before `}'
smdb.c:219: warning: data definition has no type or storage class
smdb.c:219: parse error before `}'
smdb.c:219: redefinition of `__result'
smdb.c:219: `__result' previously defined here
smdb.c:219: `__s1' undeclared here (not in a function)
smdb.c:219: initializer element is not constant
smdb.c:219: parse error before `if'
smdb.c:219: conflicting declarations of `__result'
smdb.c:219: `__result' previously defined here
smdb.c:219: warning: data definition has no type or storage class
smdb.c:219: parse error before `}'
smdb.c:220: parse error before `&&'
smdb.c:220: warning: data definition has no type or storage class
smdb.c:220: parse error before `}'
smdb.c:220: redefinition of `__result'
smdb.c:219: `__result' previously defined here
smdb.c:220: `__s2' undeclared here (not in a function)
smdb.c:220: initializer element is not constant
smdb.c:220: parse error before `if'
smdb.c:220: conflicting declarations of `__result'
smdb.c:220: `__result' previously defined here
smdb.c:220: warning: data definition has no type or storage class
smdb.c:220: parse error before `}'
smdb.c:220: warning: data definition has no type or storage class
smdb.c:220: parse error before `}'
smdb.c:220: redefinition of `__result'
smdb.c:220: `__result' previously defined here
smdb.c:220: `__s1' undeclared here (not in a function)
smdb.c:220: initializer element is not constant
smdb.c:220: parse error before `if'
smdb.c:220: conflicting declarations of `__result'
smdb.c:220: `__result' previously defined here
smdb.c:220: warning: data definition has no type or storage class
smdb.c:220: parse error before `}'
smdb.c:236: parse error before `&&'
smdb.c:236: warning: data definition has no type or storage class
smdb.c:236: parse error before `}'
smdb.c:236: redefinition of `__result'
smdb.c:220: `__result' previously defined here
smdb.c:236: `__s2' undeclared here (not in a function)
smdb.c:236: initializer element is not constant
smdb.c:236: parse error before `if'
smdb.c:236: conflicting declarations of `__result'
smdb.c:236: `__result' previously defined here
smdb.c:236: warning: data definition has no type or storage class
smdb.c:236: parse error before `}'
smdb.c:236: warning: data definition has no type or storage class
smdb.c:236: parse error before `}'
smdb.c:236: redefinition of `__result'
smdb.c:236: `__result' previously defined here
smdb.c:236: `__s1' undeclared here (not in a function)
smdb.c:236: initializer element is not constant
smdb.c:236: parse error before `if'
smdb.c:236: conflicting declarations of `__result'
smdb.c:236: `__result' previously defined here
smdb.c:236: warning: data definition has no type or storage class
smdb.c:236: parse error before `}'
smdb.c:373: parse error before `SMDB_DATABASE'
smdb.c:373: conflicting types for `database'
smdb.c:192: previous declaration of `database'
smdb.c:373: warning: data definition has no type or storage class
smdb.c:374: conflicting types for `type'
smdb.c:197: previous declaration of `type'
smdb.c:375: parse error before `{'
smdb.c:378: request for member `smdb_lockfd' in something not a
structure or union
smdb.c:378: warning: data definition has no type or storage class
smdb.c:379: parse error before `if'
smdb.c:397: parse error before `SMDB_DATABASE'
smdb.c:397: warning: data definition has no type or storage class
smdb.c:398: parse error before `{'
smdb.c:401: redefinition of `fd'
smdb.c:378: `fd' previously defined here
smdb.c:401: request for member `smdb_lockfd' in something not a
structure or union
smdb.c:401: warning: data definition has no type or storage class
smdb.c:402: parse error before `if'
make[1]: *** [smdb.o] Error 1
make[1]: Leaving directory
`/usr/src/sendmail-8.12.1/obj.Linux.2.4.14.i686/libsmdb'

-- 
Henrik Brix Andersen <btech1@users.sourceforge.net>
"Join the revolution!" - GNU/Linux
Received on Sun Nov 18 11:56:19 2001

This archive was generated by hypermail 2.1.8 : Tue Jul 19 2005 - 16:02:58 CEST