🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Simone Longoni Tue, 23 Mar 1999 00:00
INN 2.2 on HP-UX 10.20: errors on make
#36122
Author: Simone Longoni
Date: Tue, 23 Mar 1999 00:00
40 lines
2234 bytes
Hello, everyone.

While I am running the 'make' (after a successful configuration) I receive the
following error messages:
cc: "../include/clibrary.h", line 38: error 1000: Unexpected symbol: "UID_T".
cc: "../include/clibrary.h", line 39: error 1000: Unexpected symbol: "GID_T".
cc: "../include/clibrary.h", line 40: error 1000: Unexpected symbol: "PID_T".
cc: "../include/clibrary.h", line 135: error 1000: Unexpected symbol:
"MMAP_PTR".
cc: "../include/clibrary.h", line 158: error 1000: Unexpected symbol: "lseek".


Please, note I tryed to add to config/config.data the following:
##  What is the type of an object size? Usually size_t or unsigned int.
#### =()<SIZE_T                 @<SIZE_T>@>()=
SIZE_T                  size_t
##  What is the type of a passwd uid and gid, for use in chown(2)?
#### =()<UID_T                  @<UID_T>@>()=
UID_T                   uid_t
#### =()<GID_T                  @<GID_T>@>()=
GID_T                   gid_t
##  Type of a pid, for use in kill(2).
#### =()<PID_T                  @<PID_T>@>()=
PID_T                   pid_t

After this, nothing better. The same problem.

Can anyone help me?

Tks a lot,

S.Longoni
---------------------------------
Why waste time learning, when ignorance is instantanous? (Hobbes)
---------------------------------

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: INN 2.2 on HP-UX 10.20: now duplicate symbol
#36196
Author: Ben_Kad
Date: Fri, 26 Mar 1999 00:00
15 lines
1329 bytes
> /usr/ccs/bin/ld: Duplicate symbol "yymaxdepth" in files config_y.o and
> ../lib/libinn.a(parsedate.o)
> /usr/ccs/bin/ld: Found 1 duplicate symbol(s)

I have a similar problem with the program I'm trying to compile. I think the
problem is that the system is still using HP-UX ld (linker) which has some
serious bug. What we have to do is make gcc use it's own linker...

Ben

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: INN 2.2 on HP-UX 10.20: now duplicate symbol
#36204
Author: Simone Longoni
Date: Fri, 26 Mar 1999 00:00
39 lines
2459 bytes
OK. Switching to gcc (instead of HP cc), I no more received that errors, but
now I have the following duplicate symbol:

        gcc -I../include -c -I. version.c -o version.o
         gcc -I../include  -o innfeed article.o  buffer.o  connection.o
    endpoint.o  host.o  innlistener.o  main.o  misc.o  tape.o inet_addr.o
    config_l.o config_y.o version.o ../storage/libstorage.a ../lib/libinn.a
     ../storage/libstorage.a ../lib/libinn.a -lcrypt
collect2: ld returned 1 exit status
/usr/ccs/bin/ld: Duplicate symbol "yymaxdepth" in files config_y.o and
../lib/libinn.a(parsedate.o)
/usr/ccs/bin/ld: Found 1 duplicate symbol(s)

Now, is there a guy that can help me?
Tks,
Simone

In article <7d8dta$1vf$1@nnrp1.dejanews.com>,
  Simone Longoni <trapano@my-dejanews.com> wrote:
> Hello, everyone.
>
> While I am running the 'make' (after a successful configuration) I receive the
> following error messages:
> cc: "../include/clibrary.h", line 38: error 1000: Unexpected symbol: "UID_T".
> cc: "../include/clibrary.h", line 39: error 1000: Unexpected symbol: "GID_T".
> cc: "../include/clibrary.h", line 40: error 1000: Unexpected symbol: "PID_T".
> cc: "../include/clibrary.h", line 135: error 1000: Unexpected symbol:
> "MMAP_PTR".
> cc: "../include/clibrary.h", line 158: error 1000: Unexpected symbol: "lseek".

S.Longoni
---------------------------------
Why waste time learning, when ignorance is instantanous? (Hobbes)
---------------------------------

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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