compile problem
Andreas Beyer
beyer at imb-jena.de
Mon Oct 18 18:51:51 CEST 2004
Hi,
statist does not include the header file errno.h in which errno is
defined. To me this seems to be a bug. I have attached a patch that
should fix the problem. However, I cannot test it, because I don't have
access to Mandrake.
Please, Mustafa: Could you test the patch and report if you were
successful? Thanks!
To apply the patch go to statist-1.0.1/ and run:
$ patch -p0 < errno.patch
Andreas
Mustafa Akgul wrote:
> Hello,
>
> I am having difficulty in compiling sttaist, StatistX, gtoolkit.
> This on mandrake 10.0 with gcc 3.3.2
>
> I have found binaries for StatistX, libFoundation and gtoolkit.
>
> I could not find binaries and compilation gives
>
> gcc -o statist statist.o menue.o procs.o funcs.o data.o plot.o
> memory_handling.o -lm
> data.o(.text+0x7d): In function `makefilename':
> : warning: the use of `tmpnam' is dangerous, better use `mkstemp'
> statist.o(.text+0x289): In function `main':
> : undefined reference to `errno'
> statist.o(.text+0x3c9): In function `finish':
> : undefined reference to `errno'
> menue.o(.text+0x272b): In function `data_menu':
> : undefined reference to `errno'
> menue.o(.text+0x2812): In function `data_menu':
> : undefined reference to `errno'
> menue.o(.text+0x2b7a): In function `manipulate_menu':
> : undefined reference to `errno'
> menue.o(.text+0x2c77): more undefined references to `errno' follow
> collect2: ld returned 1 exit status
> make: *** [statist] Error 1
>
> Any suggestions?
>
> Regards
> Mustafa Akgul
>
>
>
--
--------------------------------------
Dr. Andreas Beyer - beyer at imb-jena.de
http://www.imb-jena.de/~beyer
--------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: errno.patch
Url: http://www.intevation.de/pipermail/statist-list/attachments/20041018/43786442/errno.patch
More information about the Statist-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)