Ethereal-dev: [Ethereal-dev] ethereal 0.8.13 build problems

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

From: fish@xxxxxxxxxxxxxxxxxxxxxx (John R. Vanderpool)
Date: Wed, 8 Nov 2000 10:24:14 -0500 (EST)
irix 6.5.3f
gtk+-1.2.8
ethereal 0.8.13

build bugs:

getopt.h is full of carriage returns (prob from pc to unix ftp probably)

this often isn't caught by developers because gcc ignores them, irix (and
probably some others) cc will not accept it (gives misleading errors about
syntax problems)

--

i had a lot of problems that i ended up hacking config.h and Makefiles a lot
to get around but i think the crux of it all was for some reason configure
did not correctly see that irix does have sys/sockets.h (in /usr/include)
and i couldn't find a clean way to make it think so

cc -DHAVE_CONFIG_H -DNEED_INET_V6DEFS_H -I. -I. -I. -I./..    -I/usr/local/lib/glib/include -I/usr/local/include -c packet.c

 ld32: ERROR 33: Unresolved text symbol "inet_pton4" -- 1st referenced by epan/libethereal.a(inet_pton.o).

---

INSTALL notes say (for gtk i think it was):

        Make sure you install the headers ('make install-incl') when you
         install the library.

no such target install-incl

---

each time you run make it starts from the beginning instead of where it left
off (which made debugging the above hard)