Skip to Content.
Sympa Menu

freetds - Re: [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 Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Make error on Solaris 10
  • Date: Tue, 18 Jul 2006 21:47:39 +0800

Hi Freddy,

Many thanks for your quick response.

cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools

./mkheaders

then running make again does indeed seem to fix this problem.

Thanks again,

Dan


> ----- Original Message -----
> From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
> To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
> Subject: Re: [freetds] Make error on Solaris 10
> Date: Tue, 18 Jul 2006 15:27:23 +0200
>
>
> >
> > 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"
> > ....
>
> Mmm... for some reason it seems compiler is not able to compile source
> from siginfo.h. This can be an error in header (I don't think so), a
> missing include before signal.h or a #define that make header invalid...
> Can you post just some lines of /usr/include/sys/siginfo.h sorrounding
> line 259 ??
>
> This seems a known Solaris error, try to search
> "/usr/include/sys/siginfo.h solaris" on google, you will find a lot of
> similar problems... this link
> http://forum.qmailrocks.org/showthread.php?t=2706 could help you. I
> readed that some people get rid of this problem using gcc.
>
> freddy77
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds

>


--
_______________________________________________
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