[prev in list] [next in list] [prev in thread] [next in thread]
List: ntop
Subject: [Ntop] problem building gdchart on HP-UX 11.0 (PA 2.0) plaform
From: Bernard Raoul <bernard.raoul () atmel-nantes ! fr>
Date: 2001-11-29 15:43:22
Message-ID: 3C06579A.C5A23CBB () atmel-nantes ! fr
[Download RAW message or body]
I got problems to build ntop (yesterday ntop-current version) on HP-UX
11.00 PA2.0 platform.
First i am confused about build order specify in docs for gdchart0.94c:
2. Build chart libraries
- cd gdchart0.94c/
- ./configure
- cd gd-1.8.3/libpng-1.0.8
- cp scripts/makefile.[make your choice] Makefile
- make
- cd ../../zlib-1.1.3/
- ./configure
- make
- cd ..
- make
It says to make libpng-1.0.8 which need zlib.a library, before building
zlib.
Also scripts/makefile.hpux contents library and include references to
/opt/zlib .
So i built zlib first,
and then libpng after have modified in libpng-1.0.8/Makefile
/opt/zlib/lib and /opt/zlib/include with ../../zlib-1.1.3
Then I got next 'invalid loader' when making libpng in
ld -b -L../../zlib-1.1.3 +s +b ../../zlib-1.1.3 \
+h libpng.sl.2 -o libpng.sl.2.1.0.8 png.pic.o pngset.pic.o
pngget.pic.o pngrutil.pic.o
pngtrans.pic.o pngwutil.pic.o pngread.pic.o pngrio.pic.o
pngwio.pic.o pngwrite.pic.o
pngrtran.pic.o pngwtran.pic.o pngmem.pic.o pngerror.pic.o
pngpread.pic.o -lz
ld: (Warning) At least one PA 2.0 object file
(../../zlib-1.1.3/libz.a(crc32.o)) was
detected. The linked output may not run on a PA 1.x system.
ld: Invalid loader fixup in text space needed in output file for
symbol "$00000016" in
input file "../../zlib-1.1.3/libz.a(inflate.o)"
*** Error exit code 1
Can you help ?
--Bernard
| Bernard RAOUL
| System & Network Engineer
|
| ATMEL NANTES
| La Chantrerie -BP 70602
| 44306 NANTES CEDEX 03
|
| Email: bernard.raoul@atmel-wm.com
| Tel: 33 (0)2 40 18 19 45
| Fax: 33 (0)2 40 18 18 00
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic