Problem with compiling user application with kernel modul

2003-06-06 Thread Remia s.r.o. - Michal Kacur
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

Re: Unexpected results compiling a program containing kill(2)

2003-03-10 Thread Vladimir G. Ivanovic
#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

Re: Unexpected results compiling a program containing kill(2)

2003-03-10 Thread Miloslav Trmac
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

Unexpected results compiling a program containing kill(2)

2003-03-09 Thread Vladimir G. Ivanovic
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-19 Thread Kevin McConnell
--- 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

Re: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Yasuo Yamasaki
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Florin Andrei
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Joseph D. Wagner
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Florin Andrei
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread Gary Sandine
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread Joseph D. Wagner
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

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread Joseph D. Wagner
> 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 ./

Re: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread John
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

Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread Joseph D. Wagner
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

compiling ipvsadm from srpm

2002-11-04 Thread Leonard Soetedjo
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:

Re: [Fwd: RE: [rhn-users] Problems compiling custom kernel]

2002-10-12 Thread Michael Schwendt
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

[Fwd: RE: [rhn-users] Problems compiling custom kernel]

2002-10-11 Thread William L. Thomson Jr.
> > 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. >

Re-Compiling the kernel.

2002-09-13 Thread Trevor Fraser
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

Re-Compiling the kernel.

2002-09-13 Thread Trevor Fraser
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

Re-Compiling the kernel.

2002-09-13 Thread Trevor Fraser
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

Re: OT: Compiling C\C++ Programs Question

2001-04-10 Thread John Summerfield
> 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 (

Re: OT: Compiling C\C++ Programs Question

2001-04-10 Thread John Summerfield
> 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>

Re: OT: Compiling C\C++ Programs Question

2001-04-09 Thread J Hayward
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, &

Re: OT: Compiling C\C++ Programs Question

2001-04-09 Thread Chris Petro
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 >

Re: OT: Compiling C\C++ Programs Question

2001-04-09 Thread Ivan Jager
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

Re: OT: Compiling C\C++ Programs Question

2001-04-09 Thread Chris Petro
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

OT: Compiling C\C++ Programs Question

2001-04-09 Thread Linux User
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

Re: Compiling kernel under 7.0 fully updated PROBLEMS!

2001-01-07 Thread ray
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

Re: Compiling kernel under 7.0 fully updated PROBLEMS!

2001-01-06 Thread db
> 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

Re: Compiling kernel under 7.0 fully updated PROBLEMS!

2001-01-06 Thread Bernhard Rosenkraenzer
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

Re: Compiling kernel under 7.0 fully updated PROBLEMS!

2001-01-06 Thread Evandro Fernandes Giovanini
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

Re: Compiling kernel under 7.0 fully updated PROBLEMS!

2001-01-06 Thread Matt Wilson
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

Compiling kernel under 7.0 fully updated PROBLEMS!

2001-01-06 Thread Michael Shiels
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

Re: Compiling

2001-01-01 Thread Luke C Gavel
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

Compiling

2000-12-20 Thread Paul Rice
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

Re: Kernel compiling preblem..

2000-12-05 Thread Dax Kelson
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

Re: Kernel compiling preblem..

2000-12-05 Thread Mark Cooke
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

Kernel compiling preblem..

2000-12-05 Thread Marco Presi
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

Re: Compiling lvm-0.8final under RedHat 7.0 !?

2000-10-12 Thread John Summerfield
> Anyone succesfully done that ? > Try the guiness list. ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Compiling lvm-0.8final under RedHat 7.0 !?

2000-10-12 Thread Mario Mikoèeviæ
Anyone succesfully done that ? ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Compiling with qt

2000-07-26 Thread Mario Torre
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.

Re: Problem with compiling *anything* with GCC/CPP

2000-07-13 Thread Matt Wilson
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: > __

Re: Problem with compiling *anything* with GCC/CPP

2000-07-13 Thread kenneth topp
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,

Problem with compiling *anything* with GCC/CPP

2000-07-13 Thread Dave Temkin
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 `

compiling problems

2000-06-30 Thread Qinghua Zhong
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

glibc-2.1.3-4 - failed compiling

2000-01-26 Thread Piotr Majka
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

Re: KDE Compiling problems....

2000-01-08 Thread Riyad Kalla
://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

Re: KDE Compiling problems....

2000-01-08 Thread David Whitehurst
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

KDE Compiling problems....

2000-01-06 Thread Riyad Kalla
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

Re: RH61: Problems compiling SRPMS with /usr/share/locale files

1999-10-31 Thread Bernhard Rosenkraenzer
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

Re: RH61: Problems compiling SRPMS with /usr/share/locale files

1999-10-31 Thread JF Martinez
> > 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

Re: RH61: Problems compiling SRPMS with /usr/share/locale files

1999-10-31 Thread Chris Runge
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

Re: RH61: Problems compiling SRPMS with /usr/share/locale files

1999-10-31 Thread Bernhard Rosenkraenzer
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

RH61: Problems compiling SRPMS with /usr/share/locale files

1999-10-31 Thread Chris Runge
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

Re: Compiling Problems with tcl-8.0p2-5

1999-09-08 Thread Albert E. Whale
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

RE: Compiling Problems with tcl-8.0p2-5

1999-09-07 Thread Jay Freeman \(saurik\)
[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

Compiling Problems with tcl-8.0p2-5

1999-09-07 Thread Albert E. Whale
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/