make is giving error while installing cups in hpux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers make is giving error while installing cups in hpux
# 1  
Old 08-13-2008
make is giving error while installing cups in hpux

m installing cups-1.2.12 in hp-ux
./configure didnt give any error.
but make gives the following error

making all in cups...
Compiling adminutil.c...
In file included from http-private.h:142,
from globals.h:35,
from adminutil.c:47:
/usr/include/net/if.h:240: error: field 'iftp_local' has incomplete type
/usr/include/net/if.h:241: error: field 'iftp_remote' has incomplete type
/usr/include/net/if.h:292: error: field 'iftn_src' has incomplete type
/usr/include/net/if.h:293: error: field 'iftn_dst' has incomplete type
In file included from /usr/include/net/if.h:326,
from http-private.h:142,
from globals.h:35,
from adminutil.c:47:
/usr/include/net/if6.h:95: error: field 'iflru_addr' has incomplete type
/usr/include/net/if6.h:96: error: field 'iflru_dstaddr' has incomplete type
/usr/include/net/if6.h:146: error: field 'lifra_addr' has incomplete type
/usr/include/net/if6.h:147: error: field 'lifra_mask' has incomplete type
/usr/include/net/if6.h:178: error: field 'bindl_mn' has incomplete type
/usr/include/net/if6.h:179: error: field 'bindl_coa' has incomplete type
/usr/include/net/if6.h:180: error: field 'bindl_tsrc' has incomplete type
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.


can anybody help me to find out the solution?

# 2  
Old 08-13-2008
Which compiler are you using?
# 3  
Old 08-13-2008
gcc..
# 4  
Old 08-13-2008
Hi Anni,

if.h had the following content at line240:
struct sockaddr_storage iftp_local; /* outer header src */
struct sockaddr_storage iftp_remote; /* outer header dst */

I just deleted sockaddr_storage from the lines having this error.Then I compiled again.
Now its giving the following error

making all in cups...
Compiling http-addrlist.c...
http-addrlist.c: In function 'httpAddrGetList':
http-addrlist.c:286: error: 'AF_INET6' undeclared (first use in this function)
http-addrlist.c:286: error: (Each undeclared identifier is reported only once
http-addrlist.c:286: error: for each function it appears in.)
http-addrlist.c:300: error: 'http_addr_t' has no member named 'ipv6'
http-addrlist.c:301: error: 'http_addr_t' has no member named 'ipv6'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


Now should I again replace the if.h file?
# 5  
Old 08-14-2008
There is a post here which might give you some clues:

Re: Installation of CUPS in HP-UX 11i - Forums - Common UNIX Printing System

Try also searching the other posts on that mailing list. From what I read it doesn't sound like it's straightforward to get going on HP-UX.
# 6  
Old 08-25-2008
Hi Anni

this time i am using ANSI C/C++ compilers .The same error is coming.
My HPUX is 11i v1
Can u please help us.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

cups printing error

Hi All, Having searched for a solution to this issue i found no suggestions which help my particular problem. I am getting the following error message on 1 of the 3 printers i have configured: recoverable: Network host 'xxx.xxx.xxx.xxx' is busy; will retry in 30 seconds All 3 printers are... (0 Replies)
Discussion started by: Tommyk
0 Replies

2. UNIX for Advanced & Expert Users

Make giving error after configuring a package

Hi, I have installed gmake 3.82 in my aix 5.3 system. but while installing a package,after doing./configure ,i give gmake and its throwing below error. # gmake "build/Makefile.rules", line 13: make: 1254-055 Dependency line needs colon or double colon operator. also the command is not... (1 Reply)
Discussion started by: sonal kumar
1 Replies

3. Shell Programming and Scripting

bc giving error: (standard_in) 2: parse error

Below part of script, is working fine sometimes and gives error sometime. I am doing float operations, checking if x > y. ##########CODE########## THRESHOLD="1.25" ratio=$( echo "scale=2; ${prev}/${current}" | bc ) if ; then split_date=`echo ${line} | cut -d, -f2` fi ... (9 Replies)
Discussion started by: manishma71
9 Replies

4. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

5. UNIX for Dummies Questions & Answers

Installing Apache with make options

I am installing apache on freebsd and the screen comes up with make options. Here I would like to deselect DAV and DAV_FS. How can this be done on the command line in order to achieve a silent install? This is what I have currently, but the installation script still enters the menu with the make... (2 Replies)
Discussion started by: figaro
2 Replies

6. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies

7. SCO

SCO 5.0.7 Installing gcc 3.4.3 cause error in make

Did anyone get gcc updated on sco 5.0.7 ? Here is what I did installed Openserver Development System installed Openserver Linker and Application Development Libraries This gave me older gcc compiler 2.95.3 which is required to compile the latest gcc 3.4.3 Configuration went ok but issued... (1 Reply)
Discussion started by: miles556
1 Replies

8. HP-UX

installing java 5.0 in HPUX B11.11

please help me how to install java 5.0 in HPUX ...where can i download java 5.0 for HPUX? thanks winky (6 Replies)
Discussion started by: winky
6 Replies

9. UNIX for Dummies Questions & Answers

Installing Patches in HPux

Hi admins.... I want to install 100 Patches in Hpux.. is it possible to install using single command.... if possible ple give me the solution... (1 Reply)
Discussion started by: Prem
1 Replies

10. UNIX for Advanced & Expert Users

CUPS No pages found! error

Hi, I created a CUPS printer using the CUPS web server 127.0.0.1:631/printers. Can add printers, delete jobs, etc. However I cannot print using CUPS. I run a Test Page and get "No Pages Found!" error. The error log reveals what is below. Any ideas on why this happens and how I can fix it? I am... (0 Replies)
Discussion started by: bestcea
0 Replies
Login or Register to Ask a Question