Mailinglist Archive: opensuse (2141 mails)

< Previous Next >
[SuSE Linux] Failure in compiling kernel after >3000 fds patch
  • From: to.avi@xxxxxxx (Avi Schwartz)
  • Date: Sun, 14 Mar 1999 20:57:57 -0600
  • Message-id: <36EC7735.423C4B10@xxxxxxx>



Hi,

I am in the process of evaluating Informix Dynamic Server but for that I
need to patch the kernel for >3000 file descriptors. I am running SuSE
6.0 international (non German) version.

I obtained the kernel 2.0.36 patch file for >3000 file descriptors per
process from SuSE's ftp site. I patched the kernel source with no
errors but when I try to compile the new kernel it fails with the
following error:

gcc -D__KERNEL__ -I/usr/src/linux/include -V2.7.2.3 -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c
-o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/types.h:16,
from init/main.c:17:
/usr/src/linux/include/linux/posix_types.h:47: `NR_OPEN' undeclared here
(not in a function)
/usr/src/linux/include/linux/posix_types.h:47: size of array `fds_bits'
has non-integer type
make: *** [init/main.o] Error 1

To perform the patch I used the following command from the
/usr/src/linux directory:

root@Seahorse:/usr/src/linux # cat ~/large-fd-2.0.36 | patch -p1 2> out

So, is the patch for a version different from the one shipped with the
international version of SuSE 6.0? Is there a *source code* patch that
will work?

Thanks,
Avi

--
Avi Schwartz Get a Life
to.avi@xxxxxxx Get Linux
--
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/";><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the
archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html";><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>


< Previous Next >
Follow Ups