The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SCO 5.0.7 Installing gcc 3.4.3 cause error in make miles556 SCO 1 02-22-2008 05:25 PM
installing java 5.0 in HPUX B11.11 winky HP-UX 6 01-22-2008 11:21 PM
Installing Patches in HPux Prem UNIX for Dummies Questions & Answers 1 04-02-2007 05:39 PM
CUPS No pages found! error bestcea UNIX for Advanced & Expert Users 0 01-11-2005 09:02 AM
/dev/rStp0 giving error workingstiff UNIX for Dummies Questions & Answers 1 10-29-2002 06:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-13-2008
rosalina rosalina is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 6
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 (permalink)  
Old 08-13-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
Which compiler are you using?
  #3 (permalink)  
Old 08-13-2008
rosalina rosalina is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 6
gcc..
  #4 (permalink)  
Old 08-13-2008
rosalina rosalina is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 6
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 (permalink)  
Old 08-14-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
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 (permalink)  
Old 08-25-2008
rosalina rosalina is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 6
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0