Ethereal-dev: Re: [Ethereal-dev] Unresolved extern __HUGE when linking to anethereal library o
jscott wrote:
> I've solved the conflicting library problems, I believe. At least I got rid
> of all the problems of library functions being multiple defined, by
> controlling the order of linking libraries and forcing the linker to ignore
> one specific library (libcmtd.lib).
>
> Since you haven't heard of the __HUGE unresolved extern, maybe it's a
> Windows library problem. Thanks. If I figure it out, I'll let you know.
The problem that Ulf is referring to is one of licensing, as described at
http://lists.gnu.org/archive/html/bug-gnu-utils/2004-01/msg00058.html
MSVC7 links with version 7 of the C runtime library by default, which
doesn't ship with Windows. As a result, GPL software built with MSVC7's
default settings can't be publically distributed.
It might be possible to force MSVC7 to link against the older MSVCRT.DLL
(which does ship with Windows), or possibly even link against the Cygwin
DLL.
> Jim Scott
>
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Ulf Lamping
> Sent: Friday, September 24, 2004 11:22 AM
> To: Ethereal development
> Subject: Re: [Ethereal-dev] Unresolved extern __HUGE when linking to
> anethereal library on Windows XP
>
> jscott wrote:
>
>
>>I have a version of the ethereal code which compiles to a static
>>library undeer MSVC7. When I try to link this with an application, I
>>get the error:
>>
>>
>>
>>ethereal_d.lib(ftype-double.obj) : error LNK2001: unresolved external
>>symbol __HUGE
>>
>>
>>
>>Looking at the file ftype-double.c, the only reference to HUGE is in
>>the line:
>>
>>
>>
>> else if (fv->value.floating == HUGE_VAL) {
>>
>> logfunc("\"%s\" causes floating-point overflow.", s);
>>
>>
>>
>>Jim Scott
>>
>
> I don't know about the specific HUGE problem.
>
> But it's known that Ethereal won't compile on MSVC7 for conflicting
> MSVCRT.DLL reasons.
>
> Regards, ULFL
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev