Re: How to compile color database?
On 11/08/2017 10:30 PM, Richard Hector wrote: On 09/11/17 11:41, Fred wrote: Hello, After editing /usr/share/X11/rgb.txt what program needs to run to recompile the color database? According to google it should be rgb < rgb.txt but the rgb program is nowhere to be found. Is it necessary? An old manpage for xorg.conf: ftp://www.x.org/pub/X11R6.7.0/doc/xorg.conf.5.html implies that the X server may be compiled to read a plain text file, and that's all I seem to have - perhaps that's the standard way now? The current xorg.conf manpage doesn't say anything about it. Richard Hello, I compiled an older program that needs certain colors which I added to rgb.txt. However the program is not able to see the new colors although it can see colors that were already in rgb.txt. I have a Sun Ultra 10 that is running Solaris 2.6. This computer has the rgb program that takes in rgb.txt and generates two dbm files that other programs can read. It is described in the Solaris X documentation. A google search describes using the rgb program as though it is common for Unix. Maybe it isn't used any more or maybe Debian doesn't use it. I am going to try changing the program to use colors that are already in rgb.txt. Best regards, Fred
Re: How to compile color database?
On 09/11/17 11:41, Fred wrote: > Hello, > > After editing /usr/share/X11/rgb.txt what program needs to run to > recompile the color database? > > According to google it should be rgb < rgb.txt but the rgb program is > nowhere to be found. Is it necessary? An old manpage for xorg.conf: ftp://www.x.org/pub/X11R6.7.0/doc/xorg.conf.5.html implies that the X server may be compiled to read a plain text file, and that's all I seem to have - perhaps that's the standard way now? The current xorg.conf manpage doesn't say anything about it. Richard signature.asc Description: OpenPGP digital signature
How to compile color database?
Hello, After editing /usr/share/X11/rgb.txt what program needs to run to recompile the color database? According to google it should be rgb < rgb.txt but the rgb program is nowhere to be found. Best regards, Fred Boatwright
Re: Re: how to compile kernel for raspberry
thanks I understand this, but I want to compile it on debian i386 machine et use a cross-compilation: I download the source of the raspbian kernel ( I have to find it first), i want just customise this kernel and not create a new kernel from bare metal and then compile it So i need the source of raspbian kenel and the procedure to cross-compile . thanks for help
Re: how to compile kernel for raspberry
First thing: google it. I just did and found several very relevant pages. On 07/05/2015 08:02 AM, Abdelkader Belahcene wrote: thanks I understand this, but I want to compile it on debian i386 machine et use a cross-compilation: I download the source of the raspbian kernel ( I have to find it first), i want just customise this kernel and not create a new kernel from bare metal and then compile it So i need the source of raspbian kenel and the procedure to cross-compile . thanks for help -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55993529.8050...@mousecar.com
Re: Re: how to compile kernel for raspberry
I mean, compiling on th raspberry pi takes a long time. so , I want to compile it raspbian kernel, on debian i386 machine et use a cross-compilation. I want to start from raspbian as a bse , and not from zero, and just to customize the raspbian. So i need the source of raspbian kernel and the procedure to cross-compile . regards
Re: how to compile kernel for raspberry
On Sunday 05 July 2015 13:02:36 Abdelkader Belahcene wrote: thanks I understand this, but I want to compile it on debian i386 machine et use a cross-compilation: I download the source of the raspbian kernel ( I have to find it first), i want just customise this kernel and not create a new kernel from bare metal and then compile it So i need the source of raspbian kenel and the procedure to cross-compile . thanks for help Broken thread and no quoting You understand _what_? Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201507051430.37268.lisi.re...@gmail.com
Re: how to compile kernel for raspberry
On 3.7.2015 20.26, Glenn English wrote: On Jul 3, 2015, at 5:30 AM, Abdelkader Belahcene abelahc...@gmail.com wrote: I want to recompile the raspbian, please where can I find help Have a look at the Google (etc.) searches from debian kernel compile. Lots of good advice -- the first link, on my computer, is Compiling a New Kernel - Debian. But compiling a kernel on a 'Pi sounds like the better part of a couple days. I'd look into cross compiling on a computer a bit more powerful. I've never compiled on my 'Pi or cross compiled anything, but I've heard that gcc knows how to do it. I have compiled a kernel, though, and I do know it's a significant job (for the compiler). Yes, it takes some 2 days to compile the kernel using a raspi 1. However, the new raspi 2 does it in mere hours, when compiled using make -j4 Very doable. -- jarif.bit -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5597cb77.1020...@iki.fi
Re: how to compile kernel for raspberry
On Jul 3, 2015, at 5:30 AM, Abdelkader Belahcene abelahc...@gmail.com wrote: I want to recompile the raspbian, please where can I find help Have a look at the Google (etc.) searches from debian kernel compile. Lots of good advice -- the first link, on my computer, is Compiling a New Kernel - Debian. But compiling a kernel on a 'Pi sounds like the better part of a couple days. I'd look into cross compiling on a computer a bit more powerful. I've never compiled on my 'Pi or cross compiled anything, but I've heard that gcc knows how to do it. I have compiled a kernel, though, and I do know it's a significant job (for the compiler). -- Glenn English -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/34a2f850-89ad-4901-a98d-dde3eab36...@slsware.net
how to compile kernel for raspberry
Hi, I installed the rasbian on raspberry, it s ok Now, in order to customize the kernel, I want to recompile the raspbian, please where can I find help for the compiling procedure. thanks a lot regards
Re: how to compile kernel for raspberry
On Fri, Jul 03, 2015 at 12:30:25PM +0100, Abdelkader Belahcene wrote: Hi, I installed the rasbian on raspberry, it s ok Now, in order to customize the kernel, I want to recompile the raspbian, please where can I find help for the compiling procedure. Is there something missing from Raspbian's own documentation (https://www.raspbian.org/RaspbianDocumentation)? If so, the accepted course of action (according to https://www.raspbian.org/RaspbianBugs) is to file a bug at (https://bugs.launchpad.net/raspbian) requesting clearer documentation. thanks a lot regards -- For more information, please reread. signature.asc Description: Digital signature
Re: How to compile Kernel 2.6.32 on Debian Wheezy?
Hi, I am facing the same issue as yours with respect to: drivers/net/igbvf/igbvf.h:128:15: error: duplicate member 'page' make[5]: *** [drivers/net/igbvf/ethtool.o] Error 1 make[4]: *** [drivers/net/igbvf] Error 2 make[3]: *** [drivers/net] Error 2 make[2]: *** [drivers] Error 2 make[1]: *** [deb-pkg] Error 2 make: *** [deb-pkg] Error 2 How did you go about solving it? Can you please share your solution. Best Regards, Puneeth
How to compile Kernel 2.6.32 on Debian Wheezy?
Hi, I would to like to use the rtai kernel patches on Debian Wheezy (Debian-Package rtai-source) on the i386 architecture, which are currently only available for various releases of Linux 2.6. As the most recent kernel patch included in rtai-source was hal-linux-2.6.32.11-x86-2.6-03.patch.gz, I first tried to compile the vanilla kernel 2.6.32.11 with gcc-4.7 from Wheezy and using make-kpkg (with .config copied from linux-image-2.6.32-5-686). It failed compiling ptrace.c (the problem has already been described in https://lkml.org/lkml/2012/8/9/281). Using the patch from the linux-kernel-mailinglist from above the compile process got further, but it fails at gcc -nostdlib -o arch/x86/vdso/vdso32-int80.so.dbg -fPIC -shared -Wl,--hash-style=sysv -m elf_i386 -Wl,-soname=linux-gate.so.1 -Wl,-T,arch/x86/vdso/vdso32/vdso32.lds arch/x86/vdso/vdso32/note.o arch/x86/vdso/vdso32/int80.o gcc: error: unrecognized command line option '-m' gcc: error: elf_i386: No such file or directory As I am using an i386 system anyway, I simply patched -m elf_i386 away (which probably the Makefile when crosscompiling from amd64 to i386, see attached patch for details). I assume -march=i386 would be a proper replacement, but I am not sure about that. Next problem occured at compiling an Intel network driver: gcc -Wp,-MD,drivers/net/igbvf/.ethtool.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.7/include -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.7/include -Iinclude -I/home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DMODULE -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(ethtool) -DKBUILD_MODNAME=KBUILD_STR(igbvf) -c -o drivers/net/igbvf/.tmp_ethtool.o drivers/net/igbvf/ethtool.c In file included from include/linux/irq.h:29:0, from /home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/hardirq.h:5, from include/linux/hardirq.h:10, from include/linux/interrupt.h:12, from include/linux/netdevice.h:1070, from drivers/net/igbvf/ethtool.c:30: /home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/irq_regs.h: In function 'set_irq_regs': /home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/irq_regs.h:26:2: warning: variable 'tmp__' set but not used [-Wunused-but-set-variable] In file included from /home/ceet/benedikt/vanilla-linux/linux-2.6.32.11/arch/x86/include/asm/hardirq.h:5:0, from include/linux/hardirq.h:10, from include/linux/interrupt.h:12, from include/linux/netdevice.h:1070, from drivers/net/igbvf/ethtool.c:30: include/linux/irq.h: In function 'alloc_desc_masks': include/linux/irq.h:441:8: warning: variable 'gfp' set but not used [-Wunused-but-set-variable] In file included from drivers/net/igbvf/ethtool.c:36:0: drivers/net/igbvf/igbvf.h: At top level: drivers/net/igbvf/igbvf.h:128:15: error: duplicate member 'page' make[5]: *** [drivers/net/igbvf/ethtool.o] Error 1 make[4]: *** [drivers/net/igbvf] Error 2 make[3]: *** [drivers/net] Error 2 make[2]: *** [drivers] Error 2 make[1]: *** [deb-pkg] Error 2 make: *** [deb-pkg] Error 2 Of course I could find some way to go around this error, but I assume I either did something fundamentally wrong or I'll have to file a bug against some package (gcc?). Does anybody have an idea? Regards, Benedikt Wildenhain P.S.: Compiling this kernel using gcc-4.4 from oldstable works, I am currently trying to compile it together with the rtai-patches, but that doesn't feel like the way rtai-source is meant to be used. -- Benedikt Wildenhain, M.Sc., Wiss. Mitarbeiter - Hardwarenahe IT-Systeme Hochschule Bochum - Bochum University of Applied Sciences Campus Velbert/Heiligenhaus - http://www.hs-bochum.de/cvh/ Höseler Platz 2, Heiligenhaus, Raum 2.28, Tel +49 (0)2056 158744 --- a/arch/x86/vdso/Makefile 2013-10-22 14:14:38.0 +0200 +++ b/arch/x86/vdso/Makefile 2013-10-22 14:14:09.0 +0200 @@ -69,7 +69,7 @@ vdso32-images = $(vdso32.so-y:%=vdso32-%.so) CPPFLAGS_vdso32.lds = $(CPPFLAGS_vdso.lds) -VDSO_LDFLAGS_vdso32.lds = -m elf_i386 -Wl,-soname=linux-gate.so.1 +VDSO_LDFLAGS_vdso32.lds = -Wl,-soname=linux-gate.so.1 # This makes sure the $(obj) subdirectory
Re: How to compile Kernel 2.6.32 on Debian Wheezy?
If I compile patched kernels and something unneeded can't build, I simply disable it by the configuration. I don't know if it's possible in your case, but I would test it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1382473127.3610.13.camel@archlinux
Re: Does anyone know how to Compile Mythtv 0.23.1 on current testing with qt 4.7 - SOLVED
On Sun, Oct 16, 2011 at 8:50 AM, S Scharf ss11...@gmail.com wrote: I recently upgraded my desktop hardware and installed the current testing distribution, but by myth backend server is still running old-stable. The last debian-multimedia release of myth for old-stable was 0.23.1 which is incompatible with running the available 0.24 front end on testing. I have tried to compile the myth source of 0.23.1 on testing, but it fails due to changes in the QT library. (Problems with overloaded functions and templates). Does anyone know how to patch 0.23.1 so it will compile on the current testing (with the current qt 4.7 release)? Thanks Stuart I finally found the needed changes by referring to the 0.24 build. ( the main problem was figuring out which files had the changes, I originally missed one file). Stuart
Does anyone know how to Compile Mythtv 0.23.1 on current testing with qt 4.7
I recently upgraded my desktop hardware and installed the current testing distribution, but by myth backend server is still running old-stable. The last debian-multimedia release of myth for old-stable was 0.23.1 which is incompatible with running the available 0.24 front end on testing. I have tried to compile the myth source of 0.23.1 on testing, but it fails due to changes in the QT library. (Problems with overloaded functions and templates). Does anyone know how to patch 0.23.1 so it will compile on the current testing (with the current qt 4.7 release)? Thanks Stuart
Re: Does anyone know how to Compile Mythtv 0.23.1 on current testing with qt 4.7
On Sun, Oct 16, 2011 at 08:50:41AM -0400, S Scharf wrote: I recently upgraded my desktop hardware and installed the current testing distribution, but by myth backend server is still running old-stable. The last debian-multimedia release of myth for old-stable was 0.23.1 which is incompatible with running the available 0.24 front end on testing. I did a dist-upgrade from Lenny to Squeeze on my myth backend, and it ran without issues. But I know that can be a scary prospect... -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111016142526.ga21...@aurora.owens.net
Re: Does anyone know how to Compile Mythtv 0.23.1 on current testing with qt 4.7
On Sun, Oct 16, 2011 at 08:50:41AM -0400, S Scharf wrote: I recently upgraded my desktop hardware and installed the current testing distribution, but by myth backend server is still running old-stable. The last debian-multimedia release of myth for old-stable was 0.23.1 which is incompatible with running the available 0.24 front end on testing. I have tried to compile the myth source of 0.23.1 on testing, but it fails due to changes in the QT library. (Problems with overloaded functions and templates). Does anyone know how to patch 0.23.1 so it will compile on the current testing (with the current qt 4.7 release)? Thanks Stuart Just use debian multimedia: deb ftp://ftp.debian-multimedia.org squeeze main -- Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 signature.asc Description: Digital signature
Re: Does anyone know how to Compile Mythtv 0.23.1 on current testing with qt 4.7
On Sun, Oct 16, 2011 at 10:25 AM, Rob Owens row...@ptd.net wrote: On Sun, Oct 16, 2011 at 08:50:41AM -0400, S Scharf wrote: I recently upgraded my desktop hardware and installed the current testing distribution, but by myth backend server is still running old-stable. The last debian-multimedia release of myth for old-stable was 0.23.1 which is incompatible with running the available 0.24 front end on testing. I did a dist-upgrade from Lenny to Squeeze on my myth backend, and it ran without issues. But I know that can be a scary prospect... -Rob http://lists.debian.org/20111016142526.ga21...@aurora.owens.net That's not an option for me at the moment, I have too many web services running on that machine to risk it. Stuart
Re: How to compile and install the kernel
2009/10/1 surreal firewal...@gmail.com: This might seem lame but still, I would like to know about compiling a custom kernel using debian lenny. the usual /usr/src/linux-2.6.N/make menuconfig;make ;make modules_install;make bzImage;make install dosent seem to work. It only copies vmlinux* and bzImage file into /boot, but initrd and img files are missing.. why? The above method used to work perfectly in RH derived distros, in debian it seems diff... Take a look at this article, http://www.howtoforge.com/roll_a_kernel_debian_ubuntu_way Cheers, Pavlos -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: How to compile and install the kernel
2009/10/1 surreal firewal...@gmail.com: Thanks, I read that, compiled the kernel and its working. But now I have a problem. The kernel deb file gets installed, but it has got the same name ie Debian Kernel 2.6.26 in /boot/grub/menu.lst.. I want to have the customized kernel name as default, any way to do this? The following information from the article will help you To build the kernel you'll invoke make-kpkg, a script which automates and replaces the sequence make dep; make clean; make bzImage; make modules. Take a few minutes and read over the manual page for make-kpkg. The make-kpkg command line can be complex and at first intimidating. Its basic syntax is bash:/usr/src$ make-kpkg options target Your target will be kernel_image. Let's examine two of the more important and common options, --append-to-version and --revision. --append-to-version The first option lets you specify an addition to the kernel version, which then becomes part of the kernel's name. You may use alphanumeric characters, + and . (period or full stop); do not use underscore _. Here's the kernel I'm running now: bash:/usr/src$ /usr/src/$ uname -a Linux da5id 2.6.8.1-2-k7 #1 Sat Sep 18 11:23:11 BST 2004 i686 GNU/Linux You should avoid using --append-to-version values such as -686, -K7, and -sparc. They are commonly used for Debian pre-compiled kernels. Kernel modules live in subdirectories of /lib/modules; each kernel has its own subdirectory. Every time you install a kernel image with a new name, the package installer creates a new subdirectory of /lib/modules to hold its modules. This means that by using a new value for --append-to-version each time you build a kernel image, you can ensure that the new kernel will have a new name, and that its modules won't conflict with those of other kernels. /!\ If you install a kernel with the same name (the same version and --append-to-version) as an already-installed kernel, installing the new kernel package will overwrite the old kernel and its modules. You will be warned and offered the chance to abort. Take it. Use another value for --append-to-version and rebuild. --revision Another make-kpkg option is --revision, which affects the name of the Debian package itself but not the kernel name. As with --append-to-version, you may use only alphanumeric characters, + and .. Do not use underscores _. If you do not supply a value for --revision, make-kpkg will use 10.00.Custom. Using different values of --revision will not prevent conflicts between kernels with the same name. They are just for you to see the difference, for example recompiling the same kernel with a very small change. Kernel package names Debian kernel-image file names have the form kernel-image-(kernel-version)(--append-to-version)_(--revision)_(architecture).deb The package name is everything before the first underscore. bash:/usr/src$ ls kernel-image-2.6.8.1.181004_10.00.Custom_i386.deb Now you can see why underscores are not allowed in make-kpkg options ? they separate the elements of package names. I recommend using a different --append-to-version value for each kernel you compile, and letting make-kpkg assign the default revision. Date-based values work for me, but you are free to invent your own scheme. {i} Please read /usr/share/doc/kernel-package/README.gz if --append-to-version or --revision is unclear, or if you plan on using options different from the ones I suggest. (One way to do this is zless README.gz.) Ignore the discussions of flavours and epochs until you are more familiar with make-kpkg and with Debian packages generally; they are not likely to be useful to you now. fakeroot -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
How to compile and install the kernel
This might seem lame but still, I would like to know about compiling a custom kernel using debian lenny. the usual /usr/src/linux-2.6.N/make menuconfig;make ;make modules_install;make bzImage;make install dosent seem to work. It only copies vmlinux* and bzImage file into /boot, but initrd and img files are missing.. why? The above method used to work perfectly in RH derived distros, in debian it seems diff... Please respond. -- Harshad Joshi
How to compile and install the kernel
This might seem lame but still, I would like to know about compiling a custom kernel using debian lenny. the usual /usr/src/linux-2.6.N/make menuconfig;make ;make modules_install;make bzImage;make install dosent seem to work. It only copies vmlinux* and bzImage file into /boot, but initrd and img files are missing.. why? The above method used to work perfectly in RH derived distros, in debian it seems diff... Please respond. How to provide a kernel a specific name? -- Harshad Joshi -- Harshad Joshi
Re: How to compile and install the kernel
On Wed, Sep 30, 2009 at 20:17, surreal firewal...@gmail.com wrote: This might seem lame but still, I would like to know about compiling a custom kernel using debian lenny. the usual /usr/src/linux-2.6.N/make menuconfig;make ;make modules_install;make bzImage;make install dosent seem to work. It only copies vmlinux* and bzImage file into /boot, but initrd and img files are missing.. why? The above method used to work perfectly in RH derived distros, in debian it seems diff... Something like that should work, I have done it before, but you can do it the Debian Way, and get an actual .deb, as well as saving some steps. http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-building Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: How to compile and install the kernel
On Thu, 1 Oct 2009 08:18:33 +0500 surreal firewal...@gmail.com wrote: This might seem lame but still, I would like to know about compiling a custom kernel using debian lenny. the usual /usr/src/linux-2.6.N/make menuconfig;make ;make modules_install;make bzImage;make install dosent seem to work. It only copies vmlinux* and bzImage file into /boot, but initrd and img files are missing.. why? The above method used to work perfectly in RH derived distros, in debian it seems diff... The kernel install scripts merely install the kernel; they don't create initrds. For that, you need a separate tool; the standard on Debian is initramfs-tools. Make sure that it's installed, and check out 'man update-initramfs'. And as someone else points out, the Debian Way is to use kernel-package. ... How to provide a kernel a specific name? In the kernel config, there's an 'append to kernel' string that you can set, and there's also a revision string you can set when using kernel-package. There are probably other things you can do, too. Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
how to compile gtk+ programs?
I'm trying to build a sample gtk+ program on debian sid amd64, by following the tutorial from gtk.org, but get this error: Desktop:~/eclipseworkspace/DebianCPlus/src# gcc -o Gtk Gtk.c `pkg-config --libs --cflags gtk+2.0` Package gtk+2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+2.0' found I have installed libgtk2.0-dev, how to resolve the error? thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: how to compile gtk+ programs?
On Sun, Mar 8, 2009 at 5:24 PM, Star Liu minxinjian...@gmail.com wrote: I'm trying to build a sample gtk+ program on debian sid amd64, by following the tutorial from gtk.org, but get this error: Desktop:~/eclipseworkspace/DebianCPlus/src# gcc -o Gtk Gtk.c `pkg-config --libs --cflags gtk+2.0` Package gtk+2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+2.0' found I have installed libgtk2.0-dev, how to resolve the error? thanks. i have got it, it should be gtk+-2.0, not gtk+2.0 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
How to compile modules in a Xen domU
Hi, I've installed Debian Etch with Dom0: Linux dom0 2.6.18-6-xen-amd64 #1 SMP Wed Jan 23 08:01:39 UTC 2008 x86_64 GNU/Linux And DomU: Linux xentest 2.6.18-6-xen-amd64 #1 SMP Wed Jan 23 08:01:39 UTC 2008 x86_64 GNU/Linux I need to compile some kernel modules for the domU (v4l-dvb), but have some problems figuring out how to setup the environment. If I (in the domU) do a make menuconfig I get the following: make menuconfig make -C /root/v4l-dvb/v4l menuconfig make[1]: Entering directory `/root/v4l-dvb/v4l' ./scripts/make_kconfig.pl /lib/modules/2.6.18-6-xen-amd64/build /lib/modules/2.6.18-6-xen-amd64/source Preparing to compile for kernel version 2.6.18 File not found: /lib/modules/2.6.18-6-xen-amd64/build/.config at ./scripts/make_kconfig.pl line 32, IN line 4. make[1]: *** [Kconfig] Error 2 make[1]: Leaving directory `/root/v4l-dvb/v4l' make: *** [menuconfig] Error 2 I have the following packages installed, but I'm a little confused as which versions supports the xen-amd64 version. dpkg-query -W -f='${Package}\n' *2.6.18* linux-headers-2.6.18-6 linux-headers-2.6.18-6-amd64 linux-headers-2.6.18-6-xen linux-kbuild-2.6.18 linux-source-2.6.18 xentest:/usr/src# dpkg --list|grep 2.6.18 ii linux-headers-2.6-amd64 2.6.18+6etch3Header files for Linux 2.6 on AMD64 ii linux-headers-2.6.18-6 2.6.18.dfsg.1-17etch1Common header files for Linux 2.6.18 ii linux-headers-2.6.18-6-amd64 2.6.18.dfsg.1-17etch1Header files for Linux 2.6.18 on AMD64 ii linux-headers-2.6.18-6-xen 2.6.18.dfsg.1-17etch1Common header files for Linux 2.6.18 ii linux-kbuild-2.6.18 2.6.18-1 Kbuild infrastructure for Linux 2.6.18 ii linux-kernel-headers 2.6.18-7 Linux Kernel Headers for development ii linux-source-2.6.18 2.6.18.dfsg.1-17etch1Linux kernel source for version 2.6.18 with xentest:/lib/modules/2.6.18-6-xen-amd64# ls -al total 1356 drwxr-xr-x 3 root root 4096 Feb 2 14:06 . drwxr-xr-x 5 root root 4096 Jan 29 22:05 .. lrwxrwxrwx 1 root root 14 Feb 2 14:06 build - /usr/src/linux drwxr-xr-x 9 root root 4096 Jan 29 21:44 kernel lrwxrwxrwx 1 root root 14 Feb 2 14:06 linux - /usr/src/linux -rw-r--r-- 1 root root 296604 Jan 29 21:45 modules.alias -rw-r--r-- 1 root root 69 Jan 29 21:45 modules.ccwmap -rw-r--r-- 1 root root 303531 Jan 29 21:45 modules.dep -rw-r--r-- 1 root root813 Jan 29 21:45 modules.ieee1394map -rw-r--r-- 1 root root712 Jan 29 21:45 modules.inputmap -rw-r--r-- 1 root root 17450 Jan 29 21:45 modules.isapnpmap -rw-r--r-- 1 root root 74 Jan 29 21:45 modules.ofmap -rw-r--r-- 1 root root 240703 Jan 29 21:45 modules.pcimap -rw-r--r-- 1 root root 1009 Jan 29 21:45 modules.seriomap -rw-r--r-- 1 root root 128065 Jan 29 21:45 modules.symbols -rw-r--r-- 1 root root 334496 Jan 29 21:45 modules.usbmap lrwxrwxrwx 1 root root 28 Feb 2 10:17 source - /usr/src/linux-source-2.6.18 xentest:/usr/src# ls -al total 28 drwxrwsr-x 7 root src 4096 Feb 2 14:12 . drwxr-xr-x 10 root root 4096 Jan 29 22:03 .. lrwxrwxrwx 1 root src36 Feb 2 14:12 linux - /usr/src/linux-headers-2.6.18-6-xen/ drwxr-xr-x 17 root root 4096 Feb 2 10:14 linux-headers-2.6.18-6 drwxr-xr-x 4 root root 4096 Feb 2 10:14 linux-headers-2.6.18-6-amd64 drwxr-xr-x 18 root root 4096 Feb 2 14:13 linux-headers-2.6.18-6-xen drwxr-xr-x 3 root root 4096 Feb 2 10:14 linux-kbuild-2.6.18 drwxr-xr-x 19 root root 4096 Jan 22 17:43 linux-source-2.6.18 Any pointers to what may be wrong? /Jeppe
Re: how to compile a xen dom0 kernel the debian way
Hi Jonas, On Fri, Sep 07, 2007 at 04:33:43AM +0200, Jonas Meurer wrote: hello, i would like to give xen a try, but i didn't manage to compile a dom0 host kernel yet. Do you need to? What is wrong with Debian's xen kernels? that's because i would like to use a recent linux kernel (2.6.20 at least), build it the debian way (with make-kpkg), and as well build some external modules (nvidia-legacy-96xx, ivtv) with module-assistent for it. You can't use a kernel.org kernel, as the xen feature is a patch developed external to the mainline kernel. You can use the normal Debian kernel source and compile like you would normally, making sure to select the xen patch. This will result in a kernel you can use with module-assistant. But you can use module-assistant with the stock debian xen kernel so I am not clear as tp why you need to do this. so how do you compile a xen dom0 host-kernel? is it possible with recent kernel sources, and where do i find the corresponding xen patches? They come with Debian's kernel source. Cheers, Andy -- http://bitfolk.com/ -- No-nonsense VPS hosting Encrypted mail welcome - keyid 0x604DE5DB signature.asc Description: Digital signature
Re: how to compile a xen dom0 kernel the debian way
On 09/09/2007 Andy Smith wrote: Hi Jonas, Hey Andi, i would like to give xen a try, but i didn't manage to compile a dom0 host kernel yet. Do you need to? What is wrong with Debian's xen kernels? I don't think that there's anything wrong with debian's default kernels, but I always use a selfcompiled kernel, and I'dd like to learn howto compile a xen dom0 kernel as well. Additionally it seems like current debian/unstable has no precompiled xen dom0 linux-images, at least for amd64 (x86_64): # apt-cache search linux-image | grep xen # that's because i would like to use a recent linux kernel (2.6.20 at least), build it the debian way (with make-kpkg), and as well build some external modules (nvidia-legacy-96xx, ivtv) with module-assistent for it. You can't use a kernel.org kernel, as the xen feature is a patch developed external to the mainline kernel. That's clear, but I could use a kernel.org kernel and patch it with the corresponding xen patch, right? You can use the normal Debian kernel source and compile like you would normally, making sure to select the xen patch. Unfortunately, this simply doesn't work. If I run 'make menuconfig' in debians linux-source-2.6.22 sources, I don't get any xen options in the submenu 'processor-type and features'. so how do you compile a xen dom0 host-kernel? is it possible with recent kernel sources, and where do i find the corresponding xen patches? They come with Debian's kernel source. Then maybe they come only for i386? As already written, on my amd64 system, I cannot find any xen options in debians linux-source-2.6.22. greetings, jonas signature.asc Description: Digital signature
Re: how to compile a xen dom0 kernel the debian way
Hi Jonas, On Sun, Sep 09, 2007 at 03:03:09PM +0200, Jonas Meurer wrote: On 09/09/2007 Andy Smith wrote: Hi Jonas, Hey Andi, i would like to give xen a try, but i didn't manage to compile a dom0 host kernel yet. Do you need to? What is wrong with Debian's xen kernels? I don't think that there's anything wrong with debian's default kernels, but I always use a selfcompiled kernel, and I'dd like to learn howto compile a xen dom0 kernel as well. Okay. Well It has been a long time (6 months+) since I did this as these days the stock debian xen kernels are fine for me, but.. You can use the normal Debian kernel source and compile like you would normally, making sure to select the xen patch. Unfortunately, this simply doesn't work. If I run 'make menuconfig' in debians linux-source-2.6.22 sources, I don't get any xen options in the submenu 'processor-type and features'. So you have also installed linux-patch-debian-* and then done: $ sudo make-kpkg --added-patches xen clean $ sudo make-kpkg --added-patches xen kernel-image ? Also back when I did it, this bug was present and needed the described workaround: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382699 That is what I mean by making sure to select the xen patch. It's the same process as used for making your own linux-vserver kernel. If you still have problems I would recommend the debian xen package mailing list. Cheers, Andy -- http://bitfolk.com/ -- No-nonsense VPS hosting Encrypted mail welcome - keyid 0x604DE5DB signature.asc Description: Digital signature
Re: how to compile a xen dom0 kernel the debian way
On 09/09/2007 Andy Smith wrote: Hi Jonas, Hi Andy, You can use the normal Debian kernel source and compile like you would normally, making sure to select the xen patch. Unfortunately, this simply doesn't work. If I run 'make menuconfig' in debians linux-source-2.6.22 sources, I don't get any xen options in the submenu 'processor-type and features'. So you have also installed linux-patch-debian-* and then done: $ sudo make-kpkg --added-patches xen clean $ sudo make-kpkg --added-patches xen kernel-image Also back when I did it, this bug was present and needed the described workaround: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382699 Yes, exactly. Actually I do have some more options to make-kpkg: # make-kpkg --rootcmd fakeroot --initrd --append-to-version \ -1-amd64-xen --revision 2.6.22-4 --added-patches xen clean # make-kpkg --rootcmd fakeroot --initrd --append-to-version \ -1-amd64-xen --revision 2.6.22-4 --added-patches xen kernel_image And indeed some patches seem to be applied (see below). But i still don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches are for i386 only and not ported to amd64 yet? That would also explain why no linux-image-2.6.22-2-xen-amd64 package exists in debian/unstable. output of 'make-kpkg ... --added-patches xen kernel_image': [...] test ! -f applied_patches || rm -f applied_patches for patch in /usr/src/kernel-patches/all/2.6.22/apply/xen ; do\ if test -x $patch; then\ if $patch; then \ echo Patch $patch processed fine; \ echo $patch applied_patches; \ else \ echo Patch $patch failed.; \ echo Hit return to Continue; \ read ans; \ fi; \ fi; \ done Applying debian patch with xen parts Warning: Can't find series file for 3 (.) IGNORED bugfix/arm/nas100d-pata-artop-single-port.patch (.) IGNORED bugfix/m68k/falconide_intr_lock-reentrant.diff (.) IGNORED bugfix/m68k/633-atari_scc.diff (.) IGNORED bugfix/m68k/130-adbraw.diff (.) IGNORED bugfix/m68k/141-ide.diff (.) IGNORED bugfix/m68k/143-ioext.diff (.) IGNORED bugfix/m68k/149-mc68681.diff (.) IGNORED bugfix/m68k/152-pci.diff (.) IGNORED bugfix/m68k/448-ide.diff (.) IGNORED bugfix/m68k/478-serial.diff (.) IGNORED bugfix/m68k/atari-rom-isa.diff (.) IGNORED bugfix/m68k/atari-ethernec.diff (.) IGNORED bugfix/m68k/unnecessary-m68k_memoffset.diff (.) IGNORED bugfix/m68k/atari-aranym.diff (.) IGNORED bugfix/m68k/ethernec-work.diff (.) IGNORED bugfix/m68k/nfeth-virt_to_phys.diff (.) IGNORED bugfix/m68k/ethernec-kill-ETHERNEC_USE_POLL.diff (.) IGNORED bugfix/m68k/m68k-generic-io.diff (.) IGNORED bugfix/m68k/m68k-mvme-scsi-rename.diff (.) IGNORED bugfix/m68k/m68k-53c700-scsi.diff (.) IGNORED bugfix/m68k/via-pmu68k-dead-code.diff (.) IGNORED bugfix/m68k/dmasound_paula.diff (.) IGNORED bugfix/m68k/disable-mac-broken-config-options.diff -- 1 fully applied. (.) IGNORED bugfix/m68k/falconide_intr_lock-reentrant.diff (.) IGNORED bugfix/m68k/m68k-page.h-needs-compiler.h.diff (.) IGNORED bugfix/m68k/630-extern-cleanup.diff.1 (.) IGNORED bugfix/m68k/m68k-use-_AC.diff (.) IGNORED bugfix/m68k/m68k-amiga-z2ram-kill-TRUE-FALSE.diff (.) IGNORED bugfix/m68k/add-termios2.diff (.) IGNORED bugfix/m68k/m68k-arbitary-speed-tty-support.diff (.) IGNORED bugfix/m68k/m68k-do-not-include-RODATA-in-text-segment.diff (.) IGNORED bugfix/m68k/m68k-53c700-cleanups.diff (.) IGNORED bugfix/m68k/split-amiga7xx.diff (.) IGNORED bugfix/m68k/m68k-scsi-Kconfig-hickups.diff (.) IGNORED bugfix/m68k/zorro_config_attr-read-only.diff (.) IGNORED bugfix/m68k/zorro-module-device-table.diff (.) IGNORED bugfix/m68k/falconide_intr_lock-ratelimit.diff (.) IGNORED bugfix/m68k/debian-2.6.21-2-rom-isa.diff -- 2 fully applied. (.) IGNORED features/all/vserver/vs2.2.0.3.patch (.) IGNORED features/all/vserver/bindmount-dev.patch -- 4 fully applied. Patch /usr/src/kernel-patches/all/2.6.22/apply/xen processed fine echo done stamp-patch [...] greetings, jonas signature.asc Description: Digital signature
how to compile a xen dom0 kernel the debian way
hello, i would like to give xen a try, but i didn't manage to compile a dom0 host kernel yet. that's because i would like to use a recent linux kernel (2.6.20 at least), build it the debian way (with make-kpkg), and as well build some external modules (nvidia-legacy-96xx, ivtv) with module-assistent for it. in irc (#xen or ##xen) i was told to use the ubuntu linux-source-2.6.22 2.6.22-10.30 package, and according to the changelog it should contain xen patches, but unfortunately a 'make menuconfig' in the sources didn't give any xen options in 'processor-type and features'. so how do you compile a xen dom0 host-kernel? is it possible with recent kernel sources, and where do i find the corresponding xen patches? thanks in advance, jonas signature.asc Description: Digital signature
Re: How to compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. It sounds to me like you did something wrong with the etch install. Etch AMD64 most certainly has gnome and KDE. As for compiling things, the first thing you should install if you want to compile things is build-essential. It is a meta-package that will pull in most of the tools you need. aptitude (or apt-get) install build-essential (Ok, you experts, this is us user-friendly way so don't yell at me for not telling him to get each package individually) Joe Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGChKHiXBCVWpc5J4RAjoaAJ9TosP747+n8/jGWv40kNdA3J/pBACfZE6R rRRWYXsKf6QIEAnGrFTdMN0= =baha -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue ... you wrote I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. ... later you wrote in answer to this I'm running etch-amd64 as I type this in kmail.. ;) Do you mean you have KDE in Etch AMD64? I'm not too sure I understand the first part, with it's implied 'problem'. I have an AMD64 machine, ... I have installed, and have running Etch (in 64 bit mode) and also have KDE and GNOME desktops (and packages) installed. (I'm in Gnome now as I type this) I did have some difficulties with the new BIOS on the machine and how it was interrogating the SATA with SMART, and also with getting the full GLX 3d acceleration to work with my NVIDIA chipset BUT they are not what I believe you are seeing as the 'problem'. I didn't have any problems getting Gnome and KDE to install and work. What 'problem' are you anticipating? From my experience they both work fine (albeit the new NVIDIA driver upsets KDE colours if you switch between them... but that again is not a fault of the kernel (AFAIK). Ian Thank you for replying, Ian. I'm most surely mistaken on what I said, I have been corrected several times. I now have the 32 bit version and I have managed to make my wireless nic work, so, perhaps I'll think twice to change. In any case, I did something wrong when installing the 64 bit version. Teilhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue, 27 Mar 2007 22:56:03 -0600 Teilhard Knight [EMAIL PROTECTED] wrote: Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. What is the chipset used by your wireless card? You can find this info by looking at the output of lspci -v command. Most likely you need to use module-assistant to compile drivers for your wireless cards. I didn't use that command, but I know that my wireless nic's chip is Atmel. Do I need module-assistant? Where do I find it? How do I use it? The driver (at76c50x) is apparently in 2.6 kernels (no m-a necessary). You'll need firmware; see the atmel-firmware (in non-free) package. Celejar Thank you for your feedback. The module is called now at76_usb, at least the Berlios one. I have already compiled it and installed it and now my wireless nic is working. Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue March 27 2007 21:50, Teilhard Knight wrote: I'm running etch-amd64 as I type this in kmail.. ;) Do you mean you have KDE in Etch AMD64? Yes, even sarge-amd64 has kde and gnome and a few others. My wireless nic uses the madwifi driver so I install it with module-assistant. How do I find and use module assistant? m-a is a standard debian package, just apt-get install module-assistant should get it for you, or select it with aptitude, dselect, syaptic or adept. Once it's installed m-a prepare will setup your box with all the stuff you need to compile kernels then m-a a-i madwifi will get the madwifi source and build and install the madwifi module. You may need a different driver for your card. That should keep you out of trouble for a while.. ;) Hollar if you need help.. :) Thanks very much for your help, Alan. I do not have experience working with the module-assistant, so I had a look at it and got lost very soon. I followed the traditional make, make install path for my tarball and was able to install my module and make my nic work. Your help was appreciated. Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. It sounds to me like you did something wrong with the etch install. Etch AMD64 most certainly has gnome and KDE. As for compiling things, the first thing you should install if you want to compile things is build-essential. It is a meta-package that will pull in most of the tools you need. aptitude (or apt-get) install build-essential (Ok, you experts, this is us user-friendly way so don't yell at me for not telling him to get each package individually) Thanks a lot for your feedback, Joe. I wouldn't had been able to compile my module without your help. I have now wireless internet in my box which is just cool. Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to compile
I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teilhard Knight escribió: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. apt-get install gcc Jose Luis, - -- ghostbar @ linux/debian 'sid' x86 - #382503 WeBlog: http://ghostbar.ath.cx/ - http://talug.org.ve http://debian.org.ve - irc.debian.org #debian-ve San Cristóbal, Venezuela. Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA B118 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGCdj1OKCtW8rKsRgRAmprAKCieCzIMdFIthWXUWiBrnhAXR8uFgCfT3zx Kk7xG7LxLdsxhLGDTxS+FNk= =6C52 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue March 27 2007 19:05, Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. I'm running etch-amd64 as I type this in kmail.. ;) Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? My wireless nic uses the madwifi driver so I install it with module-assistant. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. What is the chipset used by your wireless card? You can find this info by looking at the output of lspci -v command. Most likely you need to use module-assistant to compile drivers for your wireless cards. raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Teilhard Knight escribió: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. apt-get install gcc Jose Luis, Thank you so much, Jose Luis. Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
I'm running etch-amd64 as I type this in kmail.. ;) Do you mean you have KDE in Etch AMD64? snip My wireless nic uses the madwifi driver so I install it with module-assistant. How do I find and use module assistant? Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. What is the chipset used by your wireless card? You can find this info by looking at the output of lspci -v command. Most likely you need to use module-assistant to compile drivers for your wireless cards. I didn't use that command, but I know that my wireless nic's chip is Atmel. Do I need module-assistant? Where do I find it? How do I use it? Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue ... you wrote I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. ... later you wrote in answer to this I'm running etch-amd64 as I type this in kmail.. ;) Do you mean you have KDE in Etch AMD64? I'm not too sure I understand the first part, with it's implied 'problem'. I have an AMD64 machine, ... I have installed, and have running Etch (in 64 bit mode) and also have KDE and GNOME desktops (and packages) installed. (I'm in Gnome now as I type this) I did have some difficulties with the new BIOS on the machine and how it was interrogating the SATA with SMART, and also with getting the full GLX 3d acceleration to work with my NVIDIA chipset BUT they are not what I believe you are seeing as the 'problem'. I didn't have any problems getting Gnome and KDE to install and work. What 'problem' are you anticipating? From my experience they both work fine (albeit the new NVIDIA driver upsets KDE colours if you switch between them... but that again is not a fault of the kernel (AFAIK). Ian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue, 27 Mar 2007 22:56:03 -0600 Teilhard Knight [EMAIL PROTECTED] wrote: Teilhard Knight wrote: I have an AMD64 box and I was looking to install the AMD64 Etch port. Only problem with that is that I want either Gnome or preferably KDE to go with it, and that port doesn't include those environments. Then I went 32 bit and installed the KDE version of i386. Now, I want to compile my driver module for my wireless nic. I am ready with everything, except that I do not know what packages I should install in Debian in order to be able to compile. I tries naively supposing I could compile out of the box and it failed. Could you help? Teilhard. What is the chipset used by your wireless card? You can find this info by looking at the output of lspci -v command. Most likely you need to use module-assistant to compile drivers for your wireless cards. I didn't use that command, but I know that my wireless nic's chip is Atmel. Do I need module-assistant? Where do I find it? How do I use it? The driver (at76c50x) is apparently in 2.6 kernels (no m-a necessary). You'll need firmware; see the atmel-firmware (in non-free) package. Celejar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile
On Tue March 27 2007 21:50, Teilhard Knight wrote: I'm running etch-amd64 as I type this in kmail.. ;) Do you mean you have KDE in Etch AMD64? Yes, even sarge-amd64 has kde and gnome and a few others. My wireless nic uses the madwifi driver so I install it with module-assistant. How do I find and use module assistant? m-a is a standard debian package, just apt-get install module-assistant should get it for you, or select it with aptitude, dselect, syaptic or adept. Once it's installed m-a prepare will setup your box with all the stuff you need to compile kernels then m-a a-i madwifi will get the madwifi source and build and install the madwifi module. You may need a different driver for your card. That should keep you out of trouble for a while.. ;) Hollar if you need help.. :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge's stock kernel
On Thu, 2006-08-10 at 22:58 -0700, Serena Cantor wrote: I am not satisfied with sarge's stock kernel 2.4.27-2-386 because : CONFIG_SCSI_AHA152X=m I want to change it to Y, so I need recompile it and wish to use all its existing modules. What's the easist way to do it? Thanks! why dont you just add aha152x to your initrd and be a happy camper. echo aha152x /etc/mkinitrd/modules dpkg-reconfigure kernel-image-2.4.27-2-386 if you insist on recompiling you can find the config used for the kernel in /boot/config-[version] alter that one line and you should have a stock kernel with your change aplied. consider using the kernel-package tools to make your kernel a .deb that's easier to install/remove/upgrade then manual kernels ronny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
(solved)Re: how to compile sarge's stock kernel
You are right. I needn't recompile kernel. I follow your instructions, and it works! Thanks! --- Ronny Aasen [EMAIL PROTECTED] wrote: On Thu, 2006-08-10 at 22:58 -0700, Serena Cantor wrote: I am not satisfied with sarge's stock kernel 2.4.27-2-386 because : CONFIG_SCSI_AHA152X=m I want to change it to Y, so I need recompile it and wish to use all its existing modules. What's the easist way to do it? Thanks! why dont you just add aha152x to your initrd and be a happy camper. echo aha152x /etc/mkinitrd/modules dpkg-reconfigure kernel-image-2.4.27-2-386 if you insist on recompiling you can find the config used for the kernel in /boot/config-[version] alter that one line and you should have a stock kernel with your change aplied. consider using the kernel-package tools to make your kernel a .deb that's easier to install/remove/upgrade then manual kernels ronny __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
how to compile sarge's stock kernel
I am not satisfied with sarge's stock kernel 2.4.27-2-386 because : CONFIG_SCSI_AHA152X=m I want to change it to Y, so I need recompile it and wish to use all its existing modules. What's the easist way to do it? Thanks! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: how to compile sarge's default kernel
No it looks for modules in the -386 directory, as long as you try to compile the -386 kernel sources -Original Message- From: Serena Cantor [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 4:46 PM To: debian-user@lists.debian.org Subject: how to compile sarge's default kernel I load /boot/config-2.4.27-2-386 to xconfig, and compile it, will the kernel be the same as /boot/vmlinuz-2.4.27-2-386? I'm afraid my kernel will look for modules in /lib/modules/2.4.27, not in /lib/modules/2.4.27-2-386 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] NOTICE: This email contains privileged and confidential information and is intended only for the individual to whom it is addressed. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this transmission by mistake and delete this communication from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. AVIS: Le présent courriel contient des renseignements de nature privilégiée et confidentielle et nest destiné qu'à la personne à qui il est adressé. Si vous nêtes pas le destinataire prévu, vous êtes par les présentes avisés que toute diffusion, distribution ou reproduction de cette communication est strictement interdite. Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement lexpéditeur et le supprimer de votre système. Notez que la transmission de courriel ne peut en aucun cas être considéré comme inviolable ou exempt derreur puisque les informations quil contient pourraient être interceptés, corrompues, perdues, détruites, arrivées en retard ou incomplètes ou contenir un virus.
how to compile sarge's default kernel
I load /boot/config-2.4.27-2-386 to xconfig, and compile it, will the kernel be the same as /boot/vmlinuz-2.4.27-2-386? I'm afraid my kernel will look for modules in /lib/modules/2.4.27, not in /lib/modules/2.4.27-2-386 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge's default kernel
Hello Serena, Hope the link below can be of help. http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html regards peter colton On Monday 19 June 2006 21:45, Serena Cantor wrote: I load /boot/config-2.4.27-2-386 to xconfig, and compile it, will the kernel be the same as /boot/vmlinuz-2.4.27-2-386? I'm afraid my kernel will look for modules in /lib/modules/2.4.27, not in /lib/modules/2.4.27-2-386 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge's default kernel
Sounds too complicated, I'd rather give up. Thanks anyway! --- Peter Colton [EMAIL PROTECTED] wrote: Hello Serena, Hope the link below can be of help. http://qref.sourceforge.net/Debian/reference/ch-kernel.en.html regards peter colton On Monday 19 June 2006 21:45, Serena Cantor wrote: I load /boot/config-2.4.27-2-386 to xconfig, and compile it, will the kernel be the same as /boot/vmlinuz-2.4.27-2-386? I'm afraid my kernel will look for modules in /lib/modules/2.4.27, not in /lib/modules/2.4.27-2-386 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge kernel 2.4.27-2
--- Sumo Wrestler (or just ate too much) [EMAIL PROTECTED] wrote: Serena Cantor wrote: I want to customize sarge kernel 2.4.27-2, so I install kernel-build-2.4.27-2, then [...] scripts/Configure: line 556: arch/i386/config.in: No such file or directory make: *** [config] Error 1 What's wrong? Your reply will be appreciated! It sounds like you need the kernel-source. Yes. The /usr/src directory should have a linux-like subdirectory. Robert Tim Kopp http://analytic.tripod.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge kernel 2.4.27-2
Thanks! I installed kernel-source-2.4.27, it did not help. --- Robert Kopp [EMAIL PROTECTED] wrote: --- Sumo Wrestler (or just ate too much) [EMAIL PROTECTED] wrote: Serena Cantor wrote: I want to customize sarge kernel 2.4.27-2, so I install kernel-build-2.4.27-2, then [...] scripts/Configure: line 556: arch/i386/config.in: No such file or directory make: *** [config] Error 1 What's wrong? Your reply will be appreciated! It sounds like you need the kernel-source. Yes. The /usr/src directory should have a linux-like subdirectory. Robert Tim Kopp http://analytic.tripod.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge kernel 2.4.27-2
Serena Cantor wrote: --- Robert Kopp [EMAIL PROTECTED] wrote: --- Sumo Wrestler (or just ate too much) [EMAIL PROTECTED] wrote: Serena Cantor wrote: I want to customize sarge kernel 2.4.27-2, so I install kernel-build-2.4.27-2, then [...] scripts/Configure: line 556: arch/i386/config.in: No such file or directory make: *** [config] Error 1 What's wrong? Your reply will be appreciated! It sounds like you need the kernel-source. Yes. The /usr/src directory should have a linux-like subdirectory. Robert Tim Kopp http://analytic.tripod.com/ Thanks! I installed kernel-source-2.4.27, it did not help. You have to configure the source after you've installed it. Read the README file in the source directory. You'll probably want to copy your old config file to .config (in that directory) and do make oldconfig. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
how to compile sarge kernel 2.4.27-2
I want to customize sarge kernel 2.4.27-2, so I install kernel-build-2.4.27-2, then cd /usr/src/kernel-build-2.4.27-2/386 make config Below is output: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) /bin/sh scripts/Configure arch/i386/config.in # # Using defaults found in .config # scripts/Configure: line 556: arch/i386/config.in: No such file or directory make: *** [config] Error 1 What's wrong? Your reply will be appreciated! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to compile sarge kernel 2.4.27-2
Serena Cantor wrote: I want to customize sarge kernel 2.4.27-2, so I install kernel-build-2.4.27-2, then [...] scripts/Configure: line 556: arch/i386/config.in: No such file or directory make: *** [config] Error 1 What's wrong? Your reply will be appreciated! It sounds like you need the kernel-source. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to compile custom 2.4 series kernel in Sarge with root on LVM?
Hi all, I am trying to compile a custom 2.4 series kernel for my server box which has /boot as a separate ext3 partition and / (root) partition on LVM (/dev/mapper/vg00-lv03), because I prefer to have all the drivers corresponding to my server hardware compiled into the kernel and none as modules. But it has been a total failure. Apparently the latest stock 2.4.32 kernel has no built in device mapper support. So I downloaded Debian kernel-sources-2.4.27 package, configured it with compiled-in (ie no modules) drivers specific to my server hardware. I made sure LVM, device mapper, ramdisk and cramfs support was compiled in. I couldn't compile in devfs support because that option was disabled in make xconfig. This could be the problem but I have no workaround for it. Also I am not sure whether I would need initrd image or not, but I created one anyway using mkinitrd -k -o /boot/initrd.img in Sarge kernel which is also the same version. I correctly set GRUB options to point to new kernel, and initrd images and rebooted the server. I get kernel panic in the boot process after it fails to find devfs filesystem and then fails to find dev/console. Can anyone point me to a step by step document on how to compile a custom kernel in Debian Sarge with root on LVM? I would really appreciate some help. Thanks! Amal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile custom 2.4 series kernel in Sarge with root on LVM?
Amal Phadke wrote: Hi all, I am trying to compile a custom 2.4 series kernel for my server box which has /boot as a separate ext3 partition and / (root) partition on LVM (/dev/mapper/vg00-lv03), because I prefer to have all the drivers corresponding to my server hardware compiled into the kernel and none as modules. But it has been a total failure. Apparently the latest stock 2.4.32 kernel has no built in device mapper support. So I downloaded Debian kernel-sources-2.4.27 package, configured it with compiled-in (ie no modules) drivers specific to my server hardware. I made sure LVM, device mapper, ramdisk and cramfs support was compiled in. I couldn't compile in devfs support because that option was disabled in make xconfig. This could be the problem but I have no workaround for it. Also I am not sure whether I would need initrd image or not, but I created one anyway using mkinitrd -k -o /boot/initrd.img in Sarge kernel which is also the same version. I correctly set GRUB options to point to new kernel, and initrd images and rebooted the server. I get kernel panic in the boot process after it fails to find devfs filesystem and then fails to find dev/console. Can anyone point me to a step by step document on how to compile a custom kernel in Debian Sarge with root on LVM? I would really appreciate some help. AIUI, the only way to get root on LVM to work is with an initrd. Have you tried that? When I setup my workstation I specifically did not put root on LVM so I would not need to mess with an initrd. Also, have you tried to Google search? http://www.tldp.org/HOWTO/LVM-HOWTO/upgradetolvmroot.html http://www.tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile custom 2.4 series kernel in Sarge with root on LVM?
On Sun, Dec 18, 2005 at 11:17:03PM -0500, Roberto Sanchez wrote: Amal Phadke wrote: Hi all, I am trying to compile a custom 2.4 series kernel for my server box which has /boot as a separate ext3 partition and / (root) partition on LVM (/dev/mapper/vg00-lv03), because I prefer to have all the drivers corresponding to my server hardware compiled into the kernel and none as modules. But it has been a total failure. Apparently the latest stock 2.4.32 kernel has no built in device mapper support. So I downloaded Debian kernel-sources-2.4.27 package, configured it with compiled-in (ie no modules) drivers specific to my server hardware. I made sure LVM, device mapper, ramdisk and cramfs support was compiled in. I couldn't compile in devfs support because that option was disabled in make xconfig. This could be the problem but I have no workaround for it. Also I am not sure whether I would need initrd image or not, but I created one anyway using mkinitrd -k -o /boot/initrd.img in Sarge kernel which is also the same version. I correctly set GRUB options to point to new kernel, and initrd images and rebooted the server. I get kernel panic in the boot process after it fails to find devfs filesystem and then fails to find dev/console. Can anyone point me to a step by step document on how to compile a custom kernel in Debian Sarge with root on LVM? I would really appreciate some help. AIUI, the only way to get root on LVM to work is with an initrd. Have you tried that? When I setup my workstation I specifically did not put root on LVM so I would not need to mess with an initrd. Also, have you tried to Google search? http://www.tldp.org/HOWTO/LVM-HOWTO/upgradetolvmroot.html http://www.tldp.org/HOWTO/LVM-HOWTO/upgraderoottolvm.html -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto Thanks Roberto for the links. I will try information in these links first. If that fails, I think I will rebuild my system with root on a separate ext3 partition rather than on LVM. Thanks, Amal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Learning how to compile modules
Dear All, Decided it was about time I learnt something about the magical open-source kernel. So I had a good stare at the source which was quite fun. I then borrowed a copy of OReilly's Linux Device Drivers. Pretty much on page 1 there's a kernel version of a Hello World program: #define MODULE #include linux/module.h /* start the module - and tell the world about it */ int init_mopdule (void) { printk /* i.e. kernel-print */ (1Hello World!\n); return 0; } /* stop the module - and tell the world*/ void cleanup_module (void) { printk (1Horatio, I die!\n); } That's all. Simple as can be. Yet every time I try to complie any code that contains linux/whatever I get reams of error messages. Here's a sample: In file included from /usr/include/linux/sched.h from /usr/include/linux/module.h from hello.c /usr/include/linux/pid.h: error: field `task_list' has incomplete type and another: /usr/include/linux/bitmap.h:15: error: `BITS_PER_LONG' undeclared (first use in this function) That one seems to indicate that the kernel source tree is incomplete, as if the header file that defines such things as BITS_PER_LONG is missing but I've tried this on two debian machines now with identical results. Reams of errors. I've also looked to see whether the errors contain any messages complaining that the compiler cannot find some file or other but seen none. Certainly not in the first page or two. Can any of you people who program the innards of debian identify the problem? Is there something one has to do before doing any kernel compilation? The Linux Device Drivers book says that the source is normally to be found in /usr/linux/but on my machines it seems to be in /usr/include/linux/. Is the code in the include directory a proper full copy of the code? Any help much appreciated. Regards, Max
Re: How to compile in Debian?
Sent: Thursday, August 25, 2005 8:01 AM Subject: Re: How to compile in Debian? On 8/25/05, Teilhard Knight [EMAIL PROTECTED] wrote: Suppose you want to compile your drivers for your wireless adapter, which is what I actually want to do. If I am not mistaken, I need a build symbolic link in uname -r to the kernel-source, and I need a linux symbolic link from /usr/src where to the kernel source too, which also resides there. Now, uname -r is for me: 2.6.8-2-686-smp, and the kernel source for a 2.6.8 in the distribution only is found with Debian version 16 (2.6.8-16). Are the kernel source and my kernel compatible? Well, I am a newbie in Debian, and I am translating the little I know about Mandrake. First think that called my attention was that after a fresh install of Debian, the directory /usr/src, was empty. I would appreciate any help you can give me to compile my drivers. And yes, I have Googled but without luck. apt-get install module-assistant m-a prepare That'll install the right kernel headers for you. Thank you very much. I did as you said, but when I issue the command m-a prepare, I get the warning: /usr/src/kernel-source-2.6.8 seems to contain unconfigured kernel source. Is that bad?, and if so, how can I configure my kernel source? I know how to configure the kernel, but not the kernel source. I aborted and still the program installed the package build essential. I issued the command again and the warning keeps coming up. Could you tell me what to do?. Thanks. Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to compile in Debian?
Suppose you want to compile your drivers for your wireless adapter, which is what I actually want to do. If I am not mistaken, I need a build symbolic link in uname -r to the kernel-source, and I need a linux symbolic link from /usr/src where to the kernel source too, which also resides there. Now, uname -r is for me: 2.6.8-2-686-smp, and the kernel source for a 2.6.8 in the distribution only is found with Debian version 16 (2.6.8-16). Are the kernel source and my kernel compatible? Well, I am a newbie in Debian, and I am translating the little I know about Mandrake. First think that called my attention was that after a fresh install of Debian, the directory /usr/src, was empty. I would appreciate any help you can give me to compile my drivers. And yes, I have Googled but without luck. Teilhard. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile in Debian?
On 8/25/05, Teilhard Knight [EMAIL PROTECTED] wrote: Suppose you want to compile your drivers for your wireless adapter, which is what I actually want to do. If I am not mistaken, I need a build symbolic link in uname -r to the kernel-source, and I need a linux symbolic link from /usr/src where to the kernel source too, which also resides there. Now, uname -r is for me: 2.6.8-2-686-smp, and the kernel source for a 2.6.8 in the distribution only is found with Debian version 16 (2.6.8-16). Are the kernel source and my kernel compatible? Well, I am a newbie in Debian, and I am translating the little I know about Mandrake. First think that called my attention was that after a fresh install of Debian, the directory /usr/src, was empty. I would appreciate any help you can give me to compile my drivers. And yes, I have Googled but without luck. apt-get install module-assistant m-a prepare That'll install the right kernel headers for you.
Re: How to compile with .so libraries instead of .a ones?
On Sat, Jan 17, 2004 at 11:50:21PM -0600, Ramasubramanian Ramesh wrote: Hi, I always thought that the libxx.a libraries are needed to compile programs. However it appears that it is possible to compile programs without them (I suppose this means .so version will be used). This I gather from the response from the debian maintainer of libqt-dev (testing) - libqt-dev only contains libqt.so and other .so files. Can you please let me know what options I am supposed to provide to the compiler for such binary builds? I was interested in that same question recently which seems like a short good start. Look at the section about dynamic linking: http://www.linuxjournal.com/article.php?sid=6463 Thanks and Regards Ramesh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to compile with .so libraries instead of .a ones?
Hi, I always thought that the libxx.a libraries are needed to compile programs. However it appears that it is possible to compile programs without them (I suppose this means .so version will be used). This I gather from the response from the debian maintainer of libqt-dev (testing) - libqt-dev only contains libqt.so and other .so files. Can you please let me know what options I am supposed to provide to the compiler for such binary builds? Thanks and Regards Ramesh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile with .so libraries instead of .a ones?
On Sat, Jan 17, 2004 at 11:50:21PM -0600, Ramasubramanian Ramesh wrote: Hi, I always thought that the libxx.a libraries are needed to compile programs. However it appears that it is possible to compile programs without them (I suppose this means .so version will be used). This I gather from the response from the debian maintainer of libqt-dev (testing) - libqt-dev only contains libqt.so and other .so files. Can you please let me know what options I am supposed to provide to the compiler for such binary builds? Usually you include flags of the type: -lnameoflibrary for example for libSDL you would use -lSDL, for libX11 -lX11, etc. The library's documentation should tell you which flags to use. For certain libraries you can use the pkg-config script to get these flags. For example for linking with gtk you would do: $ pkg-config gtk --libs -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm pkg-config can also give you the required include flags: $ pkg-config gtk --cflags -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include Bijan -- Bijan Soleymani [EMAIL PROTECTED] http://www.crasseux.com signature.asc Description: Digital signature
How to compile a 2.5.x Kernel
Hi, My googling hasn't been a success so far. It's tough to find the right keywords ;-( Can anybody point me out to a howto or a relevant posting about aquiring/compiling/installing 2.5.69? Or with the right search terms? ;-) Cheers, Mariano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
On Saturday 14 June 2003 12:12, Mariano Kamp wrote: My googling hasn't been a success so far. It's tough to find the right keywords ;-( Can anybody point me out to a howto or a relevant posting about aquiring/compiling/installing 2.5.69? Or with the right search terms? ;-) I tried on testing, and it worked quite fine with the regular make-kpkg routine. You'll have to install the proper module handling utilities (I don't know what the name was, but it's listed in the kernel doc and available as a debian package). The only strange thing was that I couldn't login via SSH anymore after starting 2.5.69, for whatever reason. -- Got Backup? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
On Sat, Jun 14, 2003 at 12:12:24PM +0200, Mariano Kamp wrote: Hi, My googling hasn't been a success so far. It's tough to find the right keywords ;-( Can anybody point me out to a howto or a relevant posting about aquiring/compiling/installing 2.5.69? Or with the right search terms? ;-) if iwas feeling rude i would point out that if you cant work out how to get 2.5.69, yout not up to using it!! anyway wget [something from countrycode.kernel.org] tar xvv(j|z)f foo.tar.(bz2|gz) make menuconfig make-kpkg clean make-kpkg kernel_image -- Hugh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
Nicos, thanks for taking the time ... I tried on testing, and it worked quite fine with the regular make-kpkg routine. You'll have to install the proper module handling utilities (I don't know what the name was, but it's listed in the kernel doc and available as a debian package). Hmmh. I tried that before ... I did apt-get install module-init-tools (Don't know if that is the right package) and also installed the sources. I unpacked the sources and ran make-kpkg -config=x --revision=xp2600.1 kernel_image Unfortunately I got the following errors ... black:/usr/src/linux# make-kpkg -config=x --revision=xp2600.1 kernel_image /usr/bin/make\ ARCH=i386 xconfig make[1]: Entering directory `/usr/src/kernel-source-2.5.69' /usr/bin/make -f scripts/Makefile.build obj=scripts /usr/bin/make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf * * Unable to find the QT installation. Please make sure that the * QT development package is correctly installed and the QTDIR * environment variable is set to the correct location. * make[2]: *** [scripts/kconfig/.tmp_qtcheck] Error 1 make[1]: *** [scripts/kconfig/qconf] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.5.69' make: *** [stamp-kernel-configure] Error 2 My QTDIR variable is not set, but I don't know what to set it to. What package do I have to install? apt-cache search qt dev returns at least two pages of packages. Regarding the kernel docs ... You are talking about /usr/share/doc/kernel-doc-2.5.69/Documentation/, right? What file to read? There are so many files and I found none named READ ME FIRST, Bull starts here or at least index.html ;-) I also looked in the kbuild subdirectory with not much of a success. Mariano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
On Sat, 14 Jun 2003 13:03:40 +0200 Nicos Gollan [EMAIL PROTECTED] wrote: I tried on testing, and it worked quite fine with the regular make-kpkg routine. You'll have to install the proper module handling utilities (I don't know what the name was, but it's listed in the kernel doc and available as a debian package). package module-init-tools btw, i'd suggest to read http://www.codemonkey.org.uk/post-halloween-2.5.txt when trying a 2.5 kernel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
Ok, I missed libqt-dev Now I am looking to solve --- make[1]: Entering directory `/usr/src/kernel-source-2.5.69' /usr/bin/make -f scripts/Makefile.build obj=scripts /usr/bin/make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf g++ -Wp,-MD,scripts/kconfig/.qconf.o.d -O2 -I/usr/share/qt/include -c -o scripts/kconfig/qconf.o scripts/kconfig/qconf.cc /bin/sh: line 1: g++: command not found --- gcc-3.0 didn't do the trick ... cpp-3.0/3.2/3.3 is also installed ... Hmmh? Still looking ... Mariano On Saturday 14 June 2003 14:01, you wrote: Nicos, thanks for taking the time ... I tried on testing, and it worked quite fine with the regular make-kpkg routine. You'll have to install the proper module handling utilities (I don't know what the name was, but it's listed in the kernel doc and available as a debian package). Hmmh. I tried that before ... I did apt-get install module-init-tools (Don't know if that is the right package) and also installed the sources. I unpacked the sources and ran make-kpkg -config=x --revision=xp2600.1 kernel_image Unfortunately I got the following errors ... black:/usr/src/linux# make-kpkg -config=x --revision=xp2600.1 kernel_image /usr/bin/make\ ARCH=i386 xconfig make[1]: Entering directory `/usr/src/kernel-source-2.5.69' /usr/bin/make -f scripts/Makefile.build obj=scripts /usr/bin/make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf * * Unable to find the QT installation. Please make sure that the * QT development package is correctly installed and the QTDIR * environment variable is set to the correct location. * make[2]: *** [scripts/kconfig/.tmp_qtcheck] Error 1 make[1]: *** [scripts/kconfig/qconf] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.5.69' make: *** [stamp-kernel-configure] Error 2 My QTDIR variable is not set, but I don't know what to set it to. What package do I have to install? apt-cache search qt dev returns at least two pages of packages. Regarding the kernel docs ... You are talking about /usr/share/doc/kernel-doc-2.5.69/Documentation/, right? What file to read? There are so many files and I found none named READ ME FIRST, Bull starts here or at least index.html ;-) I also looked in the kbuild subdirectory with not much of a success. Mariano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
Ok found g++ stupid me ... Now I get: scripts/kconfig/qconf.cc: In destructor `virtual ConfigItem::~ConfigItem()': scripts/kconfig/qconf.cc:291: error: non-lvalue in unary `' And that doesn't tell me anything ... google told me that: http://groups.google.de/groups?q=/qconf.cc:+In+destructor+%60virtual+ConfigItem::~ConfigItem()%27:+scripts/kconfig/qconf.cc:291:+error:+non-lvalue+in+unaryhl=delr=ie=UTF-8selm=20030429095010%243d33%40gated-at.bofh.itrnum=1 Someone changed the kernel sources to get it running. Alright ... I now believe Hugh was right. I am probably not up to the job. I was just assuming that shortly before 2.5. will turn into 2.6.x rc it would be installable by me, but was wrong. Thanks for all the help and comments... Mariano --- make[1]: Entering directory `/usr/src/kernel-source-2.5.69' /usr/bin/make -f scripts/Makefile.build obj=scripts /usr/bin/make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf g++ -Wp,-MD,scripts/kconfig/.qconf.o.d -O2 -I/usr/share/qt/include -c -o scripts/kconfig/qconf.o scripts/kconfig/qconf.cc scripts/kconfig/qconf.cc: In destructor `virtual ConfigItem::~ConfigItem()': scripts/kconfig/qconf.cc:291: error: non-lvalue in unary `' make[2]: *** [scripts/kconfig/qconf.o] Error 1 make[1]: *** [scripts/kconfig/qconf] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.5.69' make: *** [stamp-kernel-configure] Error 2 --- On Saturday 14 June 2003 14:13, you wrote: Ok, I missed libqt-dev Now I am looking to solve --- make[1]: Entering directory `/usr/src/kernel-source-2.5.69' /usr/bin/make -f scripts/Makefile.build obj=scripts /usr/bin/make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf g++ -Wp,-MD,scripts/kconfig/.qconf.o.d -O2 -I/usr/share/qt/include -c -o scripts/kconfig/qconf.o scripts/kconfig/qconf.cc /bin/sh: line 1: g++: command not found --- gcc-3.0 didn't do the trick ... cpp-3.0/3.2/3.3 is also installed ... Hmmh? Still looking ... Mariano On Saturday 14 June 2003 14:01, you wrote: Nicos, thanks for taking the time ... I tried on testing, and it worked quite fine with the regular make-kpkg routine. You'll have to install the proper module handling utilities (I don't know what the name was, but it's listed in the kernel doc and available as a debian package). Hmmh. I tried that before ... I did apt-get install module-init-tools (Don't know if that is the right package) and also installed the sources. I unpacked the sources and ran make-kpkg -config=x --revision=xp2600.1 kernel_image Unfortunately I got the following errors ... black:/usr/src/linux# make-kpkg -config=x --revision=xp2600.1 kernel_image /usr/bin/make\ ARCH=i386 xconfig make[1]: Entering directory `/usr/src/kernel-source-2.5.69' /usr/bin/make -f scripts/Makefile.build obj=scripts /usr/bin/make -f scripts/Makefile.build obj=scripts/kconfig scripts/kconfig/qconf * * Unable to find the QT installation. Please make sure that the * QT development package is correctly installed and the QTDIR * environment variable is set to the correct location. * make[2]: *** [scripts/kconfig/.tmp_qtcheck] Error 1 make[1]: *** [scripts/kconfig/qconf] Error 2 make[1]: Leaving directory `/usr/src/kernel-source-2.5.69' make: *** [stamp-kernel-configure] Error 2 My QTDIR variable is not set, but I don't know what to set it to. What package do I have to install? apt-cache search qt dev returns at least two pages of packages. Regarding the kernel docs ... You are talking about /usr/share/doc/kernel-doc-2.5.69/Documentation/, right? What file to read? There are so many files and I found none named READ ME FIRST, Bull starts here or at least index.html ;-) I also looked in the kbuild subdirectory with not much of a success. Mariano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile a 2.5.x Kernel
On Sat, 14 Jun 2003 14:31:07 +0200, Mariano Kamp wrote: Someone changed the kernel sources to get it running. Alright ... I now believe Hugh was right. I am probably not up to the job. I was just assuming that shortly before 2.5. will turn into 2.6.x rc it would be installable by me, but was wrong. That's not entirely true. This is partially Debian's fault, since recently sid switched over to gcc 3.2 as the default compiler. However, Qt is still compiled with the older compiler. You can always use menuconfig or you can use the gcc 2.95 compiler for xconfig. For some reason, the new xconfig method in 2.5 is now built using Qt, though there is a GTK alternative which I have never once used. This problem will not affect the other methods of configuring, including menuconfig and config. I would reccommend that you at least have a thorough understanding of how to build a 2.4 kernel, and if you do have that, then if you want to take the plunge, go in and read all those nifty little help texts in the kernel configurator. They help. :) (someone correct me if I'm wrong.) -- Scott C. Linnenbringer sl at eskimo dot com sclb at mac dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
How to compile the galeon package
hello. I wasn't able to compile the galeon package. It always show the error message In file included from mozilla.cpp:21: mozilla.h:265: nscore.h: ? mozilla.h:266: nsIDOMWindow.h: ? In file included from mozilla.cpp:22: GaleonWrapper.h:22: nsIDocShell.h: ? GaleonWrapper.h:23: nsIWebNavigation.h: ? GaleonWrapper.h:24: nsISHistory.h: ? GaleonWrapper.h:25: nsIWebBrowser.h: ? GaleonWrapper.h:26: nsIWebProgressListener.h: ? GaleonWrapper.h:27: nsCOMPtr.h: ? GaleonWrapper.h:28: nsIDOMEventReceiver.h: ? GaleonWrapper.h:29: nsPIDOMWindow.h: ? GaleonWrapper.h:30: gtkmozembed.h: ? GaleonWrapper.h:32: nsIPrintSettings.h: ? In file included from GaleonWrapper.h:34, from mozilla.cpp:22: GaleonEventListener.h:19: nsIDOMDragListener.h: ? GaleonEventListener.h:20: nsIDOMEvent.h: ? In file included from mozilla.cpp:23: EventContext.h:22: nsIDOMMouseEvent.h: ? EventContext.h:23: nsIDOMKeyEvent.h: ? EventContext.h:24: nsIDOMEvent.h: ? EventContext.h:25: nsIDOMNode.h: ? EventContext.h:26: nsString.h: ? EventContext.h:27: nsIDOMHTMLAnchorElement.h: ? EventContext.h:28: nsIDOMNSHTMLElement.h: ? EventContext.h:29: nsIDOMHTMLAreaElement.h: ? EventContext.h:30: nsIDOMHTMLBodyElement.h: ? EventContext.h:31: nsIDOMElementCSSInlineStyle.h: ? EventContext.h:32: nsIDOMCSSStyleDeclaration.h: ? mozilla.cpp:27: gtkmozembed_internal.h: ? mozilla.cpp:32: nsVoidArray.h: ? mozilla.cpp:33: nsIPresShell.h: ? mozilla.cpp:34: nsIDOMStyleSheetList.h: ? mozilla.cpp:35: nsIDOMStyleSheet.h: ? mozilla.cpp:37: nsString.h: ? mozilla.cpp:38: nsXPIDLString.h: ? mozilla.cpp:39: nsIPrefService.h: ? mozilla.cpp:40: nsICharsetConverterManager.h: ? mozilla.cpp:41: nsICharsetConverterManager2.h: ? mozilla.cpp:42: nsIUnicodeEncoder.h: ? mozilla.cpp:43: nsIUnicodeDecoder.h: ? mozilla.cpp:44: nsICacheService.h: ? mozilla.cpp:45: nsGfxCIID.h: ? mozilla.cpp:46: nsNetCID.h: ?mozilla.cpp:50: nsICookie.h: ? mozilla.cpp:51: nsICookieManager.h: ? mozilla.cpp:52: nsIPermissionManager.h: ? mozilla.cpp:53: nsIImgManager.h: ? mozilla.cpp:54: nsIPermission.h: ? mozilla.cpp:55: nsIDOMWindow.h: ? mozilla.cpp:56: nsIEmbeddingSiteWindow.h: ? mozilla.cpp:57: nsIWindowWatcher.h: ? mozilla.cpp:58: nsIWebBrowserChrome.h: ? mozilla.cpp:59: nsIExternalHelperAppService.h: ? mozilla.cpp:60: nsCExternalHandlerService.h: ? mozilla.cpp:61: nsILocalFile.h: ? mozilla.cpp:62: nsIJVMManager.h: ? mozilla.cpp:63: nsIJSConsoleService.h: ? mozilla.cpp:64: nsIPlatformCharset.h: ? mozilla.cpp:65: nsIDOMHTMLLinkElement.h: ? mozilla.cpp:66: nsIProtocolProxyService.h: ? mozilla.cpp:67: nsReadableUtils.h: ? In file included from mozilla.cpp:68: ProgressListener2.h:22: nsIWebProgressListener.h: ? ProgressListener2.h:26: nsIHelperAppLauncherDialog.h: ? ProgressListener2.h:27: nsIExternalHelperAppService.h: ? ProgressListener2.h:28: nsCExternalHandlerService.h: ? ProgressListener2.h:29: nsIWebBrowserPersist.h: ? ProgressListener2.h:30: nsCOMPtr.h: ? ProgressListener2.h:31: nsWeakReference.h: ? ProgressListener2.h:33: nsIURI.h: ? ProgressListener2.h:34: nsILocalFile.h: ? ProgressListener2.h:35: nsIDOMWindow.h: ? ProgressListener2.h:36: nsIRequest.h: ? In file included from ProgressListener2.h:40, from mozilla.cpp:68: ContentHandler.h:22: nsIHelperAppLauncherDialog.h: ? ContentHandler.h:23: nsIExternalHelperAppService.h: ? ContentHandler.h:24: nsCExternalHandlerService.h: ? ContentHandler.h:25: nsIWebProgressListener.h: ? ContentHandler.h:27: nsIURI.h: ? ContentHandler.h:28: nsILocalFile.h: ? ContentHandler.h:30: nsCOMPtr.h: ? ContentHandler.h:31: nsISupports.h: ? ContentHandler.h:32: nsError.h: ? mozilla.cpp:69: nsNetUtil.h: ? mozilla.cpp:70: nsIWebBrowserPersist.h: ? mozilla.cpp:71: nsCWebBrowserPersist.h: ? mozilla.cpp:72: nsCWebBrowser.h: ? mozilla.cpp:73: nsITransportSecurityInfo.h: ? mozilla.cpp:74: nsIWebProgressListener.h: ? mozilla.cpp:75: nsGUIEvent.h: ? It seems that there is no the mozilla include file.. Why??? my mozilla was from the www.mozilla.org 0.9.6 and placed in the /usr/local/mozilla my configure command is ./configure --prefix=/usr/local/galeon --with-mozilla-libs=/usr/local/mozilla --with-mozilla-includes=/usr/local/mozilla It is ok then I type make. the error came out. Please teach me how to compile the galeon so that I can use it to replace the slow mozilla thanks
Re: How to compile the debian way?
HH Try: HH apt-get source --build pppoe And it is even better to use 'apt-get build-dep pppoe' because it will automatically install all required development packages to build 'pppoe' -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Ilya Martynov (http://martynov.org/)| | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80 E4AE BE1A 53EB 323B DEE6 | | AGAVA Software Company (http://www.agava.com/) | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Re: How to compile the debian way?
Mark Devin wrote: Nathan wrote: goto www.roaringpenguin.com and u can download the rp-pppoe-3.0tar.gz file and untar it and cd into the directory and type ./go to do the setup. I am still having probles with this ADSL on Telstra Bigpond I did what you said above. It almost seems to work but there is still some problem as I can't ping the DNS by either its name or its IPaddress. Here is what /var/log/syslog shows: Apr 8 12:59:41 debian pppd[1218]: pppd 2.4.0 started by root, uid 0 Apr 8 12:59:41 debian pppd[1218]: Using interface ppp0 Apr 8 12:59:41 debian pppd[1218]: Connect: ppp0 -- /dev/pts/6 Apr 8 12:59:42 debian pppoe[1219]: PADS: Service-Name: '' Apr 8 12:59:42 debian pppoe[1219]: PPP session is 3168 Apr 8 12:59:43 debian pppd[1218]: Cannot determine ethernet address for proxy ARP Apr 8 12:59:43 debian pppd[1218]: local IP address 61.9.158.102 Apr 8 12:59:43 debian pppd[1218]: remote IP address 172.31.16.24 Note the error Cannot determine ethernet address for proxy ARP Have you any further suggestions for me. I am feeling very stupid and frustrated by now. Are you using adsl-start? It almost looks like some pppd options that adsl-start does for you aren't getting set right...
How to compile the debian way?
I need to compile rp-pppoe for my adsl connection. (I initially thought I could just do apt-get install pppoe but apparently not.) Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Thanks. Mark.
Re: How to compile the debian way?
On Sun, Apr 08, 2001 at 07:37:19AM +1000, Mark Devin wrote: I need to compile rp-pppoe for my adsl connection. (I initially thought I could just do apt-get install pppoe but apparently not.) Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Try: apt-get source --build pppoe You must be root, of course. Install the resulting deb using 'dpkg -i'. -- Henry House OpenPGP key available from http://hajhouse.org/hajhouse.asc pgpOG7RAohzVo.pgp Description: PGP signature
Re: How to compile the debian way?
Henry House wrote: Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Try: apt-get source --build pppoe OK did that and here is the error I got: debian:/etc/apt# apt-get source --build pppoe Reading Package Lists... Done Building Dependency Tree... Done Need to get 104kB of source archives. Get:1 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (dsc) [613B] Get:2 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (tar) [101kB] Get:3 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (diff) [2418B] Fetched 104kB in 24s (4228B/s) dpkg-source: extracting rp-pppoe in rp-pppoe-2.8 dpkg-buildpackage: source package is rp-pppoe dpkg-buildpackage: source version is 2.8-0.1 dpkg-buildpackage: source maintainer is Daniel Schepler [EMAIL PROTECTED] dpkg-buildpackage: build architecture is i386 debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux dh_testdir make: dh_testdir: Command not found make: *** [clean] Error 127 Build command 'cd rp-pppoe-2.8 dpkg-buildpackage -b -uc' failed. E: Child process failed What does that mean? How do I fix it?
Re: How to compile the debian way?
Mark Devin wrote: I need to compile rp-pppoe for my adsl connection. (I initially thought I could just do apt-get install pppoe but apparently not.) Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Oh, And what about if I have the tarball on my system? Thanks. Mark.
Re: How to compile the debian way?
On Sun, Apr 08, 2001 at 08:23:46AM +1000, Mark Devin wrote: Henry House wrote: Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Try: apt-get source --build pppoe OK did that and here is the error I got: debian:/etc/apt# apt-get source --build pppoe Reading Package Lists... Done Building Dependency Tree... Done Need to get 104kB of source archives. Get:1 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (dsc) [613B] Get:2 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (tar) [101kB] Get:3 http://ftp.au.debian.org testing/main rp-pppoe 2.8-0.1 (diff) [2418B] Fetched 104kB in 24s (4228B/s) dpkg-source: extracting rp-pppoe in rp-pppoe-2.8 dpkg-buildpackage: source package is rp-pppoe dpkg-buildpackage: source version is 2.8-0.1 dpkg-buildpackage: source maintainer is Daniel Schepler [EMAIL PROTECTED] dpkg-buildpackage: build architecture is i386 debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux dh_testdir make: dh_testdir: Command not found make: *** [clean] Error 127 Build command 'cd rp-pppoe-2.8 dpkg-buildpackage -b -uc' failed. E: Child process failed What does that mean? How do I fix it? Looks like you need the 'debhelper' package. deb:~$ dpkg -S dh_testdir debhelper: /usr/share/man/man1/dh_testdir.1.gz debhelper: /usr/bin/dh_testdir kent -- From seeing and seeing the seeing has become so exhausted First line of The Panther - R. M. Rilke
Re: How to compile the debian way?
On Sun, Apr 08, 2001 at 08:28:56AM +1000, Mark Devin wrote: I need to compile rp-pppoe for my adsl connection. (I initially thought I could just do apt-get install pppoe but apparently not.) Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Oh, And what about if I have the tarball on my system? Just build and install the tarball and use the equivs package to let the Debian package database know it exists. It's often wise to keep your non-Debian stuff in /usr/local/ just to ensure that Debian won't step on it (and it won't step on Debian). A package line 'stow' might help you manage /usr/local. noah -- ___ | Web: http://web.morgul.net/~frodo/ | PGP Public Key: http://web.morgul.net/~frodo/mail.html pgpla5yNRUskG.pgp Description: PGP signature
Re: How to compile the debian way?
Noah L. Meyerhans wrote: On Sun, Apr 08, 2001 at 08:28:56AM +1000, Mark Devin wrote: I need to compile rp-pppoe for my adsl connection. (I initially thought I could just do apt-get install pppoe but apparently not.) Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Oh, And what about if I have the tarball on my system? Just build and install the tarball and use the equivs package to let the Debian package database know it exists. It's often wise to keep your non-Debian stuff in /usr/local/ just to ensure that Debian won't step on it (and it won't step on Debian). A package line 'stow' might help you manage /usr/local. Wow! That went over my head. Do I just apt-get install equivs - how do I use that? How do I use 'stow'? Also, I just did apt-get source --build pppoe and it seems to have put it in the directory I was in (/etc/apt) when I ran the command. How do I know where it should be put? Thanks for all the help. Mark.
Re: How to compile the debian way?
On Sun, Apr 08, 2001 at 08:55:02AM +1000, Mark Devin wrote: Do I just apt-get install equivs - how do I use that? How do I use 'stow'? Yup. I don't get the stow bit either, but you can apt-get equivs. Read the README in /usr/share/doc to learn how to use it... it's quite easy. -- John Patton [EMAIL PROTECTED] Get my GnuPG public key: finger [EMAIL PROTECTED] A jury consists of twelve persons chosen to decide who has the better lawyer. - Robert Frost
Re: How to compile the debian way?
goto www.roaringpenguin.com and u can download the rp-pppoe-3.0tar.gz file and untar it and cd into the directory and type ./go to do the setup. have fun Nathan Mark Devin wrote: I need to compile rp-pppoe for my adsl connection. (I initially thought I could just do apt-get install pppoe but apparently not.) Anyway, my question is how do I compile stuff the debian way? You know, so that the packages are all known by dpkg. Thanks. Mark. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to compile the debian way?
On Sun, Apr 08, 2001 at 08:23:46AM +1000, Mark Devin wrote: [...] dh_testdir make: dh_testdir: Command not found make: *** [clean] Error 127 Build command 'cd rp-pppoe-2.8 dpkg-buildpackage -b -uc' failed. E: Child process failed Just what it says: to make the package you need the command dh_testdir, but you don't have it. It is provided by the package 'debhelper'. -- Henry House OpenPGP key available from http://hajhouse.org/hajhouse.asc pgpmOecCRZLdN.pgp Description: PGP signature
Re: How to compile the debian way?
Nathan wrote: goto www.roaringpenguin.com and u can download the rp-pppoe-3.0tar.gz file and untar it and cd into the directory and type ./go to do the setup. I am still having probles with this ADSL on Telstra Bigpond I did what you said above. It almost seems to work but there is still some problem as I can't ping the DNS by either its name or its IPaddress. Here is what /var/log/syslog shows: Apr 8 12:59:41 debian pppd[1218]: pppd 2.4.0 started by root, uid 0 Apr 8 12:59:41 debian pppd[1218]: Using interface ppp0 Apr 8 12:59:41 debian pppd[1218]: Connect: ppp0 -- /dev/pts/6 Apr 8 12:59:42 debian pppoe[1219]: PADS: Service-Name: '' Apr 8 12:59:42 debian pppoe[1219]: PPP session is 3168 Apr 8 12:59:43 debian pppd[1218]: Cannot determine ethernet address for proxy ARP Apr 8 12:59:43 debian pppd[1218]: local IP address 61.9.158.102 Apr 8 12:59:43 debian pppd[1218]: remote IP address 172.31.16.24 Note the error Cannot determine ethernet address for proxy ARP Have you any further suggestions for me. I am feeling very stupid and frustrated by now. Thanks. Mark.
Re: How to compile the debian way?
Lo, on Sunday, April 8, Mark Devin did write: How do I use 'stow'? apt-get install stow then check the info page. In brief: if you've got several packages you want to install into, say, /usr/local/{bin,lib,man,info,...}, but you don't want to keep track of which file belongs to which package, use stow. Install each package into, e.g., /usr/local/stow/package, then cd /usr/local/stow stow package this creates links in /usr/local/{bin,man,lib,...} to the files in the stow/package directory. It's quite nice; I'm using it on a Solaris network at work because I don't have a real package manager like dpkg or rpm available. (Yes, I know rpm exists for Solaris, but I don't want to deal with the hassle of configuring it on a system which wasn't built with rpm.) Richard
How to compile for debugging (APT)?
Does anyone have any suggestions for how to compile a debian package, specifically apt, for debugging? I got curious about some odd apt-get behavior (posted here previously) and wanted to try to track it down. Easier said than done! I think the problem is that I'm linking with my main libapt-pkg.so, which doesn't have any debug info. I have tried setting -ggdb in appropriate places and turning on static linking, but it doesn't seem to have taken (judging from what happens in debug and the output of ldd). I may be missing some general feature of GNU or debian packages, or it may be peculiar to apt. apt has a somewhat non-standard build architecture in place. I did apt-get source and then ./configure, make at the top level (the build tree, or a good part of it, is replicated in debian/cvs-build--I'm not messing with that). I'm not trying to build a deb, and my output files are ending up under the source tree (which is fine). I've steadily modified the build files, first with -ggdb and then with static makes. I've done make cleans in between. Aside from apt, I'd like to know if there are some general knobs for turning debugging on with most packages. P.S. I would have posted this to the deity (aka apt) list, but it is apparently limited to apt developers. I'm not one, though conceivably I might have a patch at the end of this to get apt to explain itself better. I have turned on the documented Debug conf file options.
How to compile for a different machine?
Hi! I'm setting up a small Duron box as filtering+NAT gateway for my home network. I'd rather not have a compiler on it or the myriad of libraries and header files needed to compile stuff, yet I'd like to build a few things by hand. Is there an elegant way to compile on box A for box B? Thanks, C PS: Please CC me...
RE: How to compile for a different machine?
This may be trivial to most users, but can anyone tell me how or where I can create Debian boot disks? I am trying to install Debian on a old maching i found, but I dont have CD-ROM support during my initial bootup and I only have a CD Distrubution of Debian. Thanks
how to compile openldap-1.2.11 with libdb
On potato's I need to compile openldap-1.2.11 with libdb instead of libdb2 anybody could point-me on how to do this thanks, jaume.
Re: how to compile openldap-1.2.11 with libdb
On Wed, Nov 08, 2000 at 05:13:49PM +0100, Jaume Teixi wrote: On potato's I need to compile openldap-1.2.11 with libdb instead of libdb2 anybody could point-me on how to do this Why? On i386-potato, it should automagically compile with db1 (libdb.so.2 from libc6 is db1). Otherwise, you should specify -ldb1 -- ---===-=-==-=---==-=-- / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=--===-=-=-=-===-==---=--=---'
How to compile module to avoid unresolved symbols ??
Sorry for what may be a silly question, but I've struggled on and off with getting my 3dfx module to insert correctly. I keep getting unresolved symbols on boot-up. Yes, the device is defined in /dev with ownership/permissions set as suggested in the docs. I assume that the problem involves its compilation from the package. I've always dl'd the .deb, unzipped it where it lay in /usr/src, and run the script to make the package. This is followed by its installation. Is this wrong?? Should it be unzipped somewhere inside of /usr/src/linux and compiled With the kernel? Does a line for it show up when one uses make menuconfig? I don't recall ever seeing errors on compilation. Another thought is whether I should change something in the Makefile which would make it compatible with my Athlon??? (obviously assuming something there would screw that up...) Frustrated In Bakersfield, Kenward ps: insmod reports the following: hpotter:/home/daddy# insmod 3dfx Using /lib/modules/2.2.17/misc/3dfx.o /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol remap_page_range /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol unregister_chrdev /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol register_chrdev /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol printk hpotter:/home/daddy# -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! --
Re: How to compile module to avoid unresolved symbols ??
On Sun, Oct 15, 2000 at 09:33:38AM -0700, Kenward Vaughan wrote: I assume that the problem involves its compilation from the package. I've always dl'd the .deb, unzipped it where it lay in /usr/src, and run the script to make the package. This is followed by its installation. That's right. You ought to be able to untar it anywhere, actually, unless you're using kernel-package to build it, in which case it *needs* to be in /usr/src/modules/device3dfx Is this wrong?? Should it be unzipped somewhere inside of /usr/src/linux and compiled With the kernel? Does a line for it show up when one uses make menuconfig? I don't recall ever seeing errors on compilation. No, it doesn't integrate with the kernel like that. (Unfortunately). Another thought is whether I should change something in the Makefile which would make it compatible with my Athlon??? (obviously assuming something there would screw that up...) Well, not afaik, but mismatching your processor shouldn't cause the link errors you're seeing anyway. (One would hope that the 3dfx source code would use your CONFIG_MK7 setting if necessary, anyway). hpotter:/home/daddy# insmod 3dfx Using /lib/modules/2.2.17/misc/3dfx.o /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol remap_page_range /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol unregister_chrdev /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol register_chrdev /lib/modules/2.2.17/misc/3dfx.o: unresolved symbol printk hpotter:/home/daddy# The main point to check is that you are actually compiling the module against the headers used to build your kernel. Particularly, that you're using the right linux/autoconf.h file, and hence getting the right setting of CONFIG_MODVERSIONS... So, from the device3dfx directory (where you run debian/buildpkg), check like this (output is from my machine): bash$ nm 3dfx.o | grep printk U printk_R1b7d4074 bash$ grep printk /proc/ksyms c0115f4c printk_R1b7d4074 Now, your address and version hash will likely be different BUT the vital point is that the version hash (_R1b7d4074) must match in the 3dfx.o file and /proc/ksyms. If they don't match, this suggests you compiled against the wrong kernel headers. Check your KSRC setting, and check you did make clean and that a compile is really happening. (You should see this sort of command: gcc -O2 -m486 -fomit-frame-pointer -DMODULE -D__KERNEL__ -I/home/steve/kernel/linux/include -pipe -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 -c -o 3dfx.o 3dfx_driver.c during compilation. Note the -I flag pointing at the kernel headers.) NB I am not really a kernel hacker, but I'm fairly sure this is a suitable check to run. HTH SRH -- Steve Haslam http://www.arise.demon.co.uk/ [EMAIL PROTECTED] Debian GNU/Linux Maintainer [EMAIL PROTECTED] almost called it today, turned to face the void, numb with the suffering and the question- Why am I? [queensrÿche] pgp7sbLrywgwO.pgp Description: PGP signature