Re: Problem with compiling

2007-12-06 Thread Erik Jakobsen
Andrew Sackville-West wrote: On Thu, Dec 06, 2007 at 09:53:05AM +0100, Erik Jakobsen wrote: Ok very nice. What, where do I have to look ? google? snip... Tanks. yes. please learn to use the search tools: aptitide search or apt-cache search . I will, and many thanks. M

Re: Re: Problem with compiling

2007-12-06 Thread Andrew Sackville-West
On Thu, Dec 06, 2007 at 09:53:05AM +0100, Erik Jakobsen wrote: > Andrew Sackville-West wrote: > > Sometime ago Erik wrote: > > > I want to install the PWC software for my Logitech Webcam Pro 4000 > > > I got the code from here: > > > > > > http://www.saillard.org/linux/pwc/files/ > > > > > > An

Re: Re: Problem with compiling

2007-12-06 Thread Erik Jakobsen
> I want to install the PWC software for my Logitech Webcam Pro 4000 > I got the code from here: > > http://www.saillard.org/linux/pwc/files/ > > And i tried form ther pwc-10.0.11.tar.bz2 well there is now a 10.0.12-rc1 out so you might look into that. Ok very nice. What, where do I have to l

Re: Problem with compiling

2007-12-04 Thread Andrew Sackville-West
On Tue, Dec 04, 2007 at 07:08:22PM +0100, Erik Jakobsen wrote: > Andrew Sackville-West wrote: > > we really sort of need more details about this, like what camera, what > > are you trying to build, where you got the code, etc etc etc. > > > > > > > > just what it says here. I suspect that this i

Re: Problem with compiling

2007-12-04 Thread Erik Jakobsen
Andrew Sackville-West wrote: > we really sort of need more details about this, like what camera, what > are you trying to build, where you got the code, etc etc etc. > > > > just what it says here. I suspect that this is causing most of the > rest of these errors. It almost looks like there's a

Re: Problem with compiling

2007-12-04 Thread Andrew Sackville-West
On Tue, Dec 04, 2007 at 09:54:27AM +0100, Erik Jakobsen wrote: > I am trying to install a webcam on my etch dist. we really sort of need more details about this, like what camera, what are you trying to build, where you got the code, etc etc etc. > > I get this: > > # make > make -C /lib/modules/

Problem with compiling

2007-12-03 Thread Erik Jakobsen
I am trying to install a webcam on my etch dist. I get this: # make make -C /lib/modules/2.6.18-5-486/build SUBDIRS=/opt/pwc-10.0.11 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.18-5-486' CC [M] /opt/pwc-10.0.11/pwc-if.o /opt/pwc-10.0.11/pwc-if.c:164: error: variable ‘pwc_temp

Re: Problem with compiling kernel

2007-05-09 Thread Manoj Srivastava
On Wed, 9 May 2007 15:32:08 -0400, Celejar <[EMAIL PROTECTED]> said: > On Tue, 08 May 2007 17:29:38 -0500 > Manoj Srivastava <[EMAIL PROTECTED]> wrote: >> Hmm. I should amend that to say: Step 5 does require (fake)root >> privileges. > Huh? Here's a longer excerpt: Oops. I think I mis

Re: Problem with compiling kernel

2007-05-09 Thread Celejar
On Tue, 08 May 2007 17:29:38 -0500 Manoj Srivastava <[EMAIL PROTECTED]> wrote: > On Tue, 8 May 2007 16:11:54 -0400, Celejar <[EMAIL PROTECTED]> said: > > > On Tue, 08 May 2007 12:47:28 -0500 > > Manoj Srivastava <[EMAIL PROTECTED]> wrote: > > >> On Tue, 8 May 2007 16:10:29 +0200, Raffaele More

Re: Problem with compiling

2007-05-08 Thread pizzapie_linuxanchovies
Manoj--thanks for a real nice trick with the "dpkg-deb --contents"--I had no idea this would output the default file modes, owners, etc! Now I'm just wondering if dpkg can reinstall dpkg (reinstall itself?), to get back to that happy like-new state? After that, I'll be looking for the culpri

Re: Problem with compiling kernel

2007-05-08 Thread Manoj Srivastava
On Tue, 8 May 2007 16:11:54 -0400, Celejar <[EMAIL PROTECTED]> said: > On Tue, 08 May 2007 12:47:28 -0500 > Manoj Srivastava <[EMAIL PROTECTED]> wrote: >> On Tue, 8 May 2007 16:10:29 +0200, Raffaele Morelli >> <[EMAIL PROTECTED]> said: >> >> > That's ok, I follow the general (healthy) rule and

Re: Problem with compiling kernel

2007-05-08 Thread Manoj Srivastava
On Tue, 8 May 2007 20:50:13 +0200 (CEST), pizzapie linuxanchovies <[EMAIL PROTECTED]> said: > Thanks to everyone who replied with ideas about my post. Let me give > quick replies to the questions you asked me: > Manoj--yes, dpkg is in /usr/bin, and is in the user's path, but no > normal user

Re: Problem with compiling kernel

2007-05-08 Thread Andrew Sackville-West
On Tue, May 08, 2007 at 08:50:13PM +0200, pizzapie_linuxanchovies wrote: > > > Andrew (and anyone else who can do a make-kpkg under a non-root > account)--what permissions do YOU see when you say ls -l /usr/bin/root? I was referring to the general case of compiling source as a user and installi

Re: Problem with compiling kernel

2007-05-08 Thread Celejar
On Tue, 08 May 2007 12:47:28 -0500 Manoj Srivastava <[EMAIL PROTECTED]> wrote: > On Tue, 8 May 2007 16:10:29 +0200, Raffaele Morelli > <[EMAIL PROTECTED]> said: > > > That's ok, I follow the general (healthy) rule and do not log as root > > if unnecessary, but for kernel (and program) compile I

Problem with compiling kernel

2007-05-08 Thread pizzapie_linuxanchovies
Thanks to everyone who replied with ideas about my post. Let me give quick replies to the questions you asked me: Manoj--yes, dpkg is in /usr/bin, and is in the user's path, but no normal user has execute access to dpkg: $ ls -l /usr/bin/dpkg -rwxr-x--- 1 root root 174040 May 26 2005 /usr/b

Re: Problem with compiling kernel

2007-05-08 Thread Andrew Sackville-West
On Tue, May 08, 2007 at 04:10:29PM +0200, Raffaele Morelli wrote: > 2007/5/8, Celejar <[EMAIL PROTECTED]>: > > > >On Tue, 8 May 2007 12:12:22 +0200 > >"Raffaele Morelli" <[EMAIL PROTECTED]> wrote: > > > >[snip] > > > >> Me too compile kernels as root and really would like to know why it is > >> con

Re: Problem with compiling kernel

2007-05-08 Thread Manoj Srivastava
On Tue, 8 May 2007 16:10:29 +0200, Raffaele Morelli <[EMAIL PROTECTED]> said: > That's ok, I follow the general (healthy) rule and do not log as root > if unnecessary, but for kernel (and program) compile I can not picture > 'make-kpkg' or 'configure && make' doing something regrettable.

Re: Problem with compiling kernel

2007-05-08 Thread Raffaele Morelli
2007/5/8, Celejar <[EMAIL PROTECTED]>: On Tue, 8 May 2007 12:12:22 +0200 "Raffaele Morelli" <[EMAIL PROTECTED]> wrote: [snip] > Me too compile kernels as root and really would like to know why it is > considered such a bad habit. It's generally considered a bad idea to do anything as root unl

Re: Problem with compiling kernel

2007-05-08 Thread Celejar
On Tue, 8 May 2007 12:12:22 +0200 "Raffaele Morelli" <[EMAIL PROTECTED]> wrote: [snip] > Me too compile kernels as root and really would like to know why it is > considered such a bad habit. It's generally considered a bad idea to do anything as root unless it's absolutely necessary. I suppose i

Re: Problem with compiling kernel

