Unix/Linux Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Compile krb5-appl 1.0.3 on hpux

HP-UX


Tags
hpux, krb5

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-28-2013   -   Original Discussion by Linusolaradm1
Linusolaradm1's Unix or Linux Image
Linusolaradm1 Linusolaradm1 is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 19 April 2018, 2:54 PM EDT
Posts: 196
Thanks: 28
Thanked 5 Times in 5 Posts
Compile krb5-appl 1.0.3 on hpux



Code:
asprintf.c: In function 'vasprintf':
asprintf.c:58: error: 'SIZE_MAX' undeclared (first use in this function)
asprintf.c:58: error: (Each undeclared identifier is reported only once
asprintf.c:58: error: for each function it appears in.)

Someone know how to fix?
Thanks
Sponsored Links
    #2  
Old Unix and Linux 05-28-2013   -   Original Discussion by Linusolaradm1
MadeInGermany's Unix or Linux Image
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 26 April 2018, 10:27 AM EDT
Location: Simplicity
Posts: 4,043
Thanks: 346
Thanked 1,359 Times in 1,225 Posts
An attempt:


Code:
grep -w SIZE_MAX /usr/include/*.h /usr/include/*/*.h
/usr/include/stdint.h:#  define SIZE_MAX        ULONG_MAX

Here (on my system): found in stdint.h
/usr/include is the <standard include path>
Then insert at the beginning of the C source


Code:
#include <stdint.h>

Sponsored Links
    #3  
Old Unix and Linux 05-29-2013   -   Original Discussion by Linusolaradm1
Linusolaradm1's Unix or Linux Image
Linusolaradm1 Linusolaradm1 is offline
Registered User
 
Join Date: Jun 2011
Last Activity: 19 April 2018, 2:54 PM EDT
Posts: 196
Thanks: 28
Thanked 5 Times in 5 Posts
Don't work.
Linux
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
solaris appl migration: sprintf decimal separator coldas57 Programming 5 05-08-2009 10:18 AM
Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX. cpolikowsky Shell Programming and Scripting 2 02-18-2009 07:20 AM
start windows appl. from unix Dplancke UNIX Desktop Questions & Answers 9 07-24-2005 02:12 PM
Why won't this compile on HPUX? clockworks Programming 3 11-19-2004 12:07 PM
compile xev on HPUX 10.20 - errors lan Programming 1 05-16-2002 12:22 PM



All times are GMT -4. The time now is 11:35 AM.