Test drive error

sergio ojalvo sergio at ximpo.com
Thu Jul 29 05:50:20 CDT 2004


Hi
I'm working on Debian Linux. I just install the wine packages and
download sources for trying the test driver.
Running Winemaker to winemine test project I note: that configure script
was not created and Makefile is created instead of Makefile.in. (like
wrote in the web page)
I think is a new feature... I'm wrong?
Anyway, I try to run make after that and that is the output:

winebuild -o winemine.exe.dbg.c --debug -C. dialog.c main.c 
winegcc -c  -mno-cygwin -I.   -o winemine.exe.dbg.o winemine.exe.dbg.c
winegcc -c  -mno-cygwin -I.   -o dialog.o dialog.c
winegcc -c  -mno-cygwin -I.   -o main.o main.c
wrc   -I.   -foEn.res En.rc
En.rc:23:22: Error: syntax error
make: *** [En.res] Error 1

After that I try with another 2 projects (win32 code) and I receive a
lot of compilation errors like:

In file included from /usr/include/c++/3.3/iosfwd:46,
                 from /usr/include/c++/3.3/ios:44,
                 from /usr/include/c++/3.3/ostream:45,
                 from /usr/include/c++/3.3/iostream:45,
                 from midi2nokia.cpp:4:
/usr/include/c++/3.3/i486-linux/bits/c++locale.h:53: error: `uselocale'
was not declared in this scope

In file included from /usr/include/c++/3.3/i486-linux/bits/c++io.h:35,
                 from /usr/include/c++/3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3/iosfwd:49,
                 from /usr/include/c++/3.3/ios:44,
                 from /usr/include/c++/3.3/ostream:45,
                 from /usr/include/c++/3.3/iostream:45,
                 from midi2nokia.cpp:4:
/usr/include/c++/3.3/cstdio:167: error: `snprintf' not declared
/usr/include/c++/3.3/cstdio:168: error: `vfscanf' not declared
/usr/include/c++/3.3/cstdio:169: error: `vscanf' not declared
/usr/include/c++/3.3/cstdio:171: error: `vsscanf' not declared
/usr/include/c++/3.3/cstdio:177: error: `snprintf' not declared
/usr/include/c++/3.3/cstdio:178: error: `vfscanf' not declared
/usr/include/c++/3.3/cstdio:179: error: `vscanf' not declared
/usr/include/c++/3.3/cstdio:181: error: `vsscanf' not declared

In file included from
/usr/include/c++/3.3/i486-linux/bits/gthr-default.h:37,
                 from /usr/include/c++/3.3/i486-linux/bits/gthr.h:98,
                 from /usr/include/c++/3.3/i486-linux/bits/c++io.h:37,
                 from /usr/include/c++/3.3/bits/fpos.h:44,
                 from /usr/include/c++/3.3/iosfwd:49,
                 from /usr/include/c++/3.3/ios:44,
                 from /usr/include/c++/3.3/ostream:45,
                 from /usr/include/c++/3.3/iostream:45,
                 from midi2nokia.cpp:4:
/usr/include/pthread.h:651: error: type specifier omitted for parameter
`clockid_t' /usr/include/pthread.h:651: error: parse error before `*'
token

In file included from /usr/include/c++/3.3/bits/fpos.h:45,
                 from /usr/include/c++/3.3/iosfwd:49,
                 from /usr/include/c++/3.3/ios:44,
                 from /usr/include/c++/3.3/ostream:45,
                 from /usr/include/c++/3.3/iostream:45,
                 from midi2nokia.cpp:4:
/usr/include/c++/3.3/cwchar:142: error: `fwide' not declared
/usr/include/c++/3.3/cwchar:149: error: `mbsinit' not declared
/usr/include/c++/3.3/cwchar:157: error: `vfwscanf' not declared
/usr/include/c++/3.3/cwchar:159: error: `vswscanf' not declared
/usr/include/c++/3.3/cwchar:161: error: `vwscanf' not declared
/usr/include/c++/3.3/cwchar:176: error: `wcstof' not declared
/usr/include/c++/3.3/cwchar:182: error: `wmemcmp' not declared
/usr/include/c++/3.3/cwchar:183: error: `wmemcpy' not declared
/usr/include/c++/3.3/cwchar:184: error: `wmemmove' not declared
/usr/include/c++/3.3/cwchar:185: error: `wmemset' not declared
/usr/include/c++/3.3/cwchar:213: error: `wmemchr' not declared
/usr/include/c++/3.3/cwchar: In function `wchar_t*
std::wmemchr(wchar_t*, wchar_t, unsigned int)':
/usr/include/c++/3.3/cwchar:217: error: invalid conversion from `const
wchar_t* ' to `wchar_t*'
/usr/include/c++/3.3/cwchar: At global scope:
/usr/include/c++/3.3/cwchar:233: error: `wcstold' not declared
/usr/include/c++/3.3/cwchar:242: error: `wcstoll' not declared
/usr/include/c++/3.3/cwchar:243: error: `wcstoull' not declared
/usr/include/c++/3.3/cwchar:249: error: `wcstold' not declared
/usr/include/c++/3.3/cwchar:250: error: `wcstoll' not declared
/usr/include/c++/3.3/cwchar:251: error: `wcstoull' not declared

etc, etc, etc....

I send you my gcc configuration:
gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-4)

Any suggestion? 

Thanks a lot for your help.

-- 
____________________________  ________  _______________________________
|      Sergio Ojalvo          \   \  /                                |
|  Senior System Analyst       \   \/    To bring IN-OVATION turn to  |
| mailto:sergio at ximpo.com      /\   \   your open source of solutions |
| Phone:   +972-545-558586    /  \   \                                |
| Fax: +972-151-545-558586    --------      http://www.ximpo.com/     |
|__________________________ Ximpo  Group _____________________________|




More information about the wine-devel mailing list