|
From: | Donato Lorenzo López |
Subject: | [XForms] HP-UX - Itanium -- Error during installation |
Date: | Tue, 30 Aug 2011 14:07:44 +0000 |
Hi people,
I'm using XForms (xforms-1.0.93sp1) on a server wich has: S.O.: HP-UX B.11.31 U ia64 (a.k.a. HPUX 11i v3 Update8 (March 2011)) aCC: HP C/aC++ B3910B A.06.25 [Nov 30 2009] Installing the library, I had to "fix" some things. I'll explain the steps I took. I commented the error lines, but I guess there is a better option! :) I hope it can serve as some kind of help for you. Notes: My installation will be: - in /usr/local/ folder - under 32bit 1.- Configure ./configure CC="aCC -Ae +DD32" CFLAGS="-I/usr/include -I/usr/local/include" LDFLAGS="-L/usr/lib -L/usr/local/lib" 2.- I had to modify the Makefile files created by previous step (.../lib/Makefile and .../image/Makefile) I had to remove the "--no-undefined" parameter, because it's not recognized by the linker. If I try to launch "make" I'll obtain: ld: Unrecognized argument: --no-undefined) The change is the same in both Makefiles: ## libforms_la_LDFLAGS = -no-undefined -Wl,--no-undefined -version-info 2:0:0 libforms_la_LDFLAGS = -no-undefined -Wl, -version-info 2:0:0 3.- I "fixed" this error: error #2070: incomplete type is not allowed obj->spec = fl_calloc( 1, sizeof *obj->spec ); The error is in the files: .../lib/clock.c .../fd2ps/load.c .../fdesign/fd_fake.c I simply commented this lines... yeahh, I like to make things easier.... :) 4.- I "fixed" another error, in the .../lib/spinner.c file: "spinner.c", line 164: error #2028: _expression_ must have a constant value char buf[ max_len ]; ^ "spinner.c", line 432: error #2028: _expression_ must have a constant value char buf[ max_len ]; ^ "spinner.c", line 452: error #2028: _expression_ must have a constant value char buf[ max_len ]; Yeahh, you can imagine my great solution: [line 164] char buf[ 500 ]; [line 432] char buf[ 500 ]; [line 452] char buf[ 500 ]; 5.- I launch "make" 6.- I launch "make install" 7.- I compile and excute my programs using XForms and, apparently, I got no error because of my "great fixes"... Well, the point is one of the programs is having an unexpected behaviour, but I'll send another mail about that... I hope it helps you. Best regards, Donato |
[Prev in Thread] | Current Thread | [Next in Thread] |