I'm trying to compile libnet in Solaris 9, but it seems to have syntax errors. I got it from www.packetfactory.net/libnet/ which is the address the computer suggested me to download it.
I downloaded the 1.1.2.1 version which is supposed to be stable
Anybody knows if the code has errors?? or is it that I'm missing something to compile it??
/* Solaris has messed up POSIX nomenclature for these */
#if (__sun__ && __svr4__) <---------- remove this line make it: /* #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 <---------remove this line make it: /* #endif */
It looks like the statements inside the if block are not being #defined.
Those changes are called commenting out a line of C code.
If you make those changes and it does not help, then go back in and revert the changes.
What it means is that the typedef statements in a file /usr/include/sys/types.h
are not like they are on other POSIX-compliant systems. Welcome to the wonderful world of porting code in unix. DO NOT change /usr/include/sys/types.h !!
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)
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)
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)
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)
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)
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)
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)