gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: New plt.c code on Mingw


From: Camm Maguire
Subject: [Gcl-devel] Re: New plt.c code on Mingw
Date: 08 Mar 2004 15:28:26 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Thanks!  At this point, please

1) cat o/plt.h
2) nm o/plttest.o

Thanks!

"Vadim V. Zhytnikov" <address@hidden> writes:

> Camm Maguire ?????:
> > Thanks!  Please try it again now.
> >
> 
> (cd bin; make all)
> make[1]: Entering directory `/home/vadim/gcl/bin'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/vadim/gcl/bin'
> make mpfiles
> make[1]: Entering directory `/home/vadim/gcl'
> make[1]: Nothing to be done for `mpfiles'.
> make[1]: Leaving directory `/home/vadim/gcl'
> rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
> (cd o; make all)
> make[1]: Entering directory `/home/vadim/gcl/o'
> gcc -c -fno-zero-initialized-in-bss -Wall -fwritable-strings
> -DVOL=volatile -fsigned-char -mcpu=i386 -march=i386
> -I/home/vadim/gcl/o -I../h -I../gcl-tk plt.c
> In file included from plt.c:38:
> plt.h:2: error: `___main' undeclared here (not in a function)
> plt.h:2: error: initializer element is not constant
> plt.h:2: error: (near initialization for `mplt[0].ad')
> plt.h:2: error: initializer element is not constant
> plt.h:2: error: (near initialization for `mplt[0]')
> plt.h:4: error: `__alloca' undeclared here (not in a function)
> plt.h:4: error: initializer element is not constant
> plt.h:4: error: (near initialization for `mplt[1].ad')
> plt.h:4: error: initializer element is not constant
> plt.h:4: error: (near initialization for `mplt[1]')
> plt.h:6: error: `__setjmp' undeclared here (not in a function)
> plt.h:6: error: initializer element is not constant
> plt.h:6: error: (near initialization for `mplt[2].ad')
> plt.h:6: error: initializer element is not constant
> plt.h:6: error: (near initialization for `mplt[2]')
> plt.h:8: error: `_acos' undeclared here (not in a function)
> plt.h:8: error: initializer element is not constant
> plt.h:8: error: (near initialization for `mplt[3].ad')
> plt.h:8: error: initializer element is not constant
> plt.h:8: error: (near initialization for `mplt[3]')
> plt.h:10: error: `_acosh' undeclared here (not in a function)
> plt.h:10: error: initializer element is not constant
> plt.h:10: error: (near initialization for `mplt[4].ad')
> plt.h:10: error: initializer element is not constant
> plt.h:10: error: (near initialization for `mplt[4]')
> plt.h:12: error: `_asin' undeclared here (not in a function)
> plt.h:12: error: initializer element is not constant
> plt.h:12: error: (near initialization for `mplt[5].ad')
> plt.h:12: error: initializer element is not constant
> plt.h:12: error: (near initialization for `mplt[5]')
> plt.h:14: error: `_asinh' undeclared here (not in a function)
> plt.h:14: error: initializer element is not constant
> plt.h:14: error: (near initialization for `mplt[6].ad')
> plt.h:14: error: initializer element is not constant
> plt.h:14: error: (near initialization for `mplt[6]')
> plt.h:16: error: `_atan' undeclared here (not in a function)
> plt.h:16: error: initializer element is not constant
> plt.h:16: error: (near initialization for `mplt[7].ad')
> plt.h:16: error: initializer element is not constant
> plt.h:16: error: (near initialization for `mplt[7]')
> plt.h:18: error: `_atanh' undeclared here (not in a function)
> plt.h:18: error: initializer element is not constant
> plt.h:18: error: (near initialization for `mplt[8].ad')
> plt.h:18: error: initializer element is not constant
> plt.h:18: error: (near initialization for `mplt[8]')
> plt.h:20: error: `_cos' undeclared here (not in a function)
> plt.h:20: error: initializer element is not constant
> plt.h:20: error: (near initialization for `mplt[9].ad')
> plt.h:20: error: initializer element is not constant
> plt.h:20: error: (near initialization for `mplt[9]')
> plt.h:22: error: `_cosh' undeclared here (not in a function)
> plt.h:22: error: initializer element is not constant
> plt.h:22: error: (near initialization for `mplt[10].ad')
> plt.h:22: error: initializer element is not constant
> plt.h:22: error: (near initialization for `mplt[10]')
> plt.h:24: error: `_exp' undeclared here (not in a function)
> plt.h:24: error: initializer element is not constant
> plt.h:24: error: (near initialization for `mplt[11].ad')
> plt.h:24: error: initializer element is not constant
> plt.h:24: error: (near initialization for `mplt[11]')
> plt.h:26: error: `_getc' undeclared here (not in a function)
> plt.h:26: error: initializer element is not constant
> plt.h:26: error: (near initialization for `mplt[12].ad')
> plt.h:26: error: initializer element is not constant
> plt.h:26: error: (near initialization for `mplt[12]')
> plt.h:28: error: `_log' undeclared here (not in a function)
> plt.h:28: error: initializer element is not constant
> plt.h:28: error: (near initialization for `mplt[13].ad')
> plt.h:28: error: initializer element is not constant
> plt.h:28: error: (near initialization for `mplt[13]')
> plt.h:30: error: `_putc' undeclared here (not in a function)
> plt.h:30: error: initializer element is not constant
> plt.h:30: error: (near initialization for `mplt[14].ad')
> plt.h:30: error: initializer element is not constant
> plt.h:30: error: (near initialization for `mplt[14]')
> plt.h:32: error: `_sin' undeclared here (not in a function)
> plt.h:32: error: initializer element is not constant
> plt.h:32: error: (near initialization for `mplt[15].ad')
> plt.h:32: error: initializer element is not constant
> plt.h:32: error: (near initialization for `mplt[15]')
> plt.h:34: error: `_sinh' undeclared here (not in a function)
> plt.h:34: error: initializer element is not constant
> plt.h:34: error: (near initialization for `mplt[16].ad')
> plt.h:34: error: initializer element is not constant
> plt.h:34: error: (near initialization for `mplt[16]')
> plt.h:36: error: `_tan' undeclared here (not in a function)
> plt.h:36: error: initializer element is not constant
> plt.h:36: error: (near initialization for `mplt[17].ad')
> plt.h:36: error: initializer element is not constant
> plt.h:36: error: (near initialization for `mplt[17]')
> plt.h:38: error: `_tanh' undeclared here (not in a function)
> plt.h:38: error: initializer element is not constant
> plt.h:38: error: (near initialization for `mplt[18].ad')
> plt.h:38: error: initializer element is not constant
> plt.h:38: error: (near initialization for `mplt[18]')
> make[1]: *** [plt.o] Error 1
> make[1]: Leaving directory `/home/vadim/gcl/o'
> make: *** [unixport/saved_pre_gcl] Error 2
> 
> > Take care,
> > "Vadim V. Zhytnikov" <address@hidden> writes:
> >
> >>Camm Maguire ?????:
> >>
> >>>Greetings!  OK, please try now and let me know.
> >>>
> >>
> >>gcc -c -fno-zero-initialized-in-bss -Wall -fwritable-strings
> >>-DVOL=volatile -fsigned-char -mcpu=i386 -march=i386
> >>-I/home/vadim/gcl/o -I../h -I../gcl-tk plt.c
> >>plt.c:39: error: `__setjmp' undeclared here (not in a function)
> >>plt.c:39: error: initializer element is not constant
> >>plt.c:39: error: (near initialization for `mplt[0].ad')
> >>plt.c:39: error: initializer element is not constant
> >>plt.c:39: error: (near initialization for `mplt[0]')
> >>plt.c:40: error: `_getc' undeclared here (not in a function)
> >>plt.c:40: error: initializer element is not constant
> >>plt.c:40: error: (near initialization for `mplt[1].ad')
> >>plt.c:40: error: initializer element is not constant
> >>plt.c:40: error: (near initialization for `mplt[1]')
> >>plt.c:41: error: `_putc' undeclared here (not in a function)
> >>plt.c:41: error: initializer element is not constant
> >>plt.c:41: error: (near initialization for `mplt[2].ad')
> >>plt.c:41: error: initializer element is not constant
> >>plt.c:41: error: (near initialization for `mplt[2]')
> >>plt.c:46: error: initializer element is not constant
> >>plt.c:46: error: (near initialization for `mplt[3]')
> >>plt.c:47: error: initializer element is not constant
> >>plt.c:47: error: (near initialization for `mplt[4]')
> >>plt.c:48: error: initializer element is not constant
> >>plt.c:48: error: (near initialization for `mplt[5]')
> >>plt.c:49: error: initializer element is not constant
> >>plt.c:49: error: (near initialization for `mplt[6]')
> >>plt.c:50: error: initializer element is not constant
> >>plt.c:50: error: (near initialization for `mplt[7]')
> >>plt.c:51: error: initializer element is not constant
> >>plt.c:51: error: (near initialization for `mplt[8]')
> >>plt.c:52: error: initializer element is not constant
> >>plt.c:52: error: (near initialization for `mplt[9]')
> >>plt.c:53: error: initializer element is not constant
> >>plt.c:53: error: (near initialization for `mplt[10]')
> >>plt.c:57: error: initializer element is not constant
> >>plt.c:57: error: (near initialization for `mplt[11]')
> >>plt.c:58: error: initializer element is not constant
> >>plt.c:58: error: (near initialization for `mplt[12]')
> >>plt.c:59: error: initializer element is not constant
> >>plt.c:59: error: (near initialization for `mplt[13]')
> >>make[1]: *** [plt.o] Error 1
> >>make[1]: Leaving directory `/home/vadim/gcl/o'
> >>make: *** [unixport/saved_pre_gcl] Error 2
> >>
> >>
> >>>Take care,
> >>>"Vadim V. Zhytnikov" <address@hidden> writes:
> >>>
> >>>
> >>>>Camm Maguire ?????:
> >>>>
> >>>>
> >>>>>Greetings!
> >>>>>OK, could someone please give me on mingw
> >>>>>1) cd pcl && for i in *.o ; do nm $i |grep -i setjmp  ; done
> >>>>
> >>>>         U __setjmp
> >>>>         U __setjmp
> >>>>         U __setjmp
> >>>>         U __setjmp
> >>>>         U __setjmp
> >>>>         U __setjmp
> >>>>
> >>>>
> >>>>
> >>>>>2) cd maxima_src_dir && for i in *.o ; do nm $i |grep -i getc  ; done
> >>>>
> >>>>         U _getc
> >>>>         U _getc
> >>>>         U _getc
> >>>>
> >>>>
> >>>>
> >>>>>3) cd maxima_src_dir && for i in *.o ; do nm $i |grep -i putc  ; done
> >>>>
> >>>>         U _putc
> >>>>
> >>>>
> >>>>
> >>>>>Take care,
> >>>>>"Vadim V. Zhytnikov" <address@hidden> writes:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi Camm!
> >>>>>>
> >>>>>>JFYI: current plt code desn't compile on mingw:
> >>>>>>
> >>>>>>gcc -c -o plt_pre_gcl.o plt.c -fno-zero-initialized-in-bss -Wall
> >>>>>>-fwritable-strings -DVOL=volatile -fsigned-char -mcpu=i386 -march=i386
> >>>>>>-I/home/vadim/gcl-20040305/o  -I../h -I../o
> >>>>>>plt.c: In function `my_plt':
> >>>>>>plt.c:47: error: `_IO_getc' undeclared (first use in this function)
> >>>>>>plt.c:47: error: (Each undeclared identifier is reported only once
> >>>>>>plt.c:47: error: for each function it appears in.)
> >>>>>>plt.c:48: error: `_IO_putc' undeclared (first use in this function)
> >>>>>>plt.c:57: error: `setjmp' undeclared (first use in this function)
> >>>>>>make[1]: *** [plt_pre_gcl.o] Error 1
> >>>>>>rm plt_pre_gcl.h map_pre_gcl
> >>>>>>make[1]: Leaving directory `/home/vadim/gcl-20040305/unixport'
> >>>>>>make: *** [unixport/saved_pre_gcl] Error 2
> >>>>>>
> >>>>>>Binutils version:
> >>>>>>
> >>>>>>$ ld --version
> >>>>>>GNU ld version 2.13.90 20030111
> >>>>>>Copyright 2002 Free Software Foundation, Inc.
> >>>>>>This program is free software; you may redistribute it under the terms 
> >>>>>>of
> >>>>>>the GNU General Public License.  This program has absolutely no 
> >>>>>>warranty.
> >>>>>>
> >>>>
> >>>>
> >>>> -- 
> >>>>     Vadim V. Zhytnikov
> >>>>
> >>>>      <address@hidden>
> >>>>     <address@hidden>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >> -- 
> >>      Vadim V. Zhytnikov
> >>
> >>       <address@hidden>
> >>      <address@hidden>
> >>
> >>
> >>
> >>
> >>
> >
> 
> 
> -- 
>       Vadim V. Zhytnikov
> 
>        <address@hidden>
>       <address@hidden>
> 
> 
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]