Skip to Content.
Sympa Menu

freetds - [freetds] Make error on Solaris 10

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Dan Richardson" <mundek23 AT linuxmail.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Make error on Solaris 10
  • Date: Tue, 18 Jul 2006 19:45:28 +0800

Hello,

I'm trying to compile FreeTDS 0.64 on Solaris 10 (Sparc) using GCC 3.3.2

I run ./configure --prefix=/usr/local/freetds and it seems to work fine, the
error comes when running make:

Making all in include
make all-am
Making all in src
Making all in replacements
if /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
-D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wno-long-long -g -O2 -MT readpassphrase.lo -MD -MP -MF
".deps/readpassphrase.Tpo" -c -o readpassphrase.lo readpassphrase.c; \
then mv -f ".deps/readpassphrase.Tpo" ".deps/readpassphrase.Plo"; else rm -f
".deps/readpassphrase.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -g -O2 -MT
readpassphrase.lo -MD -MP -MF .deps/readpassphrase.Tpo -c readpassphrase.c
-fPIC -DPIC -o .libs/readpassphrase.o
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from readpassphrase.c:52:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from readpassphrase.c:52:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from readpassphrase.c:52:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `readpassphrase.lo'
Current working directory /tmp/freetds-0.64/src/replacements
*** 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='replacements tds ctlib dblib apps server pool'; 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 /tmp/freetds-0.64/src
*** 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='include src doc samples win32'; 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'

I've looked through the documentation and mailing list and noticed a few
people seem to have had a similar problem, but I can't find any resolution
to this particular problem.

Any help greatly appreciated!

Thanks,

Dan

--
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze




Archive powered by MHonArc 2.6.24.

Top of Page