[prev in list] [next in list] [prev in thread] [next in thread]
List: vchkpw
Subject: Re: [vchkpw] Trouble compiling under solaris 10 sparc
From: dave vz <vpop () xtra-communications ! nu>
Date: 2009-10-07 6:49:51
Message-ID: bc043a9b0910062349v5f746516i61c9c7d92f56cd0b () mail ! gmail ! com
[Download RAW message or body]
hello and thank you for the quick reply.
i tried version 5.4.27 so for my project i will use that version.
For the storage.h problem i will try to help you.
commenting the line's produced following errors:
make all-recursive
Making all in cdb
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo 'rm -f "$main"'; \
echo 'ar cr "$main" ${1+"$@"}'; \
case "`cat systype`" in \
sunos-5.*) ;; \
unix_sv*) ;; \
irix64-*) ;; \
irix-*) ;; \
dgux-*) ;; \
hp-ux-*) ;; \
sco*) ;; \
*) echo 'ranlib "$main"' ;; \
esac \
) > makelib
chmod 755 makelib
( cat warn-auto.sh; \
echo exec "`head -1 conf-cc`" -fPIC '-c ${1+"$@"}' \
) > compile
chmod 755 compile
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo exec "`head -1 conf-ld`" \
'-o "$main" "$main".o ${1+"$@"}' \
) > load
chmod 755 load
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vpopmail.o `test
-f 'vpopmail.c' || echo './'`vpopmail.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-md5.o `test -f
'md5.c' || echo './'`md5.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-bigdir.o `test
-f 'bigdir.c' || echo './'`bigdir.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vauth.o `test -f
'vauth.c' || echo './'`vauth.c
vauth.c: In function `set_vpasswd_files':
vauth.c:385: warning: int format, pid_t arg (arg 6)
vauth.c: In function `vauth_setpw':
vauth.c:634: warning: int format, uid_t arg (arg 5)
vauth.c:634: warning: int format, gid_t arg (arg 6)
vauth.c: In function `vwrite_dir_control':
vauth.c:1017: warning: int format, pid_t arg (arg 5)
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-file_lock.o
`test -f 'file_lock.c' || echo './'`file_lock.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vpalias.o `test
-f 'vpalias.c' || echo './'`vpalias.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-seek.o `test -f
'seek.c' || echo './'`seek.c
seek.c: In function `MakeSeekable':
seek.c:65: warning: implicit declaration of function `vmin'
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vlimits.o `test
-f 'vlimits.c' || echo './'`vlimits.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-maildirquota.o
`test -f 'maildirquota.c' || echo './'`maildirquota.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vutil.o `test -f
'vutil.c' || echo './'`vutil.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vlistlib.o `test
-f 'vlistlib.c' || echo './'`vlistlib.c
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-backfill.o `test
-f 'backfill.c' || echo './'`backfill.c
backfill.c: In function `remove_line':
backfill.c:87: warning: int format, uid_t arg (arg 4)
backfill.c:87: warning: int format, gid_t arg (arg 5)
backfill.c:87: warning: unsigned int format, mode_t arg (arg 6)
gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-client.o `test
-f 'client.c' || echo './'`client.c
client.c: In function `client_connect':
client.c:60: error: syntax error before numeric constant
client.c:156: error: invalid lvalue in unary `&'
client.c:157: error: request for member `sun_family' in something not a
structure or union
client.c:158: error: request for member `sun_path' in something not a
structure or union
client.c:166: error: invalid lvalue in unary `&'
*** Error code 1
make: Fatal error: Command failed for target `libvpopmail_a-client.o'
Current working directory /root/vpopmail-5.4.28
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='cdb'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/vpopmail-5.4.28
*** Error code 1
make: Fatal error: Command failed for target `all'
On Tue, Oct 6, 2009 at 3:44 PM, Matt Brookings <matt@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> dave vz wrote:
> > hello
> > I'm having problems compiling vpopmail 5.4.28 under solaris 10 sparc.
>
> The vusage daemon is not required in 5.4.28, but you may want to try
> 5.4.27.
> If you can, to help me out since I don't have a Solaris system to test with
> currently, can you edit storage.h and remove the two lines that include
> those headers and try to compile again?
> - --
> /*
> Matt Brookings <matt@inter7.com> GnuPG Key FAE0672C
> Software developer Systems technician
> Inter7 Internet Technologies, Inc. (815)776-9465
> */
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkrLScwACgkQIwet2/rgZyxaMACcCkpj22eGTTovrrowHFjxtoaa
> EDcAn1SrrZ5UihqMKroOuai2Y2xvXKnj
> =BSIl
> -----END PGP SIGNATURE-----
>
!DSPAM:4acc3a1232713355960018!
[Attachment #3 (text/html)]
hello and thank you for the quick reply.<br><br>i tried version 5.4.27 so for my \
project i will use that version.<br><br>For the storage.h problem i will try to help \
you.<br><br>commenting the line's produced following errors:<br> <br><br>make \
all-recursive<br>Making all in cdb<br>( cat warn-auto.sh; \<br>echo CC=\'`head -1 \
conf-cc`\'; \<br>echo LD=\'`head -1 conf-ld`\'; \<br>cat find-systype.sh; \
\<br>) | sh > systype<br>( cat warn-auto.sh; \<br> echo 'main="$1"; \
shift'; \<br>echo 'rm -f "$main"'; \<br>echo 'ar cr \
"$main" ${1+"$@"}'; \<br>case "`cat systype`" in \
\<br>sunos-5.*) ;; \<br>unix_sv*) ;; \<br> irix64-*) ;; \<br>irix-*) ;; \<br>dgux-*) \
;; \<br>hp-ux-*) ;; \<br>sco*) ;; \<br>*) echo 'ranlib "$main"' ;; \
\<br>esac \<br>) > makelib<br>chmod 755 makelib<br>( cat warn-auto.sh; \<br>echo \
exec "`head -1 conf-cc`" -fPIC '-c ${1+"$@"}' \<br> ) \
> compile<br>chmod 755 compile<br>( cat warn-auto.sh; \<br>echo \
'main="$1"; shift'; \<br>echo exec "`head -1 conf-ld`" \
\<br>'-o "$main" "$main".o ${1+"$@"}' \<br> ) \
> load<br>chmod 755 load<br>( ( ./compile tryulong32.c && ./load \
tryulong32 && \<br>./tryulong32 ) >/dev/null 2>&1 \<br>&& \
cat uint32.h2 || cat uint32.h1 ) > uint32.h<br>rm -f tryulong32.o \
tryulong32<br>
./compile cdb_hash.c<br>./compile cdb_unpack.c<br>./compile cdb_seek.c<br>./makelib \
cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o<br>./compile cdbmake_pack.c<br>./compile \
cdbmake_hash.c<br>./compile cdbmake_add.c<br>./makelib cdbmake.a cdbmake_pack.o \
cdbmake_hash.o \<br> cdbmake_add.o<br>gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vpopmail.o `test -f 'vpopmail.c' || echo \
'./'`vpopmail.c<br>gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-md5.o `test -f 'md5.c' || echo './'`md5.c<br> gcc -I. \
-Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-bigdir.o `test -f \
'bigdir.c' || echo './'`bigdir.c<br>gcc -I. -Icdb -I. -fPIC -g -O2 \
-Wall -c -o libvpopmail_a-vauth.o `test -f 'vauth.c' || echo \
'./'`vauth.c<br>
vauth.c: In function `set_vpasswd_files':<br>vauth.c:385: warning: int format, \
pid_t arg (arg 6)<br>vauth.c: In function `vauth_setpw':<br>vauth.c:634: warning: \
int format, uid_t arg (arg 5)<br>vauth.c:634: warning: int format, gid_t arg (arg \
6)<br>
vauth.c: In function `vwrite_dir_control':<br>vauth.c:1017: warning: int format, \
pid_t arg (arg 5)<br>gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-file_lock.o `test -f 'file_lock.c' || echo \
'./'`file_lock.c<br> gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vpalias.o `test -f 'vpalias.c' || echo \
'./'`vpalias.c<br>gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-seek.o `test -f 'seek.c' || echo \
'./'`seek.c<br>
seek.c: In function `MakeSeekable':<br>seek.c:65: warning: implicit declaration \
of function `vmin'<br>gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vlimits.o `test -f 'vlimits.c' || echo \
'./'`vlimits.c<br> gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-maildirquota.o `test -f 'maildirquota.c' || echo \
'./'`maildirquota.c<br>gcc -I. -Icdb -I. -fPIC -g -O2 -Wall -c -o \
libvpopmail_a-vutil.o `test -f 'vutil.c' || echo './'`vutil.c<br> gcc \
-I. -Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-vlistlib.o `test -f \
'vlistlib.c' || echo './'`vlistlib.c<br>gcc -I. -Icdb -I. -fPIC -g \
-O2 -Wall -c -o libvpopmail_a-backfill.o `test -f 'backfill.c' || echo \
'./'`backfill.c<br>
backfill.c: In function `remove_line':<br>backfill.c:87: warning: int format, \
uid_t arg (arg 4)<br>backfill.c:87: warning: int format, gid_t arg (arg \
5)<br>backfill.c:87: warning: unsigned int format, mode_t arg (arg 6)<br> gcc -I. \
-Icdb -I. -fPIC -g -O2 -Wall -c -o libvpopmail_a-client.o `test -f \
'client.c' || echo './'`client.c<br>client.c: In function \
`client_connect':<br>client.c:60: error: syntax error before numeric constant<br> \
client.c:156: error: invalid lvalue in unary `&'<br>client.c:157: error: \
request for member `sun_family' in something not a structure or \
union<br>client.c:158: error: request for member `sun_path' in something not a \
structure or union<br> client.c:166: error: invalid lvalue in unary \
`&'<br>*** Error code 1<br>make: Fatal error: Command failed for target \
`libvpopmail_a-client.o'<br>Current working directory \
/root/vpopmail-5.4.28<br>*** Error code 1<br> The following command caused the \
error:<br>failcom='exit 1'; \<br>for f in x $MAKEFLAGS; do \<br> case $f in \
\<br> *=* | --[!k]*);; \<br> *k*) failcom='fail=yes';; \<br> esac; \
\<br>done; \<br>dot_seen=no; \<br> target=`echo all-recursive | sed s/-recursive//`; \
\<br>list='cdb'; for subdir in $list; do \<br> echo "Making $target in \
$subdir"; \<br> if test "$subdir" = "."; then \<br> \
dot_seen=yes; \<br> local_target="$target-am"; \<br> else \<br> \
local_target="$target"; \<br> fi; \<br> (cd $subdir && make \
$local_target) \<br> || eval $failcom; \<br>done; \<br>if test "$dot_seen" \
= "no"; then \<br> make "$target-am" || exit 1; \<br>fi; test \
-z "$fail"<br>make: Fatal error: Command failed for target \
`all-recursive'<br>Current working directory /root/vpopmail-5.4.28<br>*** Error \
code 1<br>make: Fatal error: Command failed for target `all'<br> <br><div \
class="gmail_quote">On Tue, Oct 6, 2009 at 3:44 PM, Matt Brookings <span \
dir="ltr"><<a href="mailto:matt@inter7.com">matt@inter7.com</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
dave vz wrote:<br>
> hello<br>
> I'm having problems compiling vpopmail 5.4.28 under solaris 10 sparc.<br>
<br>
</div>The vusage daemon is not required in 5.4.28, but you may want to try \
5.4.27.<br> If you can, to help me out since I don't have a Solaris system to \
test with<br> currently, can you edit storage.h and remove the two lines that \
include<br> those headers and try to compile again?<br>
- --<br>
/*<br>
Matt Brookings <<a href="mailto:matt@inter7.com">matt@inter7.com</a>> \
GnuPG Key FAE0672C<br> Software developer Systems technician<br>
Inter7 Internet Technologies, Inc. (815)776-9465<br>
*/<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" \
target="_blank">http://enigmail.mozdev.org</a><br> <br>
iEYEARECAAYFAkrLScwACgkQIwet2/rgZyxaMACcCkpj22eGTTovrrowHFjxtoaa<br>
EDcAn1SrrZ5UihqMKroOuai2Y2xvXKnj<br>
=BSIl<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>
!DSPAM:4acc3a1232713355960018!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic