Sponsored Content
Top Forums UNIX for Dummies Questions & Answers libnet does not compile on Solaris 9 Post 88138 by eldiego on Tuesday 1st of November 2005 10:33:19 AM
Old 11-01-2005
Hi I downloaded the 1.1.2.1 version which is stable and it shows the same errors as before...

by looking at one of the libraries (libnet-types.h) I found the following:

#ifndef __LIBNET_TYPES_H
#define __LIBNET_TYPES_H

/* Solaris has messed up POSIX nomenclature for these */
#if (__sun__ && __svr4__)
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
#endif

#endif /* __LIBNET_TYPES_H */


what does the part in bold mean?? what should I do then to fix this for solaris???
 

9 More Discussions You Might Find Interesting

1. Programming

How compile a library on solaris(like dll in windows)

Hi all, how do i compile a c program into a library on solaris Thanks in advance Zing (3 Replies)
Discussion started by: zing
3 Replies

2. Programming

Compile and Run C Program on Solaris

Hello Guys, I am using Solaris Developer Express Edition 9/07, I am a beginner. Please tell me how to compile and execute a C program. Please give me your answers clearly, for the compilers cc,c89,c99. I not getting the answer anywhere. Please....... reply to me. Advance thanks......... (0 Replies)
Discussion started by: selva_ss
0 Replies

3. Solaris

Compile Scilab 5.0.2 on Solaris 9

Hello, I'm trying to build scilab 5.0.2 on a Solaris 9 Sparc After more than one hour of compiling, this error msg appear, what could be the problem? if you need any more info i'm here. Thanks for your help. Error msg :... (0 Replies)
Discussion started by: wolfhurt
0 Replies

4. Programming

Compile c program on Sun Solaris OS

Can anyone tell me how to compile a c programs on SunSolaris OS 5.1 Version as gcc and cc are not working Thanks!!!! (4 Replies)
Discussion started by: shivu
4 Replies

5. Solaris

Compile errors on Solaris 10 (missing libwrap)

I'm trying to compile tacacs+-F4.0.4.18 on Solaris 10 (sparc based server). It fails during the "./configure" phase with the following error: checking whether to use libwrap... yes configure: error: Could not find libwrap. You must first install tcp_wrappers. I do a have tcpwrappers... (4 Replies)
Discussion started by: pingmeback
4 Replies

6. Solaris

Compile issues on Core Solaris 10

Hello All! I am trying to compile sudo-1.7.2p1 on Solaris 10 (Core Install). I get the follow error when I run "./configure": checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/xpg4/bin I... (5 Replies)
Discussion started by: pingmeback
5 Replies

7. Solaris

Compile php with curl on solaris 10 question

I have curl compiled into /usr/local. I needed to install another version into /usr/local/curl-7.19.5 and compile php using that directory. I believe I had done that but an ldd run against php shows it is using /usr/local/lib. I have my configure script below showing how it was built and php -i... (1 Reply)
Discussion started by: csgonan
1 Replies

8. Programming

nss compile on solaris 10

so I am trying to build "directory server 389" on solaris 10. I am using this as i guide: 389 Directory Server (Open Source LDAP) I am using solaria studio as my compiler. I built NSPR with no issues. the problem is NSS (Network Security Services) I simply can't find instruction... (0 Replies)
Discussion started by: robsonde
0 Replies

9. Solaris

Samba compile issue on Solaris 9

Hi all :) I've been given a task to try and upgrade Samba on our legacy Solaris 9 (SunOS 5.9) sparc system. Its currently running samba 3.5.3 but we'd like to try and install 3.6.0 (or 3.6.25) to have minimal protocol smbv2. When trying to install from source, it appears to configure fine,... (4 Replies)
Discussion started by: jimbob01
4 Replies
touch_newsgroup(1)					      General Commands Manual						touch_newsgroup(1)

NAME
touch_newsgroup - force leafnode to continue reading low-traffic newsgroups SYNOPSIS
touch_newsgroup [-f groupsfile] [-h hostname] [-v] [newsgroups] DESCRIPTION
touch_newsgroup is a Perl script which reads the last article in the specified newsgroups on the specified using NNTP. This prevents leafnode or similar news-servers from marking those newsgroups as inactive because no-one is reading them. Perl and the Net::NNTP module are required to use this program. On Debian systems these are avalible in the perl5 and libnet-perl pack- ages. OPTIONS
-f groupsfile Read newsgroup names from groupsfile in addition to any specified on command line. Use -f - to read from stdin. -h hostname Read newsgroups on host hostname (default 127.0.0.1) -v Be verbose. Prints the number of the article it reads from each newsgroup. newsgroups names of newsgroups to read. May be omitted if a groupsfile is specified. ENVIRONMENT
Requires Net::NNTP module (available in libnet from CPAN or the libnet-perl package). On Debian systems, this program will by default be run daily on the list of newsgroups specified in /etc/news/leafnode/touch_groups if that file exists. LIMITATIONS
Only one news-server is catered for, the IP address of which is hard-wired into the script as $nntp_host. BUGS
dies if it encounters any problems. AUTHOR
Copyright 1999 Jim Nicholson <j.nicholson@computer.org> SEE ALSO
leafnode(8) 18 June 1999 touch_newsgroup(1)
All times are GMT -4. The time now is 02:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy