[syslog-ng] libol compile error in Solaris 10 Intel

nawirb nawirb at yahoo.com
Thu Jul 21 02:59:46 CEST 2005


Dear expert,

I got error during make command when compiling libol
0.3.16 in sol10 x86. I am using gcc 3.36 from
sunfreeware
Any idea how to solve the problem

# crle
/lib:/usr/lib:/usr/sfw/lib:/usr/sfw/lib/amd64:/usr/local/lib
# cat /.profile
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin;export
PATH
# pkginfo|grep SMC
SMCautoc SMCautom SMCdb SMCexpat SMCflex SMCgcc336
SMCgd SMCgdbm SMCglib SMCiconv SMClibt SMClpng SMCm4
SMCmake SMCzlib

bash-3.00# make
Making all in utils
make[1]: Entering directory
`/export/home/nawir/libol-0.3.16/utils'
sed -e "s,_SCSH_,/usr/bin/scsh," make_class.in
>make_class
chmod +x make_class
make[1]: Leaving directory
`/export/home/nawir/libol-0.3.16/utils'
Making all in src
make[1]: Entering directory
`/export/home/nawir/libol-0.3.16/src'
make  all-am
make[2]: Entering directory
`/export/home/nawir/libol-0.3.16/src'
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
format.lo -MD -MP -MF ".deps/format.Tpo" \
  -c -o format.lo `test -f 'format.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`format.c; \
then mv -f ".deps/format.Tpo" ".deps/format.Plo"; \
else rm -f ".deps/format.Tpo"; exit 1; \
fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
format.lo -MD -MP -MF .deps/format.Tpo -c format.c 
-fPIC -DPIC -o .libs/format.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
format.lo -MD -MP -MF .deps/format.Tpo -c format.c -o
format.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
io.lo -MD -MP -MF ".deps/io.Tpo" \
  -c -o io.lo `test -f 'io.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`io.c; \
then mv -f ".deps/io.Tpo" ".deps/io.Plo"; \
else rm -f ".deps/io.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
io.lo -MD -MP -MF .deps/io.Tpo -c io.c  -fPIC -DPIC -o
.libs/io.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
io.lo -MD -MP -MF .deps/io.Tpo -c io.c -o io.o
>/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
werror.lo -MD -MP -MF ".deps/werror.Tpo" \
  -c -o werror.lo `test -f 'werror.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`werror.c; \
then mv -f ".deps/werror.Tpo" ".deps/werror.Plo"; \
else rm -f ".deps/werror.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
werror.lo -MD -MP -MF .deps/werror.Tpo -c werror.c 
-fPIC -DPIC -o .libs/werror.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
werror.lo -MD -MP -MF .deps/werror.Tpo -c werror.c -o
werror.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
queue.lo -MD -MP -MF ".deps/queue.Tpo" \
  -c -o queue.lo `test -f 'queue.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`queue.c; \
then mv -f ".deps/queue.Tpo" ".deps/queue.Plo"; \
else rm -f ".deps/queue.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
queue.lo -MD -MP -MF .deps/queue.Tpo -c queue.c  -fPIC
-DPIC -o .libs/queue.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
queue.lo -MD -MP -MF .deps/queue.Tpo -c queue.c -o
queue.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
abstract_io.lo -MD -MP -MF ".deps/abstract_io.Tpo" \
  -c -o abstract_io.lo `test -f 'abstract_io.c' ||
echo
'/export/home/nawir/libol-0.3.16/src/'`abstract_io.c;
\
then mv -f ".deps/abstract_io.Tpo"
".deps/abstract_io.Plo"; \
else rm -f ".deps/abstract_io.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
abstract_io.lo -MD -MP -MF .deps/abstract_io.Tpo -c
abstract_io.c  -fPIC -DPIC -o .libs/abstract_io.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
abstract_io.lo -MD -MP -MF .deps/abstract_io.Tpo -c
abstract_io.c -o abstract_io.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
gc.lo -MD -MP -MF ".deps/gc.Tpo" \
  -c -o gc.lo `test -f 'gc.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`gc.c; \
then mv -f ".deps/gc.Tpo" ".deps/gc.Plo"; \
else rm -f ".deps/gc.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
gc.lo -MD -MP -MF .deps/gc.Tpo -c gc.c  -fPIC -DPIC -o
.libs/gc.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
gc.lo -MD -MP -MF .deps/gc.Tpo -c gc.c -o gc.o
>/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
list.lo -MD -MP -MF ".deps/list.Tpo" \
  -c -o list.lo `test -f 'list.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`list.c; \
then mv -f ".deps/list.Tpo" ".deps/list.Plo"; \
else rm -f ".deps/list.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
list.lo -MD -MP -MF .deps/list.Tpo -c list.c  -fPIC
-DPIC -o .libs/list.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
list.lo -MD -MP -MF .deps/list.Tpo -c list.c -o list.o
>/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
read_line.lo -MD -MP -MF ".deps/read_line.Tpo" \
  -c -o read_line.lo `test -f 'read_line.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`read_line.c; \
then mv -f ".deps/read_line.Tpo"
".deps/read_line.Plo"; \
else rm -f ".deps/read_line.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
read_line.lo -MD -MP -MF .deps/read_line.Tpo -c
read_line.c  -fPIC -DPIC -o .libs/read_line.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
read_line.lo -MD -MP -MF .deps/read_line.Tpo -c
read_line.c -o read_line.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
xalloc.lo -MD -MP -MF ".deps/xalloc.Tpo" \
  -c -o xalloc.lo `test -f 'xalloc.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`xalloc.c; \
then mv -f ".deps/xalloc.Tpo" ".deps/xalloc.Plo"; \
else rm -f ".deps/xalloc.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
xalloc.lo -MD -MP -MF .deps/xalloc.Tpo -c xalloc.c 
-fPIC -DPIC -o .libs/xalloc.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
xalloc.lo -MD -MP -MF .deps/xalloc.Tpo -c xalloc.c -o
xalloc.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
alist.lo -MD -MP -MF ".deps/alist.Tpo" \
  -c -o alist.lo `test -f 'alist.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`alist.c; \
then mv -f ".deps/alist.Tpo" ".deps/alist.Plo"; \
else rm -f ".deps/alist.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
alist.lo -MD -MP -MF .deps/alist.Tpo -c alist.c  -fPIC
-DPIC -o .libs/alist.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
alist.lo -MD -MP -MF .deps/alist.Tpo -c alist.c -o
alist.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
stream_buffer.lo -MD -MP -MF ".deps/stream_buffer.Tpo"
\
  -c -o stream_buffer.lo `test -f 'stream_buffer.c' ||
echo
'/export/home/nawir/libol-0.3.16/src/'`stream_buffer.c;
\
then mv -f ".deps/stream_buffer.Tpo"
".deps/stream_buffer.Plo"; \
else rm -f ".deps/stream_buffer.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
stream_buffer.lo -MD -MP -MF .deps/stream_buffer.Tpo
-c stream_buffer.c  -fPIC -DPIC -o
.libs/stream_buffer.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
stream_buffer.lo -MD -MP -MF .deps/stream_buffer.Tpo
-c stream_buffer.c -o stream_buffer.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
pkt_buffer.lo -MD -MP -MF ".deps/pkt_buffer.Tpo" \
  -c -o pkt_buffer.lo `test -f 'pkt_buffer.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`pkt_buffer.c; \
then mv -f ".deps/pkt_buffer.Tpo"
".deps/pkt_buffer.Plo"; \
else rm -f ".deps/pkt_buffer.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
pkt_buffer.lo -MD -MP -MF .deps/pkt_buffer.Tpo -c
pkt_buffer.c  -fPIC -DPIC -o .libs/pkt_buffer.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
pkt_buffer.lo -MD -MP -MF .deps/pkt_buffer.Tpo -c
pkt_buffer.c -o pkt_buffer.o >/dev/null 2>&1
if /bin/bash ../libtool --mode=compile gcc
-DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.  
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED  -Wall -g -MT
resource.lo -MD -MP -MF ".deps/resource.Tpo" \
  -c -o resource.lo `test -f 'resource.c' || echo
'/export/home/nawir/libol-0.3.16/src/'`resource.c; \
then mv -f ".deps/resource.Tpo" ".deps/resource.Plo";
\
else rm -f ".deps/resource.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
resource.lo -MD -MP -MF .deps/resource.Tpo -c
resource.c  -fPIC -DPIC -o .libs/resource.o
 gcc -DHAVE_CONFIG_H -I.
-I/export/home/nawir/libol-0.3.16/src -I.
-D_GNU_SOURCE -D_XOPEN_SOURCE_EXTENDED -Wall -g -MT
resource.lo -MD -MP -MF .deps/resource.Tpo -c
resource.c -o resource.o >/dev/null 2>&1
/bin/bash ../libtool --mode=link gcc  -Wall -g   -o
libol.la -rpath /usr/local/lib  format.lo io.lo
werror.lo queue.lo abstract_io.lo gc.lo list.lo
read_line.lo xalloc.lo alist.lo stream_buffer.lo
pkt_buffer.lo resource.lo  -lsocket -lnsl -lxnet
gcc -shared -Wl,-h -Wl,libol.so.0 -o
.libs/libol.so.0.0.0  .libs/format.o .libs/io.o
.libs/werror.o .libs/queue.o .libs/abstract_io.o
.libs/gc.o .libs/list.o .libs/read_line.o
.libs/xalloc.o .libs/alist.o .libs/stream_buffer.o
.libs/pkt_buffer.o .libs/resource.o  -lsocket -lnsl
-lxnet -lc
(cd .libs && rm -f libol.so.0 && ln -s libol.so.0.0.0
libol.so.0)
(cd .libs && rm -f libol.so && ln -s libol.so.0.0.0
libol.so)
false cru .libs/libol.a  format.o io.o werror.o
queue.o abstract_io.o gc.o list.o read_line.o xalloc.o
alist.o stream_buffer.o pkt_buffer.o resource.o
make[2]: *** [libol.la] Error 1
make[2]: Leaving directory
`/export/home/nawir/libol-0.3.16/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/export/home/nawir/libol-0.3.16/src'
make: *** [all-recursive] Error 1


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the syslog-ng mailing list