[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1
From: |
Larry W. Virden, x2487 |
Subject: |
Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1 |
Date: |
Mon, 9 Jun 1997 22:20:03 -0400 |
From: Foteos Macrides <address@hidden>
> H E Nelson <address@hidden> wrote:
> >> >gcc -O -DNO_CUSERID -DUNIX -DNCURSES -DFANCY_CURSES -DBSDI -DSVR4 [...]
> >> >HTTCP.o: Undefined symbol ___inet_addr referenced from text segment
> >> ^^^
> >> >
> >> >This is on BSD/OS 2.1, with a recent installation of bind (8.1-T3B),
> >[...]
> >> This must be the extra underscores bug in the inet.h header
> > ^^^
> >It's intentional and serves a purpose; hard to think of as a "bug".
>
> Yes, but he posted an inet.h header definition which had only
> two underscores (immediately below where you clipped by message :).
>
> Using extended underscores instead of clear prefixes for the
> function definitions is a rinky-dink way to serve the purpose. Think
> harder. :) :)
Amazingly enough, Unix _adds_ a leading underscore to symbols in
the symbol table. Thus, a header definition with 2 underscores
shows up in an ld: msg with _three_ - which is exactly what was
reported.
I think __Henry has thought enough for today - perhaps it's someone
else's turn.
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1, Mike Brown, 1997/06/08
- Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1, H E Nelson, 1997/06/09
- Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1, Foteos Macrides, 1997/06/09
- Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1, H E Nelson, 1997/06/09
- Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1, Foteos Macrides, 1997/06/09
- Re: LYNX-DEV compilation err: 2-7-1,fotemods,BSD/OS 2.1,bind 8.1,
Larry W. Virden, x2487 <=