2007-05-08 Thread Hugo Vanwoerkom
Raffaele Morelli wrote: I just changed: 1. Processor type and features -> Paravirtualization support (EXPERIMENTAL) OFF 2. Processor type and features -> Timer frequency (1000 HZ) 3. Processor type and features -> Preemption Model (Preemptible Kernel (Low-Latency Desktop)

Re: Problem with compiling kernel

2007-05-08 Thread Raffaele Morelli
I just changed: 1. Processor type and features -> Paravirtualization support (EXPERIMENTAL) OFF 2. Processor type and features -> Timer frequency (1000 HZ) 3. Processor type and features -> Preemption Model (Preemptible Kernel (Low-Latency Desktop)) 4. Device Drivers -> Graphics support -> Logo

Re: Problem with compiling kernel

2007-05-08 Thread Hugo Vanwoerkom
pizzapie_linuxanchovies wrote: I was following a tutorial (http://newbiedoc.sourceforge.net/system/kernel-pkg.html) for compiling a custom kernel, and got to the stage where it said to run this: "fakeroot make-kpkg clean" However, this command generated a bunch of errors saying this: dpkg-a

Re: Problem with compiling kernel

2007-05-07 Thread John L Fjellstad
pizzapie_linuxanchovies <[EMAIL PROTECTED]> writes: > I was following a tutorial > (http://newbiedoc.sourceforge.net/system/kernel-pkg.html) for > compiling a custom kernel, and got to the stage where it said to run > this: "fakeroot make-kpkg clean" > > However, this command generated a bunch of

Re: Problem with compiling kernel

2007-05-07 Thread Manoj Srivastava
On Tue, 8 May 2007 05:37:58 +0200 (CEST), pizzapie linuxanchovies <[EMAIL PROTECTED]> said: > I was following a tutorial > (http://newbiedoc.sourceforge.net/system/kernel-pkg.html) for > compiling a custom kernel, and got to the stage where it said to run > this: "fakeroot make-kpkg clean" Howe

Problem with compiling kernel

2007-05-07 Thread pizzapie_linuxanchovies
I was following a tutorial (http://newbiedoc.sourceforge.net/system/kernel-pkg.html) for compiling a custom kernel, and got to the stage where it said to run this: "fakeroot make-kpkg clean" However, this command generated a bunch of errors saying this: dpkg-architecture: failure: dpkg --print

Re: _Very_ strange problem with compiling

2001-03-06 Thread Gary Hennigan
"Mark Phillips" <[EMAIL PROTECTED]> writes: > Thanks for this! I increased the stack size via "ulimit -s " > and the thick4 executable no longer crashes. > > However the curious thing is that with test.c, I thought "surely by > increasing N I could make it seg fault too" but I can't, even > > #d

Re: _Very_ strange problem with compiling

2001-03-06 Thread Mark Phillips
Peter Kovacs [EMAIL PROTECTED] wrote: > The problem is: you're simply asking for too much stack space. On my > machine, ulimit -s reports 8129 (that's in Kilobytes). When I write a > seperate program such as: > > #include > > void main(int argc, char **argv) > { > double a[209677]; >

Re: _Very_ strange problem with compiling

2001-03-06 Thread Xucaen
I just compiled it with gcc 2.95 and it compiled and ran fine.. very strange xucaen --- Mark Phillips <[EMAIL PROTECTED]> wrote: > Hi, > > I thought I'd found a gcc compiler error (and > still may have). The > following program crashes with a segmentation > fault. > > #define N 209677 > >

Re: _Very_ strange problem with compiling

2001-03-06 Thread MaD dUCK
also sprach Mark Phillips (on Wed, 07 Mar 2001 03:18:56AM +1030): > -rwxrwxr-x1 mark mark 4731 Mar 7 02:53 test* > -rw-rw-r--1 mark mark 162 Mar 7 02:53 test.c > -rwxrwxr-x1 mark mark 4733 Mar 7 02:53 thick4* > -rw-r--r--1 mark mark

Re: _Very_ strange problem with compiling

2001-03-06 Thread Peter Kovacs
I don't think this is a GCC error because gcc compiles this program successfully. The problem is: you're simply asking for too much stack space. On my machine, ulimit -s reports 8129 (that's in Kilobytes). When I write a seperate program such as: #include void main(int argc, char **argv) {

_Very_ strange problem with compiling

2001-03-06 Thread Mark Phillips
Hi, I thought I'd found a gcc compiler error (and still may have). The following program crashes with a segmentation fault. #define N 209677 int main(int argv, char **argc) { int i; double a[N], b[N], c[N], d[N], e[N]; c[0]=0.0; i=1; c[i]=c[i-1]; } If I make

Re: Problem with compiling my first GTK program

2001-02-02 Thread Andrew Wettstein
On Fri, Feb 02, 2001 at 06:52:51PM -0500, Francois Fayard wrote: > > [EMAIL PROTECTED]:~/GTK/ESSAI$ gcc base.c -o base `gtk-config --cflags > --libs` > /usr/bin/ld: cannot find -lXi > collect2: ld returned 1 exit status you need xlibs-dev, but that's changed since potato, i think it was xlib6g-de

Problem with compiling my first GTK program

2001-02-02 Thread Francois Fayard
Hi, I'm trying to write a c program using GTK. I'm very new to C. When I compile the first program from the GTK Tutorial, I have : /* example-start base base.c */ #include int main( int argc, char *argv[] ) { GtkWidget *window; gtk_init (&argc, &argv); wind