<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic HP-UX 11.11 : nss_ldap compil error in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236607#M11029</link>
    <description>I'm trying to compile nss_ldap-215 onto an HP 11.11 server and getting configure                           errors:&lt;BR /&gt;# CC=/usr/local/bin/gcc \&lt;BR /&gt;LD="ld -Fl /usr/local/openssl/lib/libcrypto.a -Fl /usr/local/openssl/lib/libssl.a - /usr/local/lib/gcc-lib/hppa2.0n-hp-hp-hpux11.00/3.2.3/libgcc.a" \&lt;BR /&gt;LDFLAGS="-L/usr/local/lib" CPFLAGS="-I/usr/local/include/openssl" \&lt;BR /&gt;./configure --prefix=/usr/local --with-tls --disable-slapd  --prefix=/usr/local/nss_ldap &lt;BR /&gt; --enable-rfc2308bis&lt;BR /&gt;&lt;BR /&gt;#more config.log&lt;BR /&gt;.../..&lt;BR /&gt;configure:3721: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC  -DLDAP_REFERRALS -DLDA&lt;BR /&gt;P_DEPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1&amp;gt;&amp;amp;5&lt;BR /&gt;In file included from configure:3712:&lt;BR /&gt;/usr/include/sys/socket.h:484: error: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h:484: error: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:486: error: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h:486: error: parse error before "bsize_t"&lt;BR /&gt;In file included from /usr/include/sys/mp.h:55,&lt;BR /&gt;                 from /usr/include/sys/malloc.h:59,&lt;BR /&gt;                 from /usr/include/net/netmp.h:53,&lt;BR /&gt;                 from /usr/include/net/if.h:59,&lt;BR /&gt;                 from configure:3713:&lt;BR /&gt;/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'&lt;BR /&gt;configure: In function `main':&lt;BR /&gt;configure:3717: error: storage size of `x' isn't known&lt;BR /&gt;configure:3717: warning: unused variable `x'&lt;BR /&gt;configure: failed program was:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What do I need to resolve these errors? &lt;BR /&gt;.../...&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Apr 2004 06:14:25 GMT</pubDate>
    <dc:creator>charbonnier_1</dc:creator>
    <dc:date>2004-04-01T06:14:25Z</dc:date>
    <item>
      <title>HP-UX 11.11 : nss_ldap compil error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236607#M11029</link>
      <description>I'm trying to compile nss_ldap-215 onto an HP 11.11 server and getting configure                           errors:&lt;BR /&gt;# CC=/usr/local/bin/gcc \&lt;BR /&gt;LD="ld -Fl /usr/local/openssl/lib/libcrypto.a -Fl /usr/local/openssl/lib/libssl.a - /usr/local/lib/gcc-lib/hppa2.0n-hp-hp-hpux11.00/3.2.3/libgcc.a" \&lt;BR /&gt;LDFLAGS="-L/usr/local/lib" CPFLAGS="-I/usr/local/include/openssl" \&lt;BR /&gt;./configure --prefix=/usr/local --with-tls --disable-slapd  --prefix=/usr/local/nss_ldap &lt;BR /&gt; --enable-rfc2308bis&lt;BR /&gt;&lt;BR /&gt;#more config.log&lt;BR /&gt;.../..&lt;BR /&gt;configure:3721: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC  -DLDAP_REFERRALS -DLDA&lt;BR /&gt;P_DEPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1&amp;gt;&amp;amp;5&lt;BR /&gt;In file included from configure:3712:&lt;BR /&gt;/usr/include/sys/socket.h:484: error: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h:484: error: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:486: error: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h:486: error: parse error before "bsize_t"&lt;BR /&gt;In file included from /usr/include/sys/mp.h:55,&lt;BR /&gt;                 from /usr/include/sys/malloc.h:59,&lt;BR /&gt;                 from /usr/include/net/netmp.h:53,&lt;BR /&gt;                 from /usr/include/net/if.h:59,&lt;BR /&gt;                 from configure:3713:&lt;BR /&gt;/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'&lt;BR /&gt;configure: In function `main':&lt;BR /&gt;configure:3717: error: storage size of `x' isn't known&lt;BR /&gt;configure:3717: warning: unused variable `x'&lt;BR /&gt;configure: failed program was:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What do I need to resolve these errors? &lt;BR /&gt;.../...&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Apr 2004 06:14:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236607#M11029</guid>
      <dc:creator>charbonnier_1</dc:creator>
      <dc:date>2004-04-01T06:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.11 : nss_ldap compil error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236608#M11030</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can you compile it on HP-UX 11.0 ?. &lt;BR /&gt;&lt;BR /&gt;socket.h will differ in HP-UX 11.11. you try using HP-UX 11.0 socket.h until compilation and see whether you get that error. Put the original socket.h back.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;U.SivaKumar.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Apr 2004 06:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236608#M11030</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2004-04-01T06:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.11 : nss_ldap compil error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236609#M11031</link>
      <description>Thank you very much, it's OK for HP-UX 11.00 but I've another problem :&lt;BR /&gt;# CC=/usr/local/bin/gcc \...&lt;BR /&gt;.../..&lt;BR /&gt;configure:3721: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC  -DLDAP_REFERRALS -DLDA&lt;BR /&gt;P_DEPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1&amp;gt;&amp;amp;5&lt;BR /&gt;configure: In function `main':&lt;BR /&gt;configure:3717: storage size of `x' isn't known&lt;BR /&gt;configure:3717: warning: unused variable `x'&lt;BR /&gt;configure: failed program was:&lt;BR /&gt;#line 3710 "configure"&lt;BR /&gt;#include "confdefs.h"&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;        #include &lt;SYS&gt;&lt;BR /&gt;        #include &lt;NET&gt;&lt;BR /&gt;        #include &lt;NETINET&gt;&lt;BR /&gt;        #include &lt;NETINET&gt;&lt;BR /&gt;int main() {&lt;BR /&gt;struct ether_addr x;&lt;BR /&gt;; return 0; }&lt;BR /&gt;configure:3739: checking for socklen_t&lt;BR /&gt;configure:3749: /usr/local/bin/gcc -c -g -O2 -Wall -fPIC  -DLDAP_REFERRALS -DLDA&lt;BR /&gt;P_DEPRECATED -D_REENTRANT -I. -DHPUX conftest.c 1&amp;gt;&amp;amp;5&lt;BR /&gt;configure: In function `main':&lt;BR /&gt;configure:3745: warning: unused variable `len'&lt;BR /&gt;&lt;/NETINET&gt;&lt;/NETINET&gt;&lt;/NET&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Thu, 01 Apr 2004 09:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236609#M11031</guid>
      <dc:creator>charbonnier_1</dc:creator>
      <dc:date>2004-04-01T09:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.11 : nss_ldap compil error</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236610#M11032</link>
      <description>You donÂ´t have to change the socket.h Try with this..&lt;BR /&gt;&lt;BR /&gt;Socket.h have a bug in the new release 11.11. GCC works on HPUX 11.0 perfectly. but has some issues with not being able to parse correctly the socket.h under /usr/include/sys directory due to incompatibilities between HPUX 11 and HPUX 11.11. The file to has to be changed is:&lt;BR /&gt;&lt;BR /&gt;/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/sys/types.h (could be other, but I almost sure is this one)&lt;BR /&gt;&lt;BR /&gt;What you need to do is add the following lines to that file, right before the final '#endif' in the file and things should work. &lt;BR /&gt;The reason for this change is that some system header files changed between 11.00, where GCC was built, and 11i where you are running it. I think this problem will fixed with a new compiler release.&lt;BR /&gt;These are the lines:&lt;BR /&gt;&lt;BR /&gt;#ifndef _BSIZE32_T&lt;BR /&gt;#    define _BSIZE32_T&lt;BR /&gt;     typedef int32_t   sbsize32_t;&lt;BR /&gt;     typedef uint32_t  bsize32_t;&lt;BR /&gt;#endif&lt;BR /&gt;#ifndef _BSIZE64_T&lt;BR /&gt;#    define _BSIZE64_T&lt;BR /&gt;#    if !defined(__STDC_32_MODE__)&lt;BR /&gt;        typedef int64_t  sbsize64_t;&lt;BR /&gt;        typedef uint64_t bsize64_t;&lt;BR /&gt;#    endif&lt;BR /&gt;#endif&lt;BR /&gt;#ifndef _BSIZE_T&lt;BR /&gt;#    define _BSIZE_T&lt;BR /&gt;#    if defined(_APP32_64BIT_OFF_T) || defined(_KERNEL)&lt;BR /&gt;        typedef int64_t  sbsize_t;&lt;BR /&gt;        typedef uint64_t bsize_t;&lt;BR /&gt;#    else&lt;BR /&gt;        typedef long  sbsize_t;&lt;BR /&gt;        typedef unsigned long bsize_t;&lt;BR /&gt;#    endif&lt;BR /&gt;#endi</description>
      <pubDate>Fri, 21 May 2004 14:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hp-ux-11-11-nss-ldap-compil-error/m-p/3236610#M11032</guid>
      <dc:creator>Julian Morelli</dc:creator>
      <dc:date>2004-05-21T14:21:57Z</dc:date>
    </item>
  </channel>
</rss>

