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: Vadim V. Zhytnikov
Subject: [Gcl-devel] Re: New plt.c code on Mingw
Date: Mon, 08 Mar 2004 18:15:47 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.5) Gecko/20031006

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>






reply via email to

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