🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Rodney Clark Fri, 08 Aug 1997 00:00
inn 1.6b3 compiling on AIX 4.2.1
#20334
Author: Rodney Clark
Date: Fri, 08 Aug 1997 00:00
17 lines
918 bytes
while compiling tn snprintf stuff I get the following problem.
Any AIX users out there who have already solved this
I'm using cset ++ to compile it.

rclark@klm.nl

$ make
        cc -I../include -O2  -c snprintf.c
"xstdio.h", line 81.15: 1506-334 (S) Identifier fpos_t has already been
defined on line 83 of "/usr/include/sys/types.h".
make: The error code from the last command is 1.




Re: inn 1.6b3 compiling on AIX 4.2.1
#20313
Author: Rodney Clark
Date: Fri, 08 Aug 1997 00:00
41 lines
1997 bytes
Thanks for the reply
Removed the config for snprintf
Now I get this

        cc  -o inews inews.o  ../libinn.a
ld: 0711-317 ERROR: Undefined symbol: .xsnprintf
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information

Any pointers as to which library file snprintf is in. no time top run nm -e on the
entire /usr/lib directory and man snprintf says nobodies home
Time for bed

Christopher D Dukes wrote:

> In article <33EB0A0D.D107C8DB@klm.nl>, Rodney Clark  <rclark@klm.nl> wrote:
> >while compiling tn snprintf stuff I get the following problem.
> >Any AIX users out there who have already solved this
> >I'm using cset ++ to compile it.
> >
> >rclark@klm.nl
> >
> >$ make
> >        cc -I../include -O2  -c snprintf.c
> >"xstdio.h", line 81.15: 1506-334 (S) Identifier fpos_t has already been
> >defined on line 83 of "/usr/include/sys/types.h".
> >make: The error code from the last command is 1.
>
> Why are you building snprintf?
>
> AIX 4.1.5 already has it.  AIX 4.2.1 better have it as well.
> --
> The following must be destroyed.  Microsoft, Lyons Partnership, CyberPromo.
> Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
> Sending unsolicited commercial massmail to this account may result
> in a network outage for your site.  Have a nice day.




Re: inn 1.6b3 compiling on AIX 4.2.1
#20323
Author: Christopher D Dukes
Date: Fri, 08 Aug 1997 00:00
24 lines
1434 bytes
In article <33EB0A0D.D107C8DB@klm.nl>, Rodney Clark  <rclark@klm.nl> wrote:
>while compiling tn snprintf stuff I get the following problem.
>Any AIX users out there who have already solved this
>I'm using cset ++ to compile it.
>
>rclark@klm.nl
>
>$ make
>        cc -I../include -O2  -c snprintf.c
>"xstdio.h", line 81.15: 1506-334 (S) Identifier fpos_t has already been
>defined on line 83 of "/usr/include/sys/types.h".
>make: The error code from the last command is 1.

Why are you building snprintf?

AIX 4.1.5 already has it.  AIX 4.2.1 better have it as well.
-- 
The following must be destroyed.  Microsoft, Lyons Partnership, CyberPromo.
Balkanize USENET!  Vote from the rooftops!! The best thing in RTP is now SMOG!
Sending unsolicited commercial massmail to this account may result
in a network outage for your site.  Have a nice day.

Re: inn 1.6b3 compiling on AIX 4.2.1
#20344
Author: Dan Foster
Date: Sat, 09 Aug 1997 00:00
37 lines
1977 bytes
In article <33EB831B.553979A9@klm.nl>, Rodney Clark  <rclark@klm.nl> wrote:
>Thanks for the reply
>Removed the config for snprintf
>Now I get this
>
>        cc  -o inews inews.o  ../libinn.a
>ld: 0711-317 ERROR: Undefined symbol: .xsnprintf
>ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information

Did you try a 'make clean ; make' ?

You need to post more details... like your config.data file.

My 1.5.1 config.data file, subst'ed into 1.6b3, built everything out of
the box... on an AIX 4.2.1 machine. Been doing this and building everything
this way cleanly since 1.4unoff4...

xnsprintf is a part of the snprintf.c file.

So if you say that you've adjusted the HAVE_SNPRINTF config.data variable
to nothing *after* you'd already built some of the stuff, then the object
file would still have an unresolved pointer to snprintf.{c,o} esp. if
you change build stuff halfway through everything.

Hence the need for a proper 'make clean ; make' when doing major
build changes like that.

If you're still stumped after that, mail me with your config.data, and
I'll tell you what you need to change.

P.S. There is no such thing as too much documentation (of a problem). :)

-Dan Foster
Internet: dsf@frontiernet.net

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