Ethereal-dev: [Ethereal-dev] Minor Build Problems with 0.9.5 (HP-UX 10.20)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lutz Jaenicke <Lutz.Jaenicke@xxxxxxxxxxxxxxxxx>
Date: Tue, 13 Aug 2002 13:49:34 +0200
Hi!

I am building ethereal 0.9.5 on HP-UX 10.20 and found two minor build
problems:
* In capture.c:1329, after "case PD_ERR:" there is only a comment and then
  the closing "}" for the switch() statement. HP's ANSI C compiler cannot
  handle this syntax. I thus had to insert a ";" as empty operation.
* When building .libs/etherealS.o (and similar), compilation is performed
  as in (cd .libs && cc -c  +Z -DPIC "etherealS.c"). This means that
  CFLAGS are not passed. This omits optimization (probably void for this
  file), and special settings like +Ae to enable ANSI mode (but doesn't matter
  in this case) or +DAportable (architecture setting, that one DOES hurt
  in my case). I have worked around by modifying libtool for the moment.

Best regards,
	Lutz
-- 
Lutz Jaenicke                             Lutz.Jaenicke@xxxxxxxxxxxxxxxxx
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus