pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/39738 CVS commit: pkgsrc/pkgtools/libnbcompat



The following reply was made to PR pkg/39738; it has been noted by GNATS.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: joerg%NetBSD.org@localhost
Subject: Re: PR/39738 CVS commit: pkgsrc/pkgtools/libnbcompat
Date: Wed, 29 Oct 2008 15:17:44 +0100

 Hi again!
 
 Interesting: With GCC for Sun Systems (Sun's GCC 4.2.0 frontend with 
 their own optimizer and code generator) it's the same: Bootstrapping 
 works, building libnbcompat standalone not. The error is more or less 
 the same:
 
 gcc  -D__DBINTERFACE_PRIVATE -I. -I.  -O -DHAVE_CONFIG_H -c 
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c
 In file included from 
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:51:
 ./nbcompat/ndbm.h: In function 'dbm_delete':
 ./nbcompat/ndbm.h:70: error: expected declaration specifiers before 
 '__RENAME'
 ./nbcompat/ndbm.h:71: error: expected '=', ',', ';', 'asm' or 
 '__attribute__' before '__RENAME'
 ./nbcompat/ndbm.h:72: error: expected '=', ',', ';', 'asm' or 
 '__attribute__' before '__RENAME'
 ./nbcompat/ndbm.h:73: error: expected '=', ',', ';', 'asm' or 
 '__attribute__' before '__RENAME'
 ./nbcompat/ndbm.h:74: error: expected '=', ',', ';', 'asm' or 
 '__attribute__' before '__RENAME'
 In file included from 
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:52:
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:45:
 
 error: storage class specified for parameter 'ACTION'
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:48:
 
 error: storage class specified for parameter 'BUFHEAD'
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:51:
 
 error: expected specifier-qualifier-list before 'BUFHEAD'
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:61:
 
 warning: empty declaration
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:65:
 
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:93:
 
 error: storage class specified for parameter 'HASHHDR'
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:96:
 
 error: expected specifier-qualifier-list before 'HASHHDR'
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/hash.h:121:
 
 error: storage class specified for parameter 'HTAB'
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:61:
 
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:82:
 
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:88:
 
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:97:
 
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:107:
 
 error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:112:
 
 error: old-style parameter declarations in prototyped function definition
 ./nbcompat/ndbm.h:70: error: parameter name omitted
 ./nbcompat/ndbm.h:70: error: parameter name omitted
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/db/hash/ndbm.c:112:
 
 error: expected '{' at end of input
 
 -- 
   Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld
 


Home | Main Index | Thread Index | Old Index