🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Kim Culhan Sun, 23 Feb 1997 00:00
1.5.1 config.data fails for SunOS 4.1.4
#15272
Author: Kim Culhan
Date: Sun, 23 Feb 1997 00:00
21 lines
1179 bytes
This error occurs using the sample config.data for SunOS 4.1.x:

gcc -I../include -g    -c strerror.c -o strerror.o
In file included from strerror.c:9:
../include/clibrary.h:115: conflicting types for `free'
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.6.3/include/stdlib.h:33:
previous declaration of `free'
../include/clibrary.h:133: conflicting types for `abort'
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.6.3/include/stdlib.h:25:
previous declaration of `abort'

Any pointers are greatly appreciated.

regards
kim

--
kimc@w8hd.org

Re: 1.5.1 config.data fails for SunOS 4.1.4
#15284
Author: Thomas A. McLeary
Date: Mon, 24 Feb 1997 00:00
31 lines
1586 bytes
Kim Culhan <kimc@w8hd.dot_org> wrote in article
<33109C73.41C67EA6@w8hd.dot_org>...
> This error occurs using the sample config.data for SunOS 4.1.x:
> 
> gcc -I../include -g    -c strerror.c -o strerror.o
> In file included from strerror.c:9:
> ../include/clibrary.h:115: conflicting types for `free'
> /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.6.3/include/stdlib.h:33:
> previous declaration of `free'
> ../include/clibrary.h:133: conflicting types for `abort'
> /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.6.3/include/stdlib.h:25:
> previous declaration of `abort'
> ...

What you need to do is look in '/usr/include/stdlib.h' and see what these
functions return under SunOS. Then edit your config.data and set the
definitions for 'ABORTVAL' and 'FREEVAL' as appropriate.

(I ran into the same scenario under SCO OpenServer 5.0.2.)

Thanks!
-Tom
_________________________
Thomas A. McLeary
President
Internet Technologies, Inc.
_________________________


Re: 1.5.1 config.data fails for SunOS 4.1.4
#15293
Author: Edgardo Perez
Date: Mon, 24 Feb 1997 00:00
42 lines
1853 bytes
I had the same problem, and found that an error in my definition
of FREEVAL on config.data, seems it must match your definition on
the gcc include libraries. In my case I changed it to void. While
doing this, I found a group of other definitions that where incorrect.
You may have to do the same.

Good luck,

Edgardo (Ed) Perez
Southwest Research Institute, Computer and Telecommunications Center,
6220 Culebra Rd., P.O. Drawer 28510, San Antonio, TX 78228-0510
voice: (210) 522-2880, fax: (210) 522-3424, e-mail: eperez@swri.edu




In article <33109C73.41C67EA6@w8hd.dot_org>, kimc@w8hd.dot_org says...
>
>This error occurs using the sample config.data for SunOS 4.1.x:
>
>gcc -I../include -g    -c strerror.c -o strerror.o
>In file included from strerror.c:9:
>../include/clibrary.h:115: conflicting types for `free'
>/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.6.3/include/stdlib.h:33:
>previous declaration of `free'
>../include/clibrary.h:133: conflicting types for `abort'
>/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.6.3/include/stdlib.h:25:
>previous declaration of `abort'
>
>Any pointers are greatly appreciated.
>
>regards
>kim
>
>--
>kimc@w8hd.org

-- 


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