TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Benny Pedersen
from: Gert Koefoed Andersen
date: 2006-07-04 09:39:02
subject: Make build of hpt by using -m32

* Reply to message originally in area CarbonArea

Hello Benny!

Jul 04 03:36 06, Benny Pedersen wrote to Gert Koefoed Andersen:
04 Jul 06 03:36, Benny Pedersen wrote to Gert Koefoed Andersen:

 GKA>>>> I got it to be compile but still have the problem by
"segmention 
 GKA>>>> fault" sŐ I mean it more kernel or gentoo der is
unstable and not 
 GKA>>>> work as some function gentoo CenterICQ too gives
segmention fault.
 BP>>>did you get a CORE file ?
 GKA>> Hmm, what a CORE file ?

 BP>when a program seqfaults and is build with debug into the program you 
 BP>will get a CORE file in the current dir the program is startet from

 BP>its long time since i have seen one so how to use it is long time 
 BP>forgotten by me, but CORE files is a file you need to trace bugs and 
 BP>find the error in the c code so developpers knows exactly where the bug 
 BP>is

What name should the core file have ?
I have make this (without using -m32)
cd husky_stable
cd hpt
make clean
make
   ----- hptmake.log begins -----
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/fcommon.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/hpt.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/pktread.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/global.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/toss.c
src/toss.c: In function `putMsgInArea':
src/toss.c:237: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/toss.c: In function `processNMMsg':
src/toss.c:1054: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/scan.c
src/scan.c: In function `scanExport':
src/scan.c:876: warning: 'processed' might be used uninitialized in this function
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/scanarea.c
src/scanarea.c: In function `makeMsg':
src/scanarea.c:110: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/seenby.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/dupe.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/query.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/areafix.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/post.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/link.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/pktwrite.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/carbon.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/stat.c
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/pktinfo.c
gcc -s -o pktinfo pktinfo.o \
          pktread.o fcommon.o global.o dupe.o \
  -L/home/kofo/lib -lfidoconfig -lsmapi
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/tpkt.c
gcc -s -o tpkt tpkt.o \
              fcommon.o pktread.o pktwrite.o global.o \
              dupe.o -L/home/kofo/lib -lfidoconfig -lsmapi
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/txt2pkt.c
gcc -s -o txt2pkt txt2pkt.o \
          fcommon.o pktread.o pktwrite.o \
          global.o dupe.o -L/home/kofo/lib -lfidoconfig -lsmapi
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/hptlink.c
gcc -s -o hptlink hptlink.o -L/home/kofo/lib -lfidoconfig -lsmapi global.o
gcc -Ih -I/home/kofo/include -c -s -O3 -fomit-frame-pointer
-fstrength-reduce -fPIC -Wall -DUNIX  src/hpttree.c
gcc -s -o hpttree hpttree.o -L/home/kofo/lib -lfidoconfig -lsmapi
gcc -s -o hpt  fcommon.o hpt.o pktread.o global.o toss.o scan.o scanarea.o
seenby.o dupe.o query.o areafix.o post.o link.o pktwrite.o carbon.o stat.o
-L/home/kofo/lib -lfidoconfig -lsmapi 
   ----- hptmake.log ends -----
Then
su
rootpwd
make install

 Take care,
     Gert

      - Get the best in the world with linux - 

--- Msged/LNX 6.2.0 (Linux/2.6.16-gentoo-r7 (x86_64))
* Origin: KofoBBS at ftp://gen2ghz.kofobbs.net (2:236/150)
SEEN-BY: 633/267 270
@PATH: 236/150 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.