Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pthreads/dlopen issue when building krb-1.6.3 on AIX 6.1?

39 views
Skip to first unread message

Luke Scharf

unread,
May 13, 2009, 11:17:27 AM5/13/09
to kerb...@mit.edu
I'm attempting to build MIT Kerberos version 1.6.1 on AIX 6.1. I'm
mostly in need of the client libraries and utilities.

I'm using the following special additions to the build environment:

$ export PTHREAD_LIBS="-lpthread"
$ export RPATH_FLAG="-Wl,-brtl,-blibpath:"


I'm using the following ./configure command:

$ ./configure --prefix=/usr/local/krb5-1.6.3
--enable-log-preauth-logins --enable-login-print-issue
--with-multihomed-fixes --enable-app-proxy --with-passive-mode-off
--without-anonymous-ftp


And I get the following results when I run it:

[snip]
configure: enabling thread support
checking for pthread_join in LIBS=-lpthread with CFLAGS=... yes
checking for joinable pthread attribute... unknown
configure: WARNING: we do not know how to create joinable pthreads
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... cc_r
configure: PTHREAD_CC = cc_r
configure: PTHREAD_CFLAGS = -D_THREAD_SAFE
configure: PTHREAD_LIBS = -lpthread
checking for pthread_once... yes
checking for pthread_rwlock_init... yes
configure: rechecking with PTHREAD_... options
checking for pthread_rwlock_init in -lc... yes
checking for library containing dlopen... none required
checking keyutils.h usability... no
checking keyutils.h presence... no
checking for keyutils.h... no
configure: disabling static libraries
configure: WARNING: shared libraries not supported on this architecture
configure: error: must enable one of shared or static libraries
$


Does anyone have any suggestions?

Many thanks,
-Luke

miguel....@arcelormittal.com

unread,
May 13, 2009, 11:26:28 AM5/13/09
to luke....@clusterbee.net, kerb...@mit.edu
Luke

You should take a look at the config/shlib.conf
Apparently krb5-1.6.3 is not yet AIX6.1 aware.
Just alter the *-*-aix5*) on line 410 to f.e. *-*-aix*)

Should I file a bug report for this?


Met vriendelijke groet
Best regards
Bien � vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023
E miguel....@arcelormittal.com
www.arcelormittal.com/gent

-----Oorspronkelijk bericht-----
Van: kerberos...@mit.edu [mailto:kerberos...@mit.edu] Namens Luke Scharf
Verzonden: woensdag 13 mei 2009 17:17
Aan: kerb...@mit.edu
Onderwerp: pthreads/dlopen issue when building krb-1.6.3 on AIX 6.1?

Many thanks,
-Luke

________________________________________________
Kerberos mailing list Kerb...@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

****
This message and any attachment are confidential, intended solely for the use of the individual or entity to whom it is addressed and may be protected by professional secrecy or intellectual property rights.
If you have received it by mistake, or are not the named recipient(s), please immediately notify the sender and delete the message. You are hereby notified that any unauthorized use, copying or dissemination of any or all information contained in this message is prohibited.
Arcelormittal shall not be liable for the message if altered, falsified, or in case of error in the recipient.
This message does not constitute any right or commitment for ArcelorMittal except when expressly agreed otherwise in writing in a separate agreement.
****


Luke Scharf

unread,
May 13, 2009, 12:16:47 PM5/13/09
to miguel....@arcelormittal.com, kerb...@mit.edu
Awesome! Editing shlib.conf did the trick, and I'm unstuck!

I do consider this a bug. If you feel like submitting the report, that
would save me the trouble of figuring out and signing up for an account
on the bug tracking system. If not, I'll be happy to be a good
open-source citizen and submit it.

Thanks again!
-Luke

I'm still mucking with getting pthreads enabled properly, but I have a
little bit more Googling to do before I can ask a proper question about
that.

miguel....@arcelormittal.com

unread,
May 13, 2009, 12:40:16 PM5/13/09
to luke....@clusterbee.net, kerb...@mit.edu
I'll open a bug report for it.
If you have further questions on how to get this going on AIX, you can always send me a mail.

Good luck!


Met vriendelijke groet
Best regards
Bien � vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

-----Oorspronkelijk bericht-----
Van: Luke Scharf [mailto:luke....@clusterbee.net]
Verzonden: woensdag 13 mei 2009 18:17
Aan: SANDERS Miguel
CC: kerb...@mit.edu
Onderwerp: Re: pthreads/dlopen issue when building krb-1.6.3 on AIX 6.1?

Luke Scharf

unread,
May 13, 2009, 2:23:17 PM5/13/09
to miguel....@arcelormittal.com, kerb...@mit.edu
I'm using the same build-environment as before. The pthreads error may
be similar, but I haven't been able to figure out where to look to see
how pthreads is detected.

Output:

checking for constructor/destructor attribute support... (cached) yes,yes
configure: enabling thread support
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... no
checking whether pthreads work with -pthreads... no
checking whether pthreads work with -mthreads... no
checking for the pthreads library -lpthread... no
checking whether pthreads work with --thread-safe... no
checking whether pthreads work with -mt... no
checking for pthread-config... no
configure: error: cannot determine options for enabling thread support; try --disable-thread-support
configure: error: /bin/sh './configure' failed for plugins/preauth/pkinit


Does this ring any bells?

Also, is there any big disadvantage to building the client-side
libraries and utilities with --disable-thread-support?

Thanks again,
-Luke

miguel....@arcelormittal.com

unread,
May 13, 2009, 2:40:30 PM5/13/09
to luke....@clusterbee.net, kerb...@mit.edu
Well, I thought it wasn't really necesarry to compile pthreads support since I was, just like you, only interested in the client libraries.
Could you just send the config.log part where is does the test for:
"checking for the pthreads library -lpthreads... No"


Met vriendelijke groet
Best regards
Bien � vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

-----Oorspronkelijk bericht-----
Van: Luke Scharf [mailto:luke....@clusterbee.net]

Verzonden: woensdag 13 mei 2009 20:23
Aan: SANDERS Miguel; kerb...@mit.edu

Luke Scharf

unread,
May 13, 2009, 3:14:17 PM5/13/09
to miguel....@arcelormittal.com, kerb...@mit.edu
If I unset PTHREAD_LIBS and RPATH_FLAG, the error messages look useful.
Also the make fails, if I supply the --disable-thread-support flag.

Here is the relevant section of the log:

configure:4930: enabling thread support
configure:5131: checking for the pthreads library -lpthreads
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c -lpthreads >&5
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5078: checking whether pthreads work without any flags
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c >&5
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with -Kthread
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -Kthread conftest.c >&5
gcc: unrecognized option '-Kthread'
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with -kthread
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -kthread conftest.c >&5
gcc: unrecognized option '-kthread'
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5131: checking for the pthreads library -llthread
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c -llthread >&5
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with -pthread
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -pthread conftest.c >&5
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with -pthreads
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -pthreads conftest.c >&5
gcc: unrecognized option '-pthreads'
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with -mthreads
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -mthreads conftest.c >&5
cc1: error: unrecognized command line option "-mthreads"
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5131: checking for the pthreads library -lpthread
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c -lpthread >&5
In file included from /usr/include/sys/cred.h:49,
from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
/usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'
In file included from /usr/include/sys/thread.h:43,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:51,
from /usr/include/pthread.h:64,
from conftest.c:34:
/usr/include/sys/cred.h:331: error: expected specifier-qualifier-list before 'rid_t'
In file included from /usr/include/pthread.h:66,
from conftest.c:34:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or '...' before 'rid_t'
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with --thread-safe
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic --thread-safe conftest.c >&5
cc1: error: unrecognized command line option "-fthread-safe"
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5083: checking whether pthreads work with -mt
configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -mt conftest.c >&5
cc1: error: unrecognized command line option "-mt"
configure:5175: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Kerberos 5"
| #define PACKAGE_TARNAME "krb5"
| #define PACKAGE_VERSION "1.6.3"
| #define PACKAGE_STRING "Kerberos 5 1.6.3"
| #define PACKAGE_BUGREPORT "krb5...@mit.edu"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define KRB5_KRB4_COMPAT 1
| #define HAVE_BT_RSEQ 1
| #define KRB5_DNS_LOOKUP_KDC 1
| #define KRB5_DNS_LOOKUP 1
| #define HAVE_RES_NINIT 1
| #define HAVE_RES_NCLOSE 1
| #define HAVE_RES_NSEARCH 1
| #define HAVE_NS_INITPARSE 1
| #define HAVE_NS_NAME_UNCOMPRESS 1
| #define HAVE_DN_SKIPNAME 1
| #define HAVE_RES_SEARCH 1
| #define DELAY_INITIALIZER 1
| #define CONSTRUCTOR_ATTR_WORKS 1
| #define DESTRUCTOR_ATTR_WORKS 1
| #define USE_LINKER_FINI_OPTION 1
| #define ENABLE_THREADS 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:5202: result: no
configure:5091: checking for pthread-config
configure:5118: result: no
configure:5403: error: cannot determine options for enabling thread support; try --disable-thread-support


Any thoughts?

Thanks,
-Luke

miguel....@arcelormittal.com

unread,
May 13, 2009, 3:21:12 PM5/13/09
to luke....@clusterbee.net, kerb...@mit.edu
Luke

I have seen similar errors in the past and I couldn't figure them out either.
Then I used IBM XLC instead of gcc and then everything went fine (Never really knew what the problem was).
Do you want me to compile the client libs with cc? If so, 32 of 64 bit?


Met vriendelijke groet
Best regards
Bien � vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

-----Oorspronkelijk bericht-----
Van: Luke Scharf [mailto:luke....@clusterbee.net]

Verzonden: woensdag 13 mei 2009 21:14

Luke Scharf

