Discussion:
[Proftpd-user] Seeing this error during make
Alexander, Bobby J (Bj)
2016-09-29 19:35:18 UTC
Permalink
I'm trying to compile proftpd1.3.5b for a Solaris 8 server.
I'm getting the following error when running the make command.

In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
from pr_fnmatch.c:57:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/types.h:256: warning: empty declaration
In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/time.h:94,
from /usr/include/sys/time.h:411,
from /usr/include/sys/select.h:17,
from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/types.h:361,
from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
from pr_fnmatch.c:57:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `pr_fnmatch.o'
Current working directory /var/tmp/proftpd/proftpd-1.3.5b/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'

BJ Alexander
IT Cloud Services - Verizon IT
Solaris Engineering
phone: 813 978-2176
mailto: ***@one.verizon.com
pager: bj.alexander+***@one.verizon.com
ITCS Solaris Engineering group email: ITCS-OCS-UNIX-***@verizon.com<mailto:ITCS-OCS-UNIX-***@verizon.com>

Confidentiality Notice: This e-mail message, including any attachments, contains privileged and confidential information, and is intended solely for the use of the intended recipient(s). Any unauthorized review, use, disclosure, distribution or copying of the same is expressly prohibited. If you are not the intended recipient, please contact the sender by replying to this e-mail and destroy/delete all copies of this message
TJ Saunders
2016-09-29 20:20:26 UTC
Permalink
Post by Alexander, Bobby J (Bj)
I'm trying to compile proftpd1.3.5b for a Solaris 8 server.
I'm getting the following error when running the make command.
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
warning: empty declaration
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/time.h:94,
from /usr/include/sys/time.h:411,
from /usr/include/sys/select.h:17,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/types.h:361,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `pr_fnmatch.o'
Current working directory /var/tmp/proftpd/proftpd-1.3.5b/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'
Interesting. This makes it look like the ProFTPD headers are defining
something which is interfering with defines in those system headers.
Would you be able to send that /usr/include/sys/siginfo.h file as an
attachment, so that we could take a look?

Cheers,
TJ
Bob Friesenhahn
2016-09-29 22:53:28 UTC
Permalink
Post by Alexander, Bobby J (Bj)
I'm trying to compile proftpd1.3.5b for a Solaris 8 server.
I'm getting the following error when running the make command.
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
warning: empty declaration
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/time.h:94,
The line above should provide a good clue as to a likely problem.

Solaris 8 is identified as 'sparc-sun-solaris2.8'. When GCC is
installed, a 'fixincludes' step processes operating system headers and
puts the processed versions in the compiler's installation directory.
As a result, unless a special 'fixincludes' step has been done to
assure that the compiler's headers are from 2.8, there is a mix of
fixed header files from 2.6 and unfixed from 2.8.

Solaris 2.6 is very old (from 1997). Solaris 8 is from 2000.

Bob
--
Bob Friesenhahn
***@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Alexander, Bobby J (Bj)
2016-09-30 13:30:43 UTC
Permalink
Tj,
See attached.
Bj

-----Original Message-----
From: TJ Saunders [mailto:***@castaglia.org]
Sent: Thursday, September 29, 2016 4:20 PM
To: Alexander, Bobby J (Bj); proftp-***@lists.sourceforge.net
Subject: [E] Re: [Proftpd-user] Seeing this error during make
Post by Alexander, Bobby J (Bj)
I'm trying to compile proftpd1.3.5b for a Solaris 8 server.
I'm getting the following error when running the make command.
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
warning: empty declaration
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/time.h:94,
from /usr/include/sys/time.h:411,
from /usr/include/sys/select.h:17,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/types.h:361,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `pr_fnmatch.o'
Current working directory /var/tmp/proftpd/proftpd-1.3.5b/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'
Interesting. This makes it look like the ProFTPD headers are defining something which is interfering with defines in those system headers.
Would you be able to send that /usr/include/sys/siginfo.h file as an attachment, so that we could take a look?

Cheers,
TJ
Alexander, Bobby J (Bj)
2016-10-04 19:03:42 UTC
Permalink
Hello TJ,
Was wondering if you had a chance to look that the header file I sent you?!
Bj

-----Original Message-----
From: Alexander, Bobby J (Bj) [mailto:***@verizon.com]
Sent: Friday, September 30, 2016 9:31 AM
To: ***@castaglia.org; proftp-***@lists.sourceforge.net
Subject: Re: [Proftpd-user] [E] Re: Seeing this error during make

Tj,
See attached.
Bj

-----Original Message-----
From: TJ Saunders [mailto:***@castaglia.org]
Sent: Thursday, September 29, 2016 4:20 PM
To: Alexander, Bobby J (Bj); proftp-***@lists.sourceforge.net
Subject: [E] Re: [Proftpd-user] Seeing this error during make
Post by Alexander, Bobby J (Bj)
I'm trying to compile proftpd1.3.5b for a Solaris 8 server.
I'm getting the following error when running the make command.
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
warning: empty declaration
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/time.h:94,
from /usr/include/sys/time.h:411,
from /usr/include/sys/select.h:17,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/sys/types.h:361,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.7.2.3/include/pwd.h:20,
from ../include/conf.h:55,
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `pr_fnmatch.o'
Current working directory /var/tmp/proftpd/proftpd-1.3.5b/lib
*** Error code 1
make: Fatal error: Command failed for target `lib'
Interesting. This makes it look like the ProFTPD headers are defining something which is interfering with defines in those system headers.
Would you be able to send that /usr/include/sys/siginfo.h file as an attachment, so that we could take a look?

Cheers,
TJ

Continue reading on narkive:
Loading...