[comp.mail.elm] Elm fails to compile after patches

cluther@supernet.haus.com (Clay Luther) (09/25/90)

I recently applied patches 1 - 6 to our copy of elm, but no it fails to
compile.  The offending lines are in aliaslib.c.

aliaslib.c:         lseek(user_data, ntohl(user_hash_table[loc].byte), 0L);
aliaslib.c:         lseek(system_data, ntohl(system_hash_table[loc].byte), 0L);

The offending symbol is ntohl().  The error occurs during make here:

        cd src; /bin/make -b all
        cc  -o ../bin/elm addr_util.o    alias.o                 aliasdb.o     u
undefined                       first referenced
 symbol                             in file
ntohl                               aliaslib.o
ld fatal: Symbol referencing errors. No output written to ../bin/elm
*** Error code 13     

I looked for ntohl in our libs and found it in /usr/lib/librpc.a.  I added
-lrpc to the included libraries list in config.sh, and eventually reran
Configure with -d option.  Still, the same error occurs.  I have issued a
make clean before a make all, and still get the same results.

Obviously, this did not occur before - everything compiled before I applied 
the patches.

We are runnin SysV, rel 3, CTIX/386.

Thanks.

-- 
Clay Luther                      cluther@supernet.haus.com
Postmaster                       cluther@supernet.lonestar.org
Harris Adacom Corp, Dallas, Tx   uunet!iex!supernet!cluther
214/386-2356                     Your mileage may vary.  Void where prohibited.