[Asterisk-Users] Compile problem SuSE 8.2
I am trying to compile * on SuSE 8.2. When doing the make install in /usr/src/zaptel I get the following error. ** /usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules freeIn file included from /usr/src/linux/include/linux/highmem.h:5, from /usr/src/linux/include/linux/vmalloc.h:8, from /usr/src/linux/include/asm/io.h:47, from /usr/src/linux/include/asm/pci.h:40, from /usr/src/linux/include/linux/pci.h:654, from zaptel.c:38: /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page': /usr/src/linux/include/asm/pgalloc.h:201: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. make: *** [zaptel.o] Error 1 *** Any ideas about where to look for the problem would be appreciated. Robert Friedrichshafen, Germany ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile problem SuSE 8.2
On Tue, 2003-10-07 at 14:10, rnc Info Lists wrote: I am trying to compile * on SuSE 8.2. When doing the make install in /usr/src/zaptel I get the following error. ** /usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules freeIn file included from /usr/src/linux/include/linux/highmem.h:5, from /usr/src/linux/include/linux/vmalloc.h:8, from /usr/src/linux/include/asm/io.h:47, from /usr/src/linux/include/asm/pci.h:40, from /usr/src/linux/include/linux/pci.h:654, from zaptel.c:38: /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page': /usr/src/linux/include/asm/pgalloc.h:201: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. make: *** [zaptel.o] Error 1 *** Any ideas about where to look for the problem would be appreciated. A segfault during compile is either a hardware problem, or a gcc problem. Specifically this error said it was an internal compiler error and therefore falls squarely on your hardware or gcc version. If you don't have any reason to suspect your hardware, check for gcc upgrades. If gcc wasn't the problem, check your memory, cpu temperature, cpu period, and possibly your hard drive and controller in pretty much this order. Any of these could flip a bit or 2 and screw everything up. -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile problem SuSE 8.2
I had a similar problem with redhat 9 stock kernel sources. I had to enter the kernel sources dir, do a make mrproper then a make menuconfig save the conf do make dep. after that I was able to build zaptel without issues ;) matteo. Il mar, 2003-10-07 alle 21:10, rnc Info Lists ha scritto: I am trying to compile * on SuSE 8.2. When doing the make install in /usr/src/zaptel I get the following error. ** /usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules freeIn file included from /usr/src/linux/include/linux/highmem.h:5, from /usr/src/linux/include/linux/vmalloc.h:8, from /usr/src/linux/include/asm/io.h:47, from /usr/src/linux/include/asm/pci.h:40, from /usr/src/linux/include/linux/pci.h:654, from zaptel.c:38: /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page': /usr/src/linux/include/asm/pgalloc.h:201: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. make: *** [zaptel.o] Error 1 *** Any ideas about where to look for the problem would be appreciated. Robert Friedrichshafen, Germany ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users -- Brancaleoni Matteo [EMAIL PROTECTED] Espia - Emmegi Srl ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile problem SuSE 8.2
On Tue, 2003-10-07 at 15:13, Brancaleoni Matteo wrote: I had a similar problem with redhat 9 stock kernel sources. I had to enter the kernel sources dir, do a make mrproper then a make menuconfig This was probably not a good idea as you have configured your kernel source differently than your running kernel. In either the /boot or / directory there should be a Config file that matches your running kernel. You should then ba able to copy it from the /boot or / directory as .config in your kernel source root directory. At that point you should be able to make oldconfig and it will configure your kernel source exactly as the running kernel. I don't know if it would cause problems or not, but it doesn't hurt to have consistency. save the conf do make dep. after that I was able to build zaptel without issues ;) matteo. Il mar, 2003-10-07 alle 21:10, rnc Info Lists ha scritto: I am trying to compile * on SuSE 8.2. When doing the make install in /usr/src/zaptel I get the following error. ** /usr/src/linux/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules freeIn file included from /usr/src/linux/include/linux/highmem.h:5, from /usr/src/linux/include/linux/vmalloc.h:8, from /usr/src/linux/include/asm/io.h:47, from /usr/src/linux/include/asm/pci.h:40, from /usr/src/linux/include/linux/pci.h:654, from zaptel.c:38: /usr/src/linux/include/asm/pgalloc.h: In function `flush_tlb_page': /usr/src/linux/include/asm/pgalloc.h:201: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu.org/software/gcc/bugs.html for instructions. make: *** [zaptel.o] Error 1 *** Any ideas about where to look for the problem would be appreciated. Robert Friedrichshafen, Germany ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users