[Devel] [ openser-Bugs-1496532 ] openser does not build on Solaris 10 host

SourceForge.net noreply at sourceforge.net
Thu Jun 1 11:16:03 CEST 2006


Bugs item #1496532, was opened at 2006-05-28 22:29
Message generated for change (Settings changed) made by miconda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1496532&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
>Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel-Constantin Mierla (miconda)
Summary: openser does not build on Solaris 10 host

Initial Comment:
Howdy,

When I run the following command to install openser 1.0.1 on a Solaris 
10 server:

$ make install-bin prefix=/var/tmp/openser

I am greeted with the following errors:

gcc -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -
mtune=ultrasparc     -DNAME='"openser"' -DVERSION='"1.0.1"' -
DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 3.4.3"' -
D__CPU_sparc64 -D__OS_solaris -DCFG_DIR='"/var/tmp/openser/etc/
openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP -
DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -
DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC  -DFAST_LOCK -
DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -
DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -
DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -c openserunix.c -o 
openserunix.o
Linking openserunix
gcc  -O2  openserunix.o   -lfl -ldl -lresolv -L/usr/local/lib -lfl -lxnet -
lnsl  -lrt -o openserunix 
Undefined                       first referenced
 symbol                             in file
yylex                               /usr/sfw/lib/gcc/sparc-sun-
solaris2.10/3.4.3/../../../libfl.so
ld: fatal: Symbol referencing errors. No output written to openserunix
collect2: ld returned 1 exit status
gmake[1]: *** [openserunix] Error 1
gmake[1]: Leaving directory `/export/home/matty/dev/openser/
openser-1.0.1-tls/utils/openserunix'
gmake: *** [utils/openserunix/openserunix] Error 2

If I remove "-lfl" from the gcc options, openser builds and installs fine:

$ cd utils/openserunix

$ gcc  -O2  openserunix.o  -ldl -lresolv -L/usr/local/lib -lxnet -lnsl  -
lrt -o openserunix

$ cd ../..

$ gmake install-bin prefix=/var/tmp/openser

touch           /var/tmp/openser/sbin//openser 
ginstall -m 755 openser /var/tmp/openser/sbin/
openser installed as /var/tmp/openser/sbin/openser
sed -e "s#PATH:/usr/local/sbin#PATH:/var/tmp/openser/sbin/#g" \
                < scripts/sc > /tmp/openserctl
touch             /var/tmp/openser/sbin//openserctl
ginstall -m 755 /tmp/openserctl /var/tmp/openser/sbin/
/tmp/openserctl installed as /var/tmp/openser/sbin/openserctl
rm -fr /tmp/openserctl
sed -e "s#PATH:/usr/local/sbin#PATH:/var/tmp/openser/sbin/#g" \
                < scripts/mysqldb.sh > /tmp/openser_mysql.sh
touch             /var/tmp/openser/sbin//openser_mysql.sh
ginstall -m 755 /tmp/openser_mysql.sh  /var/tmp/openser/sbin/
/tmp/openser_mysql.sh installed as /var/tmp/openser/sbin/
openser_mysql.sh
rm -fr /tmp/openser_mysql.sh
sed -e "s#PATH:/usr/local/sbin#PATH:/var/tmp/openser/sbin/#g" \
                < scripts/postgresqldb.sh > /tmp/openser_postgresql.sh
touch             /var/tmp/openser/sbin//openser_postgresql.sh
ginstall -m 755 /tmp/openser_postgresql.sh /var/tmp/openser/sbin/
/tmp/openser_postgresql.sh installed as /var/tmp/openser/sbin/
openser_postgresql.sh
rm -fr /tmp/openser_postgresql.sh
touch             /var/tmp/openser/sbin//openser_gen_ha1
ginstall -m 755 utils/gen_ha1/gen_ha1 /var/tmp/openser/sbin//
openser_gen_ha1
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/sfw/openssl/private: Permission denied
find: cannot read dir /etc/apache/ssl.key: Permission denied
find: cannot read dir /etc/ca: Permission denied
find: cannot read dir /usr/lib/cc-cfw: Permission denied
install: gen_ha1 was not found anywhere!
gmake: *** [install-bin] Error 2

I am not real certain what "-lfl" is, or if this is a bug in the Solaris 
provided gcc (/usr/sfw/bin/gcc), but I am hopeful that someone with 
more knowledge can address this error.

Thanks,
- Ryan
matty91 at gmail.com


----------------------------------------------------------------------

Comment By: Daniel-Constantin Mierla (miconda)
Date: 2006-05-30 18:37

Message:
Logged In: YES 
user_id=1246013

It should be fixed on CVS development version (head). Could
you try it and let me know (beware that you used v1.0.1) if
not it is ok?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1496532&group_id=139143



More information about the Devel mailing list