delorie.com/archives/browse.cgi | search |
X-pop3-spooler: | POP3MAIL 2.1.0 b 3 961213 -bs- |
Delivered-To: | pcg AT goof DOT com |
Message-Id: | <Version.32.19980407200537.00edc350@famewolf.ddns.org> |
X-Sender: | famewolf AT famewolf DOT ddns DOT org |
X-Mailer: | QUALCOMM Windows Eudora Pro Version 4.0 |
Date: | Tue, 07 Apr 1998 20:14:59 -0400 |
To: | beastium-list AT Desk DOT nl |
From: | Rudi Pittman <famewolf AT poetic DOT com> |
Subject: | Pggc Problems |
Sender: | Marc Lehmann <pcg AT goof DOT com> |
Status: | RO |
Lines: | 92 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Attempting to follow instructions, I should start out by saying I'm not on the mailing list. ;) I recently installed pgcc and have been experimenting with it. One of the applications I have been using for quite some time is an eggdrop bot that I use to assist in an irc chat channel I maintain. The configure script which generates the makefile will bomb with the following error: [evlangel AT famewolf eggdrop1.3.12]$ ./configure loading cache ./config.cache This is eggdrop's GNU configure script. It's going to run a bunch of strange tests to hopefully make your compile work without much twiddling. checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for POSIXized ISC... no checking for minix/config.h... (cached) no This system does not appear to have a working C compiler. A working C compiler is required to compile eggdrop. [evlangel AT famewolf eggdrop1.3.12]$ - ---------------------------------------------------------------------------- - ---- If I configure it under true gcc 2.7.23 and then run make under pgcc, this occurs: gcc -c -mpentium -O6 -Wall -I.. -DHAVE_CONFIG_H userrec.c gcc -c -mpentium -O6 -Wall -I.. -DHAVE_CONFIG_H users.c - ---------- Yeah! that's the compiling, now the linking! ---------- Linking eggdrop... gcc -o ../eggdrop botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o f lags.o language.o main.o mem.o misc.o modules.o net.o tcl.o tcldcc.o tclhash.o t clmisc.o tcluser.o userent.o userrec.o users.o -L/usr/lib -ltcl -lm -ldl -lnsl strip ../eggdrop Successful compile: eggdrop make[1]: Leaving directory `/home/evlangel/eggdrop1.3.12/src' make: *** [modegg] Segmentation fault [evlangel AT famewolf eggdrop1.3.12]$ It seg faults on the linking. - ----------------------------------------------------------------- Finally..I tried to compile 2.0.33 kernel using pgcc with -mpentium - -06...got all the way through the compile with nothing but warnings about signed and unsigned comparisons but when it started to write out the kernel it did this: <snip> about to write out the kernel <snip> if hash encaps 2> /dev/null; then \ objdump -k -q -o 0x1000 compressed/vmlinux > compressed/vmlinux.out; \ else \ objcopy -O binary -R .note -R .comment -R .stab -R .stabstr compressed/vmlinux compressed/vmlinux.out; \ fi tools/build bootsect setup compressed/vmlinux.out CURRENT > zImage make[1]: *** [zImage] Error 139 make[1]: Leaving directory `/usr/src/linux-2.0.33/arch/i386/boot' make: *** [zlilo] Error 2 [root AT famewolf linux]# What am I doing wrong or what can I do to fix it? Thanks for your time. ============================================================= == Rudi Pittman [ famewolf AT poetic DOT com ] ICQ# 731451 == Email Pager: [ 731451 AT pager DOT mirabilis DOT com ] == WWW Pager: [ http://wwp.mirabilis.com/731451 ] == Homepage: [ http://famewolf.ddns.org/paris/6736 ] ============================================================= -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBNSrBgr+iTbvBEB/PEQJY3ACcCcDiYLZRBQdUonUorpZBtVloQuwAoIeF 28W9sB/QyZU48LoBLXxUlQKP =x6zX -----END PGP SIGNATURE-----
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |