Thread View: news.software.nntp
2 messages
2 total messages
Started by John Horn
Sun, 31 Aug 1997 00:00
Unable to compile INN-1.5.1sec2
Author: John Horn
Date: Sun, 31 Aug 1997 00:00
Date: Sun, 31 Aug 1997 00:00
39 lines
1948 bytes
1948 bytes
Hi - I am trying to compile INN-1.5.1sec2. The compile proceeds well until it reaches the point below, then fails. I have included all of the libraries mentioned in Install.ms1 for Solaris (2.5.1) and still the parse_date function apparently does not appear in any of them. I am using gcc (2.7.2 I think). Does anyone have any idea which library this function is in, nm tells me that it does not appear in any of my libraries, but is referenced in libinn.a as UNDEF (via nm). Any help would be greatly appreciated. This is the compile error message I am getting... cd frontends ; make all ; cd .. make[1]: Entering directory `/u/packs/inn-1.5.1sec2/frontends' gcc -lnsl -lsocket -o inews inews.o ../libinn.a -lnsl -lsocket -lelf collect2: ld returned 1 exit status Undefined first referenced symbol in file date_parse ../libinn.a(parsedate.o) xsnprintf ../libinn.a(genid.o) ld: fatal: Symbol referencing errors. No output written to inews make[1]: *** [inews] Error 1 make[1]: Leaving directory `/u/packs/inn-1.5.1sec2/frontends' make: *** [all] Error 1 Could not build INN. Fix any problems and start again. Please email me if you have any suggestions. Regards: John Horn (Please replace the ___ with an @ sign to email me.) email: jhorn1___mail.ci.tucson.az.us Phone: (520) 791-4246 X:206 FAX (520) 791-4595
Re: Unable to compile INN-1.5.1sec2
Author: Jim Seymour
Date: Mon, 01 Sep 1997 00:00
Date: Mon, 01 Sep 1997 00:00
77 lines
3519 bytes
3519 bytes
[Posted and mailed]
In article <340A112A.41C6@azstarnet.com>,
John Horn <jhorn1@azstarnet.com> writes:
> Hi -
>
> I am trying to compile INN-1.5.1sec2. The compile proceeds well until
> it reaches the point below, then fails. I have included all of the
> libraries mentioned in Install.ms1 for Solaris (2.5.1) and still the
> parse_date function apparently does not appear in any of them. I am
> using gcc (2.7.2 I think). Does anyone have any idea which library
> this function is in, nm tells me that it does not appear in any of my
> libraries, but is referenced in libinn.a as UNDEF (via nm).
>
> Any help would be greatly appreciated.
>
> This is the compile error message I am getting...
>
> cd frontends ; make all ; cd ..
> make[1]: Entering directory `/u/packs/inn-1.5.1sec2/frontends'
> gcc -lnsl -lsocket -o inews inews.o ../libinn.a -lnsl -lsocket
> -lelf
> collect2: ld returned 1 exit status
> Undefined first referenced
> symbol in file
> date_parse ../libinn.a(parsedate.o)
> xsnprintf ../libinn.a(genid.o)
> ld: fatal: Symbol referencing errors. No output written to inews
> make[1]: *** [inews] Error 1
> make[1]: Leaving directory `/u/packs/inn-1.5.1sec2/frontends'
> make: *** [all] Error 1
> Could not build INN. Fix any problems and start again.
>
> Please email me if you have any suggestions.
Well, compiling on a 2.4 system with gcc of an unknow vintage,
for date_parse, I see...
for ea in `find . -name \*.[ao] -print`
do
nm -r $ea |grep "date_parse" && echo $ea
done
[46] | 3136| 2564|FUNC |GLOB |0 |4 |./lib/parsedate.o:date_parse
./lib/parsedate.o
[46] | 3136| 2564|FUNC |GLOB |0 |4 |parsedate.o:date_parse
./lib/libinn.a
[46] | 3136| 2564|FUNC |GLOB |0 |4 |parsedate.o:date_parse
./libinn.a
For xsnprintf, since 2.4 doesn't have it, I used the snprintf
stuff provided with 1.5.1sec2 as recommended in the docs and
in "sample-configs/config.data-solaris2.3-4". So...
for ea in `find . -name \*.[ao] -print`
do
nm -r $ea |grep -v UNDEF |grep "xsnprintf" && echo $ea
done
[3] | 0| 96|FUNC |GLOB |0 |2 |./snprintf/snprintf.o:xsnprintf
./snprintf/snprintf.o
[3] | 0| 96|FUNC |GLOB |0 |2 |snprintf.o:xsnprintf
./snprintf/libsnprintf.a
[3] | 0| 96|FUNC |GLOB |0 |2 |snprintf.o:xsnprintf
./libsnprintf.a
I had thought that 2.5.1 was supposed to have snprintf. Perhaps
you need a patch?
Regards,
Jim
---
Jim Seymour | I'm posting with a new "knews" news-reader
jimsun!jseymour@medar.com | installation. Please bear with me whilst
| I work the bugs out. Thanks!
|
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads