FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 07-21-2008, 02:03 PM
"Joost Kraaijeveld"
Default problem using 4.2.1-sjlj MingW cross compiler on Debian AMD64:functions not declared


I have a problem with a 4.2.1-sjlj Ming cross compiler on Debian (both
with my own compiled and the Debian version)

Compiling any C++ source using a C++ compiler header included (e.g.
cstdlib) result in the following kind of errors:

/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:164: error: '::lldiv_t' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:170: error: '::_Exit' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:177: error: '::llabs' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:179: error: 'lldiv_t' does not name a type
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:183: error: '::lldiv' has not been declared
/home/jkr/mingw_cross_env-1.4/usr/lib/gcc/i386-mingw32msvc/4.2.1-sjlj/include/c++/cstdlib:198: error: '::strtof' has not been declared

Using stdlib.h with the same source compiles OK.

I have the impression that it has something to do with C99 support
(because alle errors are within some GCC macros about C99) but I don't
have any idea how to solve it. Is there anyone with any idea where to
look or what to try (e.g. maybe I should use some configure options for
either the build of the compiler or the build of my own executable)?



Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 03:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org