[comp.sources.d] v20i103: Perl, a language with

leoh@hardy.harris.com (Leo Hinds) (11/08/89)

In article <38300009@modcomp> joe@modcomp.UUCP writes:
>
>> 	gcc -c -fpcc-struct-return -O   doio.c
>> doio.c: In function do_gpwent:
>> doio.c:1587: structure has no member named `pw_change'
>> doio.c:1599: structure has no member named `pw_class'
>> doio.c:1611: structure has no member named `pw_expire'

>Two problems: Configure greps for 'struct tm' in /usr/include/time.h;
>some time.h files have this as 'struct^Itm'.  Change the line in Config
>to 'struct[ ^I]tm'
>to	"if false && test -r /usr/include/sys/time.h".


Joe:
I performed the above surgery on my Configure, and started everything from
scratch, and sure enough the original errors went away, but I have now ended up
with the following monstrosity:

		cc -c -O   doio.c
	"doio.c", line 1436: unknown size
	"doio.c", line 1466: tv_sec undefined
	"doio.c", line 1466: member of structure or union required
	"doio.c", line 1466: illegal lhs of assignment operator
	"doio.c", line 1466: warning: illegal combination of pointer and integer, op =
	"doio.c", line 1467: member of structure or union required
	"doio.c", line 1467: operands of CAST have incompatible types
	"doio.c", line 1467: operands of -= have incompatible types
	"doio.c", line 1468: tv_usec undefined
	"doio.c", line 1468: member of structure or union required
	"doio.c", line 1468: illegal lhs of assignment operator
	"doio.c", line 1468: warning: illegal combination of pointer and integer, op =
	"doio.c", line 1483: tv_sec undefined
	"doio.c", line 1483: member of structure or union required
	"doio.c", line 1483: operands of CAST have incompatible types
	"doio.c", line 1484: tv_usec undefined
	"doio.c", line 1484: member of structure or union required
	"doio.c", line 1484: operands of CAST have incompatible types
	"doio.c", line 1484: operands of / have incompatible types
	"doio.c", line 1484: cannot recover from earlier errors: goodbye!
	*** Error code 1

	Stop.

jos@idca.tds.PHILIPS.nl (Jos Vos) (11/14/89)

In article <168@ntpdvp1.UUCP> davel@ntpdvp1.UUCP (Dave Livingston) writes:

>Third problem: We know have a with an undefined symbol alloca which is being
>referenced by libnet.a...but we can't find it anywhere...any ideas????

Try libPW.a.

-- 
-- ######   Jos Vos   ######   Internet   jos@idca.tds.philips.nl   ######
-- ######             ######   UUCP         ...!mcvax!philapd!jos   ######