🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50676

Re: Trying to build perl under Solaris with gcc2.4.5

#50676
From: Ronald F. Guilmette
Date: Mon, 06 Sep 1993 08:25
36 lines
2165 bytes
In article <1993Aug27.130731.16067@fct.unl.pt> canau@june.fct.unl.pt writes:
>
>  Hi!
>
>	I'm trying to build perl under solaris. I'm using gcc-2.4.5 . I  
>manage to build the executable, but it crashes in the perl tests. I'm  
>compiling with:
>
>gcc -fpcc-struct-return -traditional -Dvolatile=__volatile__  
>-I/usr/ucbinclude -O -g
>
>and linking with:
>
>gcc  -L/usr/ucblib array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o  
>dump.o eval.o form.o  perl.o regcomp.o regexec.o stab.o str.o toke.o  
>util.o hash.o perly.o usersub.o -lsocket -lnsl -ldbm -lmalloc -lm -lelf  
>-lucb  -o perl
>ld: warning: symbol `dc' has differing sizes:
>        (file perly.o value=0x4; file /usr/ucblib/libucb.so value=0x108);
>        perly.o definition taken and updated with larger size
>
>	The ld that I'm using is from Sun. What does this warning mean ?  
>I'm using ucblib only because I need flock to work in perl.

So... I guess that you're flocked now! :-)

But seriously, don't worry about the warning.  It is just telling you that
there was a variable called `dc' declared (perhaps as an int) in perly.c
and that there was some other totally unrelated `dc' variable declared also
in the libucb.so library (and which happened to have a different size).

-- 

-- Ronald F. Guilmette ------------------------------------------------------
------ domain address: rfg@netcom.com ---------------------------------------
------ uucp address: ...!uunet!netcom.com!rfg -------------------------------
Technical Details
Message-ID: <rfgCCxBE9.89L@netcom.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!rfg
References: <1993Aug27.130731.16067@fct.unl.pt>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f495c6ddb86514db
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-09-05 20:21:51 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!rfg
From: rfg@netcom.com (Ronald F. Guilmette)
Subject: Re: Trying to build perl under Solaris with gcc2.4.5
Message-ID: <rfgCCxBE9.89L@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <1993Aug27.130731.16067@fct.unl.pt>
Date: Mon, 6 Sep 1993 08:25:20 GMT
Lines: 36