Re: Linux build: Dwarf Error: Invalid or unhandled FORM value

This solves the problem:

1. Since the error suggested  :661: the use of `tmpnam' is dangerous, better 
use `mkstemp', changed line 360 in HTWWWStr.c to mkstemp
2. Changed the same between line 646 and 669 in HTInet.c.

And now the lib builds fine on Red Hat 2.4.9-e.12enterprise.

-Tanmay

-----------------------
Tanmay Patwardhan
Applications Developer,
UBS Warburg,
Chicago, IL.
-----------------------





>From: "Tanmay Patwardhan" <tpthesis@hotmail.com>
>To: www-lib@w3.org
>Subject: Linux build:  Dwarf Error: Invalid or unhandled FORM value
>Date: Tue, 03 Jun 2003 17:21:30 -0500
>
>
>Hi,
>
>I am trying to build Libwww on Linux and get the following error when it 
>reached "LineMode". It also happens for head.c, but I bypassed Examples 
>just to test.
>
>/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
>/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
>/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
>../../Library/src/.libs/libwwwcore.a(HTInet.o): In function 
>`HTGetTmpFileName':
>:661: the use of `tmpnam' is dangerous, better use `mkstemp'
>collect2: ld returned 1 exit status
>make[3]: *** [www] Error 1
>make[3]: Leaving directory 
>`/home/patwarta/linuxw3c/w3c-libwww-5.4.0/LineMode/src'
>
>What could this be due to and any ideas on how to resolve it ?
>
>Thanks in advance,
>Tanmay
>
>
>
>-----------------------
>Tanmay Patwardhan
>Applications Developer,
>UBS Warburg,
>Chicago, IL.
>-----------------------
>
>_________________________________________________________________
>Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
>http://join.msn.com/?page=features/junkmail
>

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

Received on Tuesday, 3 June 2003 20:05:32 UTC