Hello.
I try to compile user application with kernel modul.
I haved compiled kernel modul "kparapin.o" from PARAPIN library, after that
i have renamed original
"/usr/include" to something other and created link to with name
"/usr/include" to "/usr/src/linux-2.4.18-3/include"
After this I have renam
#define _POSIX_C_SOURCE 200112L
> before inclusion of any header files. This is required by the POSIX
> standard. glibc doesn't require this unless you are compiling with
> __STRICT_ANSI__. The number 200112L indicates currently valid version
> of POSIX, IEEE Std. 1
ISO C99.
If you want to use both -std=c99 and POSIX library features,
you should add
#define _POSIX_C_SOURCE 200112L
before inclusion of any header files. This is required by the POSIX
standard. glibc doesn't require this unless you are compiling with
__STRICT_ANSI__. The number
Compiling this program
#include
#include
int main(int argc, char *argv[]) {
return kill(getpid(), SIGTERM);
}
with
gcc -std=c99 -g -Wall -o tst tst.c
yields
tst.c: In function `main':
tst.c:5: warning: implicit declaration of function `kill'
No
--- Florin Andrei <[EMAIL PROTECTED]> wrote:
>
> Corrupted kernel tarball then?
> Download/unpack/compile again?
Did you also verify the source using the PGP key? How
about making the required links to the linux-2.4.20
dir? ln -s /usr/src/linux-2.4.20 linux
ln -s /usr/src/linux-2.4.20 linux-2.4
Hi, Joseph
(1) I can do "make xconfig" 2.4.20 on RedHat Linux 8.0(LANG=C CC=gcc296).
(2) I did some experiment.
slime% cd /usr/src/v2.4/linux-2.4.20
slime% ./scripts/tkparse
^M... "CNTL-V + CNTL-M + RET"
-: 1: unknown command
slime%
Are there extra "\r" charactors in y
On Tue, 2002-12-17 at 12:27, Joseph D. Wagner wrote:
> It (make xconfig) works fine on the 2.4.18-3 kernel that comes pre-installed
> with Redhat 7.3. It just doesn't work with the kernel I downloaded from
> http://www.kernel.org (version 2.4.20).
Corrupted kernel tarball then?
Download/unpack/co
ndrei
Sent: Tuesday, December 17, 2002 11:35 AM
To: [EMAIL PROTECTED]
Subject: RE: Problem Compiling Linux Kernel 2.4.20
On Mon, 2002-12-16 at 14:45, Joseph D. Wagner wrote:
>
> [root@localhost linux-2.4.20]# make xconfig
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i3
On Mon, 2002-12-16 at 14:45, Joseph D. Wagner wrote:
>
> [root@localhost linux-2.4.20]# make xconfig
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> -: 6: unknown command
> make[1]: *** [kconfig.tk] Error 1
Did you installed the Tcl and Tk stuff?
--
Florin A
On Mon, 2002-12-16 at 18:24, Joseph D. Wagner wrote:
>
> Do you suggest I re-extract the files from the tar archive and start over?
By the error message you sent, it looks to me that you do not have
software installed that is needed to run xconfig. Try
make menuconfig
or
make config
If menuc
Yes, I did "make mrproper" then I did "make xconfig" and got the results you
see.
Do you suggest I re-extract the files from the tar archive and start over?
Joseph Wagner
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com
> Did you do a make mrproper first?
Yep. Here's the output from "make xconfig"
[root@localhost linux-2.4.20]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
cat header.tk >> ./kconfig.tk
./
On Mon, 16 Dec 2002, Joseph D. Wagner wrote:
> I've downloaded kernel version 2.4.20 from http://www.kernel.org and copied
> it to the /usr/src/linux-2.4.20 directory, but when I do "make xconfig" (or
> any other "make" for that matter, it exits with error code 2.
>
> I figure there is some Redha
I've downloaded kernel version 2.4.20 from http://www.kernel.org and copied
it to the /usr/src/linux-2.4.20 directory, but when I do "make xconfig" (or
any other "make" for that matter, it exits with error code 2.
I figure there is some Redhat-specific tweaking I must do to compile a
generic kerne
Hi,
I tried to compile ipvsadm-1.21-4.src.rpm in RedHat 8.0, but I got this error:
-
In file included from /usr/src/linux-2.4/include/linux/config.h:4,
from /usr/src/linux-2.4/include/asm/param.h:
On 11 Oct 2002 12:30:23 -0700, William L. Thomson Jr. wrote:
> I am not sure if this topic is covered under this list or not. The
> thread seems dead on the rhn-users list. Possible the wrong list as
> well.
psyche-list would be the right list:
[EMAIL PROTECTED]
https://listman.redhat.com/m
>
> To: rhn-users <[EMAIL PROTECTED]>
> Subject: RE: [rhn-users] Problems compiling custom kernel
> Date: 10 Oct 2002 15:13:03 -0700
>
> I have downloaded a vanilla kernel from kernel.org. Both 2.4.18 and
> 2.4.19. I was able to compile both, and make modules for both.
>
Hello all.
I'm in the process of re-compiling the kernel, but I get to a point where
there's an error. These are the steps up to the error:
# cd /usr/src/linux-2.4.18-3
# make config (CONFIG_PCMCIA = no to achieve a kernel without PCMCIA
support)
# make dep
# make clean
# make bzIm
Hello all.
I'm in the process of re-compiling the kernel, but I get to a point where
there's an error. These are the steps up to the error:
# cd /usr/src/linux-2.4.18-3
# make config (CONFIG_PCMCIA = no to achieve a kernel without PCMCIA
support)
# make dep
# make clean
# make bzIm
Hello all.
I'm in the process of re-compiling the kernel, but I get to a point where
there's an error. These are the steps up to the error:
# cd /usr/src/linux-2.4.18-3
# make config (CONFIG_PCMCIA = no to achieve a kernel without PCMCIA
support)
# make dep
# make clean
# make bzIm
> On Mon, Apr 09, 2001 at 06:44:20PM -0400, Ivan Jager wrote:
> > What about:
> > make [make options] 2>&1 | tee output.log
>
>I prefer not to have to sort through to find the warnings
> and errors. Your approach has the benefit of context, mine of
> "purity" of information (
> On Mon, Apr 09, 2001 at 02:18:03PM -0700, Linux User wrote:
> > Hello everyone,
> > When compiling a C\C++ program is it possible to output any warning
> > during the compile to a file, so they can be reviewed later?
>
> gcc [options string] > stdout.log 2>
Thanks Chris.
That's exactly what I wanted. Outputing just the warnings into their own
file makes it quicker then having to scan the entire output.
Thanks,
Jim H
Chris Petro wrote:
>
> On Mon, Apr 09, 2001 at 02:18:03PM -0700, Linux User wrote:
> > Hello everyone,
&
ot; of information (for want of a better term).
Horses for courses.
> Chris Petro wrote:
> >
> > On Mon, Apr 09, 2001 at 02:18:03PM -0700, Linux User wrote:
> > > Hello everyone,
> > > When compiling a C\C++ program is it possible to output any warning
>
What about:
make [make options] 2>&1 | tee output.log
Chris Petro wrote:
>
> On Mon, Apr 09, 2001 at 02:18:03PM -0700, Linux User wrote:
> > Hello everyone,
> > When compiling a C\C++ program is it possible to output any warning
> > during the compile to a file
On Mon, Apr 09, 2001 at 02:18:03PM -0700, Linux User wrote:
> Hello everyone,
> When compiling a C\C++ program is it possible to output any warning
> during the compile to a file, so they can be reviewed later?
gcc [options string] > stdout.log 2> stderr.log, or
mak
Hello everyone,
When compiling a C\C++ program is it possible to output any warning
during the compile to a file, so they can be reviewed later?
Thanks,
Jim H
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com
did you do make oldconfig
that's what I had to do to get it to work.
On Sat 06 Jan at 16:26:17 -0500 [EMAIL PROTECTED] done said:
> I still can't seem to get a kernel to compile under 7.0. I am using a
> pristine installation, and the kernel sources etc from the install,
> NOTHING ADDED/CHANGE
> make mrproper first.
I do make clean; make mrproper. Call me crazy, but for some reason I have
to have make clean first. (I thought they were redundant though).
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailm
On Sat, 6 Jan 2001, Michael Shiels wrote:
> I still can't seem to get a kernel to compile under 7.0.
make mrproper
LLaP
bero
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list
Em Sábado 06 Janeiro 2001 19:26, you wrote:
> I still can't seem to get a kernel to compile under 7.0. I am using a
> pristine installation, and the kernel sources etc from the install,
> NOTHING ADDED/CHANGED. But I get the following problem right away.
> Strange thing is that it mentions the
make mrproper first.
Matt
On Sat, Jan 06, 2001 at 04:26:17PM -0500, Michael Shiels wrote:
> I still can't seem to get a kernel to compile under 7.0. I am using a
> pristine installation, and the kernel sources etc from the install,
> NOTHING ADDED/CHANGED. But I get the following prob
I still can't seem to get a kernel to compile under 7.0. I am using a
pristine installation, and the kernel sources etc from the install,
NOTHING ADDED/CHANGED. But I get the following problem right away.
Strange thing is that it mentions the error as being first reference to
smp_num_cpus, but
Try the following two commands:
cpp
g++
-- Generated Signature --
Don't confuse things that need action
with those that take care of themselves.
-- End Sig --
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailm
Can someone help me... I need to know how to
compile a g++ program on RedHat 6.2. I installed libg++-2.8.1-2.i386, is
that enough? What command do I execute to compile the
program?
Please help
Paul
Marco Presi said once upon a time (Tue, 5 Dec 2000):
> Hello all
>
> I upgraded to RH7 last week, and I'm not able to compile kernel.
> Nor the 2.2.16-22 shipped with RH, nor the 2.2.17 from kernel.org
> Some other person had my same problem.
>
> Some one knows why?
Yes, you didn't read the RELE
On Tue, 5 Dec 2000, Marco Presi wrote:
> I upgraded to RH7 last week, and I'm not able to compile kernel.
> Nor the 2.2.16-22 shipped with RH, nor the 2.2.17 from kernel.org
> Some other person had my same problem.
>
> Some one knows why?
Search archives. Archives say 'Redhat 7.0 shipped with a
Hello all
I upgraded to RH7 last week, and I'm not able to compile kernel.
Nor the 2.2.16-22 shipped with RH, nor the 2.2.17 from kernel.org
Some other person had my same problem.
Some one knows why?
--
Ciao Ciao
Marco
> Anyone succesfully done that ?
>
Try the guiness list.
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list
Anyone succesfully done that ?
___
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list
I have this problem when I try to compile kvirc:
kvi_dlgoptions.cpp: In method
`KviGeneralOptionsDialog::KviGeneralOptionsDialog(QWidget *, const char
* = 0)':
kvi_dlgoptions.cpp:3092: no matching function for call to
`QVBox::setStretchFactor (QWidgetStack *&, int)'
make[3]: *** [kvi_dlgoptions.
Which compiler version (gcc -v), and what does the "locale" command return?
Matt
On Thu, Jul 13, 2000 at 09:36:00PM -0400, Dave Temkin wrote:
>
> Whenever I attempt to compile anything (say, xv, or gaim, or even the
> kernel), I get the following error before a configure will bomb out:
>
__
Can you run:
rpm -qa | grep glibc
And send back the output. Also the output from:
sh /usr/src/linux/scripts/ver_linux
and
cat /etc/ld.so.conf
That may help debug the problem...
On Thu, 13 Jul 2000, Dave Temkin wrote:
>
> Whenever I attempt to compile anything (say, xv,
Whenever I attempt to compile anything (say, xv, or gaim, or even the
kernel), I get the following error before a configure will bomb out:
configure;1115; gcc -o conftestconftest.c 1.75
/lib/libc.so.6; undefined reference to `-dl-init-next2GLIBC-2.0'
/lib/libc.so.6; undefined reference to `
my compile commands are:
$g++ -c -I../include -O2 -I/usr/X11R6/include -I../FORMS File1.cpp
(same things for File2.cpp, File3.cpp ...)
$g++ File1.cpp File2.cpp ... Filex.cpp -o a.out -L../lib -lglut -lMesaGLU
-lMesaGL -lm -L../FORMS -lforms -L/usr/X11/lib -L/usr/X11R6 -lX11 -LXext
-lXmu -lXt -lXi
Hi :)
I try recompile that one version with strong optimalization for i686.
My optimalization flags are:
optflags: i386 -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s
-mcpu=pentiumpro -march=pentiumpro -ffast-math -mieee-fp
-fexpensive-optimizations
optflags: i686 -O2 -fomit-frame-p
://www.transitivesys.com
- Original Message -
From: "David Whitehurst" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 08, 2000 9:47 AM
Subject: Re: KDE Compiling problems
> Riyad Kalla wrote:
>
> > I have a stock RH 6.1 FULL install running
Riyad Kalla wrote:
> I have a stock RH 6.1 FULL install running on my system, and recently I went
> to compile 2 KDE related programs that rely on QT2.0x, and even one based on
> QT1.44, and almost right away running "make" will fail with a warning along
> the lines of:
>
> "Incorrect compiler, p
I have a stock RH 6.1 FULL install running on my system, and recently I went
to compile 2 KDE related programs that rely on QT2.0x, and even one based on
QT1.44, and almost right away running "make" will fail with a warning along
the lines of:
"Incorrect compiler, please use the compiler that was
On Sun, 31 Oct 1999, Chris Runge wrote:
> A Godsend!
Not that I'm aware of it. ;)
> I guess Red Hat must be
> "unsetting" this in the general environment before they build.
It's never set on the build server.
> BTW, didn't you used to be with Mandrake?
Yes, until a short while ago.
LLaP
ber
>
> I'm somewhat of a newbie to NLS, /usr/share/locale, etc., so please
> forgive me if this is a silly question.
>
> I'm using a stock RH61 setup and I can't compile any SRPMS that have
> /usr/share/locale/ entries in their files listings. For example,
> gettext or some of the GNOME stuff. It
A Godsend! Thanks for the help and the quick reply. I guess Red Hat must be
"unsetting" this in the general environment before they build.
BTW, didn't you used to be with Mandrake?
Thanks again,
Chris
Bernhard Rosenkraenzer wrote:
> On Sun, 31 Oct 1999, Chris Runge wrote:
>
> > I'm using a st
On Sun, 31 Oct 1999, Chris Runge wrote:
> I'm using a stock RH61 setup and I can't compile any SRPMS that have
> /usr/share/locale/ entries in their files listings. For example,
> gettext or some of the GNOME stuff. It compiles okay but during the
> files phase it bombs because it can't find th
I'm somewhat of a newbie to NLS, /usr/share/locale, etc., so please
forgive me if this is a silly question.
I'm using a stock RH61 setup and I can't compile any SRPMS that have
/usr/share/locale/ entries in their files listings. For example,
gettext or some of the GNOME stuff. It compiles okay
n the reason people contribute them in the first
>place).
>
>Sincerely,
>Jay Freeman (saurik)
><[EMAIL PROTECTED]>
>
>> -Original Message-
>> From: Albert E. Whale [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, September 07, 1999 7:53 PM
>> To
[EMAIL PROTECTED]]
> Sent: Tuesday, September 07, 1999 7:53 PM
> To: [EMAIL PROTECTED]
> Subject: Compiling Problems with tcl-8.0p2-5
>
>
> I am in the process of Upgrading Redhat 5.2 from Linux 2.2.4 to 2.2.12
> (required for Masquerading project)
>
> When I typed
&g
I am in the process of Upgrading Redhat 5.2 from Linux 2.2.4 to 2.2.12
(required for Masquerading project)
When I typed
make xconfig I got:
[root@access2 linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/
57 matches
Mail list logo