[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.3-030 - fails to build on older HP-UX

From: H.Merijn Brand
Subject: 4.3-030 - fails to build on older HP-UX
Date: Sun, 26 Oct 2014 09:10:32 +0100

4.3-030 builds and runs fine under HP-UX 11.31 and 11.23 (after some
very small edits) but fails HP-UX 11.11, 11.00 and 10.20

The first reason is the use of C++ style comments in the source.
The fix is easy. Just use plain ANSI comments. Old(er) ANSI C-compilers
do NOT recognize // as command (an IMHO they should not)

The three files that ought to be fixed are


The next issue is harder to fix. These three OS's do not seem to have
easy detectable wide-char support, which ends up in this failure:

cc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde 
-L./lib/malloc -L./lib/sh -L/pro/local/lib -s -L/usr/local/lib -L/usr/lib/X11R6 
-L/usr/contrib/X11R6/lib    -Ae -z +Z -AC99 -O2 -I/pro/local/include 
-I/usr/local/include -I/usr/include/X11R6 -I/usr/local/X11R6/include 
-I/usr/contrib/X11R6/include -o bash shell.o eval.o y.tab.o general.o 
make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o variables.o copy_cmd.o 
error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o 
input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o 
arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o siglist.o list.o 
stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o 
xmalloc.o  -lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde 
-lmalloc /pro/local/lib/libintl.a /pro/local/lib/libiconv.a 
/usr/ccs/bin/ld: Unsatisfied symbols:
   is_basic (first referenced in ./lib/sh/libsh.a(casemod.o)) (code)

The last issue is building 64bit version on 11.11:

ld: Unsatisfied symbol "__strtoull" in file ./builtins/libbuiltins.a[printf.o]
ld: Unsatisfied symbol "__strtoll" in file general.o

as on 64bit build strtoull does not exist, as strtoul already *is*
strtoull (likewise for strtoll vs strtol)

H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.21   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Attachment: pgpIneCb7JuKR.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]