[prev in list] [next in list] [prev in thread] [next in thread] 

List:       silc-users
Subject:    Solaris/gcc Compile Errors in 0.9.8 tgz & cvs (Again)
From:       Jack Vande Bunte <jvbunte () earthlink ! net>
Date:       2002-11-08 12:55:41
Message-ID: 5.1.0.14.2.20021108070639.00b1fea0 () mail ! earthlink ! net
[Download RAW message or body]

: Was able to compile the new 0.9.8 client ok on linux, having some problems
: with Solaris 8 again (gcc, solaris ld):
:
: silc-servers.c: In function `silc_send_heartbeat':
: silc-servers.c:269: warning: implicit declaration of function
: `silc_client_send_packet'
: silc-servers.c: In function `silc_command_exec':
: silc-servers.c:456: warning: passing arg 1 of `silc_client_command_call'
: from incompatible pointer type
: silc-servers.c:456: warning: passing arg 2 of `silc_client_command_call'
: from incompatible pointer type
: silc-servers.c:456: too many arguments to function 
`silc_client_command_call'
: gmake[5]: *** [silc-servers.o] Error 1
: gmake[5]: Leaving directory
: `/usr/share/src/software/silc/silc/irssi/src/silc/core'
:
 >Here you are clearly not using 0.9.8 I can claim, but with some 0.9.8 and
 >CVS headers, and they are in mismatch. I think this is you local system
 >problem since you have wrong (too old or too new) stuff.

Assuming you are correct, just for fun I removed my silc src directory and 
unpacked the tarball
-rw-r--r--   1 root     other    2049049 Nov  7 07:14 
silc-client-0.9.8.tar.gz  (MD5 Checksum Matched)
again and ran './configure --prefix=/usr/local --with-iconv=/usr/local' . 
When the configure script was finished running, I issued a 'gmake all'.

The result of this compilation was the same error quoted above:

silc-servers.c: In function `silc_command_exec':
silc-servers.c:456: warning: passing arg 1 of `silc_client_command_call' 
from incompatible pointer type
silc-servers.c:456: warning: passing arg 2 of `silc_client_command_call' 
from incompatible pointer type
silc-servers.c:456: too many arguments to function `silc_client_command_call'
gmake[5]: *** [silc-servers.o] Error 1
gmake[5]: Leaving directory 
`/usr/share/src/software/silc/silc-client-0.9.8/irssi/src/silc/core'

Now, that is not a mix of anything, its a direct unpacking of the 
silc-client-0.9.8.tar.gz tarball.

Also, just for fun, I wiped out my entire CVS src tree for silc-client and 
checked out silc from CVS from scratch with the following commands:
cvs -d:pserver:cvs@cvs.silcnet.org:/cvs/silc login
cvs -d:pserver:cvs@cvs.silcnet.org:/cvs/silc co silc
cvs -d:pserver:cvs@cvs.silcnet.org:/cvs/silc logout

I then issued the commands:  "./prepare","./configure --prefix=/usr/local 
--with-iconv=/usr/local", and "gmake all" yet again.

The result of this compilation was slightly different than the tarball, but 
similar:

silc-servers.c: In function `silc_send_heartbeat':
silc-servers.c:269: warning: implicit declaration of function 
`silc_client_send_packet'
silc-servers.c: In function `silc_command_exec':
silc-servers.c:456: warning: passing arg 1 of `silc_client_command_call' 
from incompatible pointer type
silc-servers.c:456: warning: passing arg 2 of `silc_client_command_call' 
from incompatible pointer type
silc-servers.c:456: too many arguments to function `silc_client_command_call'
silc-servers.c: In function `command_file':
silc-servers.c:745: warning: passing arg 7 of `silc_client_file_send' makes 
pointer from integer without a cast
silc-servers.c:745: warning: passing arg 8 of `silc_client_file_send' from 
incompatible pointer type
silc-servers.c:745: warning: passing arg 9 of `silc_client_file_send' from 
incompatible pointer type
silc-servers.c:745: too many arguments to function `silc_client_file_send'
gmake[5]: *** [silc-servers.o] Error 1
gmake[5]: Leaving directory 
`/usr/share/src/software/silc/silc/irssi/src/silc/core'

This is a completely clean CVS download into a new directory, not updating 
older CVS src.

I would like to admit "Yeah, I messed up, I had 2 versions and it broke" 
but I don't think that is the case. Like I mentioned in my first post, I 
was able to compile the silc-client-0.9.8 tarball on my Linux machine 
without any problems, its only on Solaris that its giving me fits. These 
same Solaris machines were able to compile previous versions of silc 
without too much difficulty.

Any additional insight would be appreciated. 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic