Re: Linux 2.4.20-pre7

From: Jarosław Bekas (jaroslaw.bekas@polcard.com.pl)
Date: Fri Sep 13 2002 - 00:12:11 EST


I have an error when try to compile pre7 on my box:

gcc -I/usr/include -I. -ldb aicasm.c aicasm_symbol.c aicasm_gram.c
aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm.c:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/sys/types.h:26,
                 from aicasm.c:44:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
aicasm.c:291:1: warning: multi-line string literals are deprecated
aicasm.c:338:1: warning: multi-line string literals are deprecated
aicasm.c:377:1: warning: multi-line string literals are deprecated
aicasm.c:392:1: warning: multi-line string literals are deprecated
aicasm.c:412:1: warning: multi-line string literals are deprecated
aicasm.c:428:1: warning: multi-line string literals are deprecated
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_symbol.c:52:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/sys/types.h:26,
                 from aicasm_symbol.c:44:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
aicasm_symbol.c:407:1: warning: multi-line string literals are deprecated
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_gram.y:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/sys/types.h:26,
                 from aicasm_gram.y:46:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
aicasm_gram.y: In function `format_1_instr':
aicasm_gram.y:1590: warning: deprecated use of label at end of compound
statement
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_macro_gram.y:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/sys/types.h:26,
                 from aicasm_macro_gram.y:46:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_scan.l:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/stdio.h:28,
                 from aicasm_scan.c:12:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from aicasm_macro_scan.l:49:
/usr/include/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
                 from /usr/include/stdio.h:28,
                 from aicasm_macro_scan.c:31:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
/tmp/ccPmZ4E9.o: In function `symtable_open':
/tmp/ccPmZ4E9.o(.text+0x1af): undefined reference to `__db185_open'
collect2: ld returned 1 exit status
make[5]: *** [aicasm] Błąd 1
make[5]: Opuszczam katalog
`/usr/src/linux-2.4.20p7/drivers/scsi/aic7xxx/aicasm'
make[4]: *** [aicasm/aicasm] Błąd 2
make[4]: Opuszczam katalog `/usr/src/linux-2.4.20p7/drivers/scsi/aic7xxx'
make[3]: *** [first_rule] Błąd 2
make[3]: Opuszczam katalog `/usr/src/linux-2.4.20p7/drivers/scsi/aic7xxx'
make[2]: *** [_subdir_aic7xxx] Błąd 2
make[2]: Opuszczam katalog `/usr/src/linux-2.4.20p7/drivers/scsi'
make[1]: *** [_subdir_scsi] Błąd 2
make[1]: Opuszczam katalog `/usr/src/linux-2.4.20p7/drivers'
make: *** [_dir_drivers] Błąd 2

my linux: slackware 9.0beta, on dual athlon

Linux jaro 2.4.20-pre5 #6 SMP śro wrz 11 15:00:41 CEST 2002 i686 unknown
 
Gnu C gcc (GCC) 3.2 Copyright (C) 2002 Free Software
Foundation, Inc. This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Gnu make 3.79.1
util-linux 2.11u
mount 2.11u
modutils 2.4.20
e2fsprogs 1.27
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Linux C++ Library 5.0.0
Procps 2.0.7
Net-tools 1.60
Kbd 1.06
Sh-utils 2.0
Modules Loaded 3c59x cmpci soundcore agpgart sr_mod sg ide-scsi ide-cd
cdrom ide-disk ide-probe-mod ide-mod

.config file are attached

-- 
Jarosław Bekas
PolCard S.A.


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:32 EST