Installation of CUPS in HP-UX 11i

nivi rnivi26 at yahoo.com
Wed Jun 4 03:41:23 PDT 2008


Hi ...

I think this error is because of IPv6. My system does not have IPv6 installed. I could not install IPv6 due to some problem. So how to solve this problem. Can we comment some lines in http.h file so that it will not throw IPv6 errors.

Thanks,

> This is the error i got.
>
> ng ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/opt/zlib/include -Ae    -D_LARGEFILE_SOU
> RCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/opt/zlib/include +W336,829    -D_LARGE
> FILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENT
> RANT
> Using LDFLAGS=-L../cups -L../filter   -L/usr/local/lib -L/usr/lib/gss -L/opt/zli
> b/lib -Wl,+s,+b,/opt/cups/lib:/usr/local/lib/hpux32:/usr/lib/hpux32/gss   +z +O2
>  -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE_HPUX_SOURCE -D_HPUX_SOURCE
> Using LIBS=-lcups  -lpthread -lsec
> Making all in cups...
> Compiling adminutil.c...
> (Bundled) cc: warning 480: The +z option is available only with the C/ANSI C pro
> duct; ignored.
> (Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C pr
> oduct; ignored.
> (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
> duct; ignored.
> cpp: "/usr/include/sys/stdsyms.h", line 37: warning 2001: Redefinition of macro
> _INCLUDE_HPUX_SOURCE.
> (Bundled) cc: "http.h", line 307: error 1574: Unknown size for "ipv6".
> (Bundled) cc: "http.h", line 307: error 1578: Size of struct or union member is
> unknown.
> (Bundled) cc: "http.h", line 298: error 1618: Structure or union type has unknow
> n size.
> (Bundled) cc: "http.h", line 332: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "http.h", line 332: error 1705: Function prototypes are an ANSI fe
> ature.
> (Bundled) cc: "http.h", line 332: error 1573: Type of "http" is undefined due to
>  an illegal declaration.
> (Bundled) cc: "http.h", line 333: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "http.h", line 333: error 1705: Function prototypes are an ANSI fe
> ature.
> (Bundled) cc: "http.h", line 333: error 1573: Type of "http" is undefined due to
>  an illegal declaration.
> (Bundled) cc: "http.h", line 334: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "http.h", line 334: error 1705: Function prototypes are an ANSI fe
> ature.
> (Bundled) cc: "http.h", line 334: error 1573: Type of "http" is undefined due to
>  an illegal declaration.
> (Bundled) cc: "http.h", line 335: error 1000: Unexpected symbol: "*".
> (Bundled) cc: "http.h", line 336: warning 5: "const" will become a keyword.
> (Bundled) cc: "http.h", line 335: error 1705: Function prototypes are an ANSI fe
> ature.
> (Bundled) cc: "http.h", line 335: error 1573: Type of "http" is undefined due to
>  an illegal declaration.
> (Bundled) cc: "http.h", line 336: error 1000: Unexpected symbol: "*".
> (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>
> It stopped executing.
> Thanks,
>
>
> > > Thanks. I executed this command and it created so many files.
> > >
> > > where should i execute the
> > > *)make and make install command
> > >
> > > I executed inside the source directory of cups. but it throwed errors. my source directory path is var/cups/cups-1.3.7/
> > >
> > > Please help me where i have to execute these 2 commands....
> > >
> > >
> >
> > You should execute in the same directory (cups source directory), where you executed the configure script before.
> >
> > Please execute make again and paste the last 20 lines of the output to this forum.
> >
>





More information about the cups mailing list