|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
compiling gnats-3.113I'm attempting to compile gnats-3.113 on a Fedora Core 4 linux
server, in order to migrate an existing heavily used gnats db running on an older Sparc5, onto a newer system. On the FC4 box, 'make' fails consistently with the following error: strerror.c:460: error: static declaration of â follows non-static declaration /usr/include/bits/sys_errlist.h:27: error: previous declaration of â was here strerror.c:461: error: conflicting types for â /usr/include/bits/sys_errlist.h:28: error: previous declaration of â was here make[1]: *** [strerror.o] Error 1 make[1]: Leaving directory `/root/gnats-3.113/libiberty' make: *** [all-libiberty] Error 2 I'm not sure I'm up to trying to modify and correct the files where errors are being reported, if its possible to use more explicit configuration options to correct these compile errors I would appreciate some input. We have some existing gnats-4.0 DB's in use, but I'd first like to move this GnatsDB in its entirety to a newer system, before upgrading the gnats version. Some minor customizations have been made for the db config, and gnatsweb.pl being used for these earlier Gnats-3.113 DB's which are currently in use. Those customizations need to be addressed before upgrading, and the more urgent requirement at this point is to get those early gnats-3.113 db's moved before upgrading, since they contain a few years worth of bug tracking. More detailed output of the configuration and make results are included below. Regards, Barry Reddy System Administrator SWI [root@localhost ~/gnats-3.113]# uname -a Linux localhost.localdomain 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux [root@localhost ~/gnats-3.113]# ./configure --nfp --with-full-gnats Configuring for a i686-pc-linux-gnu host. Created "Makefile" in /root/gnats-3.113 [root@localhost ~/gnats-3.113]# make all info make[1]: Entering directory `/root/gnats-3.113/libiberty' if [ -n "" ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir echo "# !Automatically generated from ./functions.def"\ "- DO NOT EDIT!" >needed2.awk grep '^DEFVAR(' < ./functions.def \ | sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \ >>needed2.awk grep '^DEFFUNC(' < ./functions.def \ | sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \ >>needed2.awk gcc -c -g -I. -I./../include ./dummy.c 2>/dev/null (gcc -o dummy -g dummy.o ) >errors 2>&1 || true echo "/* !Automatically generated from ./functions.def"\ "- DO NOT EDIT! */" >lconfig.h awk -f needed2.awk <errors >>lconfig.h cp lconfig.h config.tmp /bin/sh ./../move-if-change config.tmp config.h touch stamp-config test -z "" || \ gcc -c -g -I. -I./../include argv.c -o pic/argv.o gcc -c -g -I. -I./../include argv.c test -z "" || \ gcc -c -g -I. -I./../include basename.c -o pic/basename.o gcc -c -g -I. -I./../include basename.c test -z "" || \ gcc -c -g -I. -I./../include choose-temp.c -o pic/choose-temp.o gcc -c -g -I. -I./../include choose-temp.c choose-temp.c: In function â: choose-temp.c:127: warning: incompatible implicit declaration of built-in function â choose-temp.c:130: warning: incompatible implicit declaration of built-in function â choose-temp.c:145: warning: incompatible implicit declaration of built-in function â test -z "" || \ gcc -c -g -I. -I./../include concat.c -o pic/concat.o gcc -c -g -I. -I./../include concat.c test -z "" || \ gcc -c -g -I. -I./../include cplus-dem.c -o pic/cplus-dem.o gcc -c -g -I. -I./../include cplus-dem.c cplus-dem.c: In function â: cplus-dem.c:956: warning: incompatible implicit declaration of built-in function â test -z "" || \ gcc -c -g -I. -I./../include fdmatch.c -o pic/fdmatch.o gcc -c -g -I. -I./../include fdmatch.c test -z "" || \ gcc -c -g -I. -I./../include fnmatch.c -o pic/fnmatch.o gcc -c -g -I. -I./../include fnmatch.c test -z "" || \ gcc -c -g -I. -I./../include getopt.c -o pic/getopt.o gcc -c -g -I. -I./../include getopt.c test -z "" || \ gcc -c -g -I. -I./../include getopt1.c -o pic/getopt1.o gcc -c -g -I. -I./../include getopt1.c test -z "" || \ gcc -c -g -I. -I./../include getruntime.c -o pic/getruntime.o gcc -c -g -I. -I./../include getruntime.c test -z "" || \ gcc -c -g -I. -I./../include hex.c -o pic/hex.o gcc -c -g -I. -I./../include hex.c test -z "" || \ gcc -c -g -I. -I./../include floatformat.c -o pic/floatformat.o gcc -c -g -I. -I./../include floatformat.c test -z "" || \ gcc -c -g -I. -I./../include objalloc.c -o pic/objalloc.o gcc -c -g -I. -I./../include objalloc.c objalloc.c: In function â: objalloc.c:214: warning: incompatible implicit declaration of built-in function â test -z "" || \ gcc -c -g -I. -I./../include obstack.c -o pic/obstack.o gcc -c -g -I. -I./../include obstack.c test -z "" || \ gcc -c -g -I. -I./../include pexecute.c -o pic/pexecute.o gcc -c -g -I. -I./../include pexecute.c pexecute.c: In function â: pexecute.c:547: warning: incompatible implicit declaration of built-in function â test -z "" || \ gcc -c -g -I. -I./../include spaces.c -o pic/spaces.o gcc -c -g -I. -I./../include spaces.c test -z "" || \ gcc -c -g -I. -I./../include strerror.c -o pic/strerror.o gcc -c -g -I. -I./../include strerror.c strerror.c:460: error: static declaration of â follows non-static declaration /usr/include/bits/sys_errlist.h:27: error: previous declaration of â was here strerror.c:461: error: conflicting types for â /usr/include/bits/sys_errlist.h:28: error: previous declaration of â was here make[1]: *** [strerror.o] Error 1 make[1]: Leaving directory `/root/gnats-3.113/libiberty' make: *** [all-libiberty] Error 2 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ Help-gnats mailing list Help-gnats@... http://lists.gnu.org/mailman/listinfo/help-gnats |
|
|
Re: compiling gnats-3.113Sorry for not responding sooner, Barry. Regarding 3.113, I understand
your desire to move to a newer database. I'm not sure I can help you out with trying to compile 3.113 on FC4. The whole libiberty infrastructure was ripped out in favor of simply copying the functions we need. It made life a lot easier than trying to re-sync with gcc, who has also moved away from maintaining that library. The reason for libiberty was to provide functions otherwise missing in libc libraries on different platforms. This should not be true on FC4. I believe it would be possible for you to exclude the libiberty build, or simply comment out those functions, declarations, or structures giving you problems. In this case, strerror. Moving 3.113 databases generally isn't very painful. The database format is the same, essentially. You won't be in danger of loosing data, since it's all flat-files. Just tarball it up, move it over to your new host, and create a new dbconfig to point to it. Translate the changes you made in the old dbconfig to the new, and make some test runs. Good Luck! Chad _______________________________________________ Help-gnats mailing list Help-gnats@... http://lists.gnu.org/mailman/listinfo/help-gnats |
| Free embeddable forum powered by Nabble | Forum Help |