unread,
May 13, 2009, 3:14:25 PM5/13/09
to miguel....@arcelormittal.com, kerb...@mit.edu

Ken Raeburn

unread,
May 13, 2009, 4:35:55 PM5/13/09
to Luke Scharf, Kerberos mailing list
On May 13, 2009, at 15:14, Luke Scharf wrote:
> Here is the relevant section of the log:
>
> configure:4930: enabling thread support
> configure:5131: checking for the pthreads library -lpthreads
> configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes
> -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic
> conftest.c -lpthreads >&5
> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:
> /usr/include/sys/secattr.h:49: error: expected specifier-
> qualifier-list before 'rid_t'

This sounds like the configure script found GCC on the system, but GCC
can't compile some of the system headers. (Or, maybe certain headers
require the prior inclusion of certain other headers that the tests
aren't set up to do.) If you want to keep a broken GCC installation
on your system, use the CC=... option to configure to force it to use
the IBM compiler.

The main autoconf code for testing thread compilation options is in
src/config/ac-archive/acx_pthread.m4.

I'm curious what fails when you try to disable thread support and
build it, but if it's just another case of GCC not handling system
headers, you might follow that up on a GCC support list. (From my
experience with GCC, I'd suggest some things to check for at first:
Install location for GCC was changed somehow so it lost track of where
to find its "fixed" copy of some system headers that are adjusted to
remove constructs that depend on the native compiler. An old GCC
installation predates a major OS upgrade that changed system headers
in a significant way, leading to inconsistencies. An old version of
GCC where the header-fixing script didn't know about some interesting
quirks added in the latest OS rev.)

Also, make sure you're using a fresh build tree (or a clean source
tree, if you're building inside the source tree) when you switch
compilers. For performance, the configure script caches some
information about the build environment so it doesn't have to be re-
checked if the script is run again, but if you've switched compilers
that information may be invalid.

--
Ken Raeburn / rae...@mit.edu / no longer at MIT Kerberos Consortium

miguel....@arcelormittal.com

unread,
May 13, 2009, 3:34:47 PM5/13/09
to luke....@clusterbee.net, kerb...@mit.edu
Indeed :-)

Good luck!


Met vriendelijke groet
Best regards
Bien � vous

Miguel SANDERS
ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

-----Oorspronkelijk bericht-----
Van: Luke Scharf [mailto:luke....@clusterbee.net]

Verzonden: woensdag 13 mei 2009 21:33


Aan: SANDERS Miguel
CC: kerb...@mit.edu
Onderwerp: Re: pthreads/dlopen issue when building krb-1.6.3 on AIX 6.1?

I had the same thought, after looking at log you requested. When I defined CC=xlc, the configure finished and the build is off and running!

I guess the moral of the story is to do things IBM's way on IBM's platform. :-)

Many thanks,
-Luke

miguel....@arcelormittal.com wrote:
> Luke
>
> I have seen similar errors in the past and I couldn't figure them out either.
> Then I used IBM XLC instead of gcc and then everything went fine (Never really knew what the problem was).
> Do you want me to compile the client libs with cc? If so, 32 of 64 bit?
>
>

> Met vriendelijke groet
> Best regards
> Bien � vous
>
> Miguel SANDERS
> ArcelorMittal Gent
>
> UNIX Systems & Storage
> IT Supply Western Europe | John Kennedylaan 51
> B-9042 Gent
>
> T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023 E
> miguel....@arcelormittal.com www.arcelormittal.com/gent
>
> -----Oorspronkelijk bericht-----
> Van: Luke Scharf [mailto:luke....@clusterbee.net]

> Verzonden: woensdag 13 mei 2009 21:14


> Aan: SANDERS Miguel
> CC: kerb...@mit.edu
> Onderwerp: Re: pthreads/dlopen issue when building krb-1.6.3 on AIX 6.1?
>

> If I unset PTHREAD_LIBS and RPATH_FLAG, the error messages look useful.
> Also the make fails, if I supply the --disable-thread-support flag.
>

> Here is the relevant section of the log:
>
> configure:4930: enabling thread support
> configure:5131: checking for the pthreads library -lpthreads
> configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c -lpthreads >&5
> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c >&5


> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> configure:5131: checking for the pthreads library -llthread
> configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c -llthread >&5


> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -pthread conftest.c >&5


> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> configure:5131: checking for the pthreads library -lpthread

> configure:5169: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic conftest.c -lpthread >&5


> In file included from /usr/include/sys/cred.h:49,
> from /usr/include/sys/thread.h:43,
> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

> /usr/include/sys/secattr.h:49: error: expected specifier-qualifier-list before 'rid_t'
> /usr/include/sys/secattr.h:65: error: expected specifier-qualifier-list before 'authnum_t'

> In file included from /usr/include/sys/thread.h:43,


> from /usr/include/sys/ptrace.h:28,
> from /usr/include/sys/proc.h:48,
> from /usr/include/sys/pri.h:43,
> from /usr/include/sys/sched.h:38,
> from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from conftest.c:34:

0 new messages