Amanda-Users

Compile errors on Solaris 2.5 (Amanda 2.6.1)

2009-02-13 15:16:53
Subject: Compile errors on Solaris 2.5 (Amanda 2.6.1)
From: stan <stanb AT panix DOT com>
To: amanda users list <amanda-users AT amanda DOT org>
Date: Fri, 13 Feb 2009 15:06:01 -0500
I am making progress on the mission to build 2.6.1 for may archaic Soalris
2.5.1 machines :-)

But now I am running in to the followig:

In file included from genversion.c:31:
amanda.h:743: error: conflicting types for 'bind'
/usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/sys/socket.h:304:
error: previous declaration of 'bind' was here
amanda.h:743: error: conflicting types for 'bind'
/usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/sys/socket.h:304:
error: previous declaration of 'bind' was here
amanda.h:853: error: conflicting types for 'memmove'
amanda.h:853: error: conflicting types for 'memmove'
amanda.h:969: error: conflicting types for 'setpgrp'
/usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/unistd.h:259:
error: previous declaration of 'setpgrp' was here
amanda.h:969: error: conflicting types for 'setpgrp'
/usr/local/lib/gcc/sparc-sun-solaris2.5.1/3.4.2/include/unistd.h:259:
error: previous declaration of 'setpgrp' was here

Any sugestions as to where to start looking for the root cause this
problem.


-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.

<Prev in Thread] Current Thread [Next in Thread>