compile gnumeric win32 with cross-mingw compiler on linux




I use MinGW cross compiling environment :http://mingw-cross-env.nongnu.org/

and compile the Dependency :GTK2 , Goffice, libgsf glib pango libglade2 intltool gnome-xml

I use the command:

./configure --host=i686-pc-mingw32

output:

Compiler: i686-pc-mingw32-gcc
Compiler flags: -g -O2 -Wall -Wmissing-prototypes  -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wmissing-declarations -Wno-pointer-sign -Werror =format-security
Floating point type: double

UI: Gtk

Perl Support: yes (using perl)
Python Support: unable to find Python.h

GDA support: NO.  libgda problem
GNOME-DB support: no
Psiconv support:        missing dependencies

PDF documentation: No, not requested.

then  I  use the command:

make

gnm-marshalers.h is empty, I  copied the linux   version of gnm-marshalers.h(With the make command automatically generated)

then I re-use the command:

make 

output:

  CCLD   gnumeric.exe
/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.6.0/../../../../i686-pc-mingw32/bin/ld: warning: --export-dynamic is not supported for PE targets, did you mean --export-all-symbols?
main-application.o: In function `handle_paint_events':
/root/gnumeric-1.10.17/src/main-application.c:127: undefined reference to `__imp__initial_workbook_open_complete'
main-application.o: In function `main':
/root/gnumeric-1.10.17/src/main-application.c:386: undefined reference to `__imp__initial_workbook_open_complete'
/root/gnumeric-1.10.17/src/main-application.c:436: undefined reference to `__imp__initial_workbook_open_complete'
collect2: ld returned 1 exit status

and i don't know how i can do about it 

Help me please !






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