bugResolver User Layer Interface - Bugs: bug #14947, Failure to build ruli on Solaris 9

 
 

bug #14947: Failure to build ruli on Solaris 9

Submitted by:  None
Submitted on:  Thu 10 Nov 2005 04:58:07 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Everton da Silva Marques <evertonm>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 21 Dec 2005 11:43:46 AM UTC, comment #2:

I have removed from RULI's CVS the need
to reference members of "struct in6_addr".
This change should make the compilation
easier across different systems. The
improvement will be available in the
next release of RULI (0.36).

Until then, one could just replace the
original ruli_addr.c (from 0.35) with the
latest file from CVS and the recompile RULI.
Specifically, this is the fixed ruli_addr.c:
http://cvs.savannah.nongnu.org/viewcvs/ruli/src/ruli_addr.c?rev=1.24&root=ruli

Sam, if you could confirm whether this
fix meets your need, please let me know.
Thanks in advance!

Everton

Everton da Silva Marques <evertonm>
Project AdministratorIn charge of this item.
Fri 11 Nov 2005 06:10:54 PM UTC, comment #1:

Yes, I have tested ruli under Solaris.

Yes, the difficulty probably lies on
the strict need of IPv6.

Unfortunately, I will be unable to take
a closer look at this issue until
Wednesday, 2005-11-16.

Everton da Silva Marques <evertonm>
Project AdministratorIn charge of this item.
Thu 10 Nov 2005 04:58:07 PM UTC, original submission:

Hi,

I'm trying to compile ruli on Solaris 9 using gcc 3.3.2 (gcc was installed from the package provided on the Solaris 9 Software Companion CD).

I've managed to source a copy of liboops 1.0 (not currently available from the main site) but I'm having trouble compiling libruli - shell log included below.

Any help would be gratefully received. Has anyone actually managed to build ruli on Solaris?

Many thanks,

Sam.

Sun Microsystems Inc. SunOS 5.9 Generic May 2002
# cd tmp
# gunzip ruli_0.35.orig.tar.gz
# tar xvf ruli_0.35.orig.tar
x ruli-0.35, 0 bytes, 0 tape blocks

<SNIP>

# cd rul*
# ls -al
total 288
drwxr-xr-x 11 1017 1017 919 Sep 1 12:17 .
drwxrwxrwt 7 root sys 760 Nov 10 14:53 ..
-rw-r--r-- 1 1017 1017 18007 Nov 28 2002 COPYING
-rw-r--r-- 1 1017 1017 565 Jun 24 2004 Makefile
-rw-r--r-- 1 1017 1017 4467 Jun 14 2004 README
-rw-r--r-- 1 1017 1017 10466 Aug 31 11:43 TODO
drwxr-xr-x 3 1017 1017 243 Sep 1 12:17 doc
drwxr-xr-x 2 1017 1017 587 Sep 1 12:17 guile
drwxr-xr-x 3 1017 1017 305 Sep 1 12:17 java
drwxr-xr-x 2 1017 1017 573 Sep 1 12:17 lua
drwxr-xr-x 3 1017 1017 178 Sep 1 12:17 perl
drwxr-xr-x 3 1017 1017 241 Sep 1 12:17 php
drwxr-xr-x 2 1017 1017 1330 Sep 1 12:17 sample
drwxr-xr-x 2 1017 1017 3180 Sep 1 12:17 src
drwxr-xr-x 3 1017 1017 2820 Sep 1 12:17 tools
# cd src
# ls
Makefile ruli_host.h ruli_oop.h ruli_sock.h
libruli.ver ruli_http.c ruli_parse.c ruli_srv.c
ruli.h ruli_http.h ruli_parse.h ruli_srv.h
ruli_addr.c ruli_isaac.c ruli_rand.c ruli_sync.c
ruli_addr.h ruli_isaac.h ruli_rand.h ruli_sync.h
ruli_conf.c ruli_limits.h ruli_res.c ruli_txt.c
ruli_conf.h ruli_list.c ruli_res.h ruli_txt.h
ruli_fsm.c ruli_list.h ruli_search.c ruli_util.c
ruli_fsm.h ruli_mem.c ruli_search.h ruli_util.h
ruli_getaddrinfo.c ruli_mem.h ruli_smtp.c
ruli_getaddrinfo.h ruli_msg.c ruli_smtp.h
ruli_host.c ruli_msg.h ruli_sock.c
# ls /usr/local/lib
libcrypto.a liboop-glib2.so.0.0.0 liboop.so.4.0.1
liboop-glib2.a liboop.a libssl.a
liboop-glib2.la liboop.la pkgconfig
liboop-glib2.so liboop.so ser
liboop-glib2.so.0 liboop.so.4
# make OOP_BASE_DIR=/usr/local/lib build
rm -f ~ .~ .o .os .so .a .so.
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g -shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o ruli_isaac.os -c ruli_isaac.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g -shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o ruli_mem.os -c ruli_mem.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g -shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o ruli_rand.os -c ruli_rand.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -Wall -g -shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o ruli_util.os -c ruli_util.c
ruli_util.c: In function `ruli_memrchr':
ruli_util.c:67: warning: cast discards qualifiers from pointer target type
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g -shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o ruli_list.os -c ruli_list.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -Wall -g -shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o ruli_addr.os -c ruli_addr.c
ruli_addr.c: In function `ruli_addr_size':
ruli_addr.c:87: warning: `size' might be used uninitialized in this function
ruli_addr.c: In function `ruli_addr_src_get_addr':
ruli_addr.c:161: warning: cast discards qualifiers from pointer target type
ruli_addr.c:164: warning: cast discards qualifiers from pointer target type
ruli_addr.c:155: warning: `ad' might be used uninitialized in this function
ruli_addr.c: In function `search_forward':
ruli_addr.c:221: warning: integer overflow in expression
ruli_addr.c:221: warning: integer overflow in expression
ruli_addr.c: In function `search_backward':
ruli_addr.c:264: warning: integer overflow in expression
ruli_addr.c:264: warning: integer overflow in expression
ruli_addr.c: At top level:
ruli_addr.c:599: warning: missing braces around initializer
ruli_addr.c:599: warning: (near initialization for `default_label[0].prefix._S6_un')
ruli_addr.c:607: warning: missing braces around initializer
ruli_addr.c:607: warning: (near initialization for `default_precedence[0].prefix._S6_un')
ruli_addr.c: In function `match_prefix':
ruli_addr.c:670: warning: missing braces around initializer
ruli_addr.c:670: warning: (near initialization for `tmp._S6_un')
ruli_addr.c:674: warning: missing braces around initializer
ruli_addr.c:674: warning: (near initialization for `tmp._S6_un')
ruli_addr.c:680: error: structure has no member named `s6_addr16'
ruli_addr.c:681: error: structure has no member named `s6_addr32'
make: *** [ruli_addr.os] Error 1
#

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by evertonm (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 24 May 2007 09:10:53 PM UTCevertonmStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Wed 21 Dec 2005 11:43:45 AM UTCevertonmStatusConfirmed=>Need Info
    Fri 11 Nov 2005 06:10:54 PM UTCevertonmStatusNone=>Confirmed
      Assigned toNone=>evertonm

    Back to the top


    Powered by Savane 3.1-cleanup1