>> I upgraded the kernel from 2.4.18 to 2.4.20-18.7.  I used rpm's and
>> everything appeared to go ok.  However, whenever I attempt to compile
>> (make) anything, I get these errors.  Here I am attempting sslproxy,
>> but it does not matter.  Always pthreadtypes and time comes up.  I
>> compared these header files with others on my various 2.4.x systems and
>> they appear to be in good shape.
>>
>> Can anyone point me in the right direction here, recompile kernel,
>> missing files, more source needed, bad gcc?
>>
>> /usr/include/bits/pthreadtypes.h:48: parse error before `size_t'
>> /usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of
>> struct or union
>> /usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize'
>> /usr/include/bits/pthreadtypes.h:51: warning: data definition has no
>> type or storage class
>> /usr/include/bits/pthreadtypes.h:52: warning: data definition has no
>> type or storage class
>> In file included from stdheaders.h:54,
>>                 from sslproxy.c:14:
>> /usr/include/time.h:179: parse error before `strftime'
>> /usr/include/time.h:179: parse error before `size_t'
>> /usr/include/time.h:181: warning: data definition has no type or
>> storage classIn file included from /usr/include/sys/uio.h:29,
>>                 from /usr/include/sys/socket.h:27,
>>                 from stdheaders.h:55,
>>                 from sslproxy.c:14:
>> /usr/include/bits/uio.h:45: parse error before `size_t'
>> /usr/include/bits/uio.h:45: warning: no semicolon at end of struct or
>> union In file included from /usr/include/sys/socket.h:35,
>>                 from stdheaders.h:55,
>>                 from sslproxy.c:14:
>> /usr/include/bits/socket.h:232: parse error before `size_t'
>> /usr/include/bits/socket.h:232: warning: no semicolon at end of struct
>> or union/usr/include/bits/socket.h:239: parse error before `}'
>> /usr/include/bits/socket.h: In function `__cmsg_nxthdr':
>> /usr/include/bits/socket.h:266: `size_t' undeclared (first use in this
>> function)/usr/include/bits/socket.h:266: (Each undeclared identifier is
>> reported only once
>> /usr/include/bits/socket.h:266: for each function it appears in.)
>> /usr/include/bits/socket.h:266: parse error before `__cmsg'
>> /usr/include/bits/socket.h:271: dereferencing pointer to incomplete
>> type /usr/include/bits/socket.h:271: parse error before `~'
>> /usr/include/bits/socket.h:271: parse error before `)'
>> /usr/include/bits/socket.h:272: arithmetic on pointer to an incomplete
>> type /usr/include/bits/socket.h:274: dereferencing pointer to
>> incomplete type /usr/include/bits/socket.h:274: parse error before `~'
>> /usr/include/bits/socket.h:275: parse error before `>'
>> In file included from stdheaders.h:55,
>>                 from sslproxy.c:14:
>> /usr/include/sys/socket.h: At top level:
>> /usr/include/sys/socket.h:131: parse error before `size_t'
>> /usr/include/sys/socket.h:136: parse error before `size_t'
>> /usr/include/sys/socket.h:141: parse error before `size_t'
>> /usr/include/sys/socket.h:149: parse error before `size_t'
>> In file included from /usr/include/signal.h:322,
>>                 from /usr/include/sys/wait.h:30,
>>                 from stdheaders.h:59,
>>                 from sslproxy.c:14:
>> /usr/include/bits/sigstack.h:54: parse error before `size_t'
>> /usr/include/bits/sigstack.h:54: warning: no semicolon at end of struct
>> or union/usr/include/bits/sigstack.h:55: warning: data definition has
>> no type or storage class
>>
>>
>> later,
>> downsize
>>
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:[EMAIL PROTECTED]
>> https://www.redhat.com/mailman/listinfo/redhat-list

>Not so sure this is related to your kernel upgrade.  You don't mention
>what version of Redhat you are running but upgrading your glibc and
>glibc-devel packages might help.
>
>Regards,
>Sean

Running rh7.2 (sorry left that out) and my glibc's I think are up2date <pun>
showing (rpm -qa | grep -i glibc):
glibc-devel-2.2.4-32
glibc-common-2.2.4-32
glibc-2.2.4-32

should I drop it down to 2.2.4-31 (that is on another rh72 box without
compile errors such as these above)?

thanks

later,
downsize



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to