www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/08/29/06:45:12.1

From: "Alex Vinokur" <alexvn AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RSXNTDJ sample : makeall failed
Date: Thu, 29 Aug 2002 13:42:31 +0200
Lines: 400
Message-ID: <akktr9$1jl5fl$1@ID-79865.news.dfncis.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020828161126 DOT 19892B-100000 AT is> <akj9ad$1ipfi6$1 AT ID-79865 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: pop03-2-ras1-p171.barak.net.il (212.150.97.171)
X-Trace: fu-berlin.de 1030617775 54171125 212.150.97.171 (16 [79865])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


"Alex Vinokur" <alexvn AT bigfoot DOT com> wrote in message news:akj9ad$1ipfi6$1 AT ID-79865 DOT news DOT dfncis DOT de...
>
>
> "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1020828161126 DOT 19892B-100000 AT is...
> >
> > On Wed, 28 Aug 2002, Alex Vinokur wrote:
> >
> > > gccw32   -c -Wall -O ansi.c
> > > make.exe: *** [ansi.o] Error -1
> >
> > Sounds like Make cannot find gccw32.exe.  Is it somewhere on your PATH?
>
> You are right.
> Thanks.
>
>
> ######### C:\DJGPP\rsxntdj\readme.txt : BEGIN #########
>
>
> [---omitted---]
>
> 2.1 - Quick Install
>
> [---omitted---]
>
> SET RSXNTDJ=C:\RSXNTDJ
>  SET PATH=%RSXNTDJ%\bin;%PATH%
>  SET C_INCLUDE_PATH=%RSXNTDJ%\include\win32\anders
>
> NOTE: You may need to change the RSXNTDJ variable to suit your installation.
>
> ######### C:\DJGPP\rsxntdj\readme.txt : END ###########
>
> I changed
>   SET RSXNTDJ=C:\RSXNTDJ
> to
>   SET RSXNTDJ=C:\DJGPP\RSXNTDJ
>
> Now gccw32.exe found.
>


Nevertheless I have a new problem with compilation and run of RSXNTDJ sample (see below).


###################
Windows 2000
DJGPP 2.03
RSXNTDJ 1.5.1
gcc/gpp version 3.1
###################


Any suggestions?

Thanks in advance.


######### Compilation : BEGIN #########

%cd C:\DJGPP\rsxntdj\sample
%cleanall.bat
%makeall.bat

gccw32   -c -Wall -O ansi.c
gccw32    -o ansi.exe ansi.o
gccw32   -c -Wall -O argvenv.c
gccw32    -o argvenv.exe argvenv.o
gccw32   -c -Wall -O try1.c
try1.c: In function `main':
try1.c:82: warning: deprecated use of label at end of compound statement
gccw32    try1.o -lex -o try1.exe
Ntbind: Building Console Application "try1.exe"
gccw32   -c -Wall -O try2.c
gccw32    try2.o -lex -o try2.exe
Ntbind: Building Console Application "try2.exe"
gccw32   -c -Wall -O try3.c
try3.c: In function `filter':
try3.c:49: warning: unsigned int format, DWORD arg (arg 2)
gccw32    try3.o -lex2 -o try3.exe
gccw32   -c -Wall -O findf.c
gccw32    -o findf.exe findf.o
Ntbind: Building Console Application "findf.exe"
gccw32   -c -Wall -O fork.c
gccw32    -o fork.exe fork.o
Ntbind: Building Console Application "fork.exe"
gccw32   -c -Wall -O pipe.c
gccw32    pipe.o -o pipe.exe
Ntbind: Building Console Application "pipe.exe"
gccw32   -c -Wall -O pipew.c
gccw32    pipew.o -o pipew.exe
Ntbind: Building Console Application "pipew.exe"
gccw32   -c -Wall -O piper.c
gccw32    piper.o -o piper.exe
gccw32  -Zmt -c -Wall -O thread.c
gccw32  -Zmt  -o thread.exe thread.o
Ntbind: Building Console Application "thread.exe"
gccw32   -c -Wall -O wm_demo.c
gccw32    -o wm_demo.exe wm_demo.o -lvideo
gccw32 -c -o dllcplus.o dllcplus.cc -Zdll -Zsys -Zso   -O2 -Wall
<command line>:1:12: warning: "system" re-asserted
<command line>:1:9: warning: "cpu" re-asserted
<command line>:1:13: warning: "machine" re-asserted
In file included from c:/djgpp/lang/cxx-v31/backward/iostream.h:31,
                 from dllcplus.cc:1:
c:/djgpp/lang/cxx-v31/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the
<X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this
warning use -Wno-deprecated.
In file included from c:/djgpp/lang/cxx-v31/djgpp/bits/cxxio.h:35,
                 from c:/djgpp/lang/cxx-v31/bits/fpos.h:44,
                 from c:/djgpp/lang/cxx-v31/iosfwd:46,
                 from c:/djgpp/lang/cxx-v31/ios:44,
                 from c:/djgpp/lang/cxx-v31/ostream:45,
                 from c:/djgpp/lang/cxx-v31/iostream:45,
                 from c:/djgpp/lang/cxx-v31/backward/iostream.h:32,
                 from dllcplus.cc:1:
c:/djgpp/lang/cxx-v31/cstdio:121: `getc' not declared
c:/djgpp/lang/cxx-v31/cstdio:126: `putc' not declared
In file included from c:/djgpp/lang/cxx-v31/bits/localefwd.h:48,
                 from c:/djgpp/lang/cxx-v31/ios:48,
                 from c:/djgpp/lang/cxx-v31/ostream:45,
                 from c:/djgpp/lang/cxx-v31/iostream:45,
                 from c:/djgpp/lang/cxx-v31/backward/iostream.h:32,
                 from dllcplus.cc:1:
c:/djgpp/lang/cxx-v31/cctype:68: `isalnum' not declared
c:/djgpp/lang/cxx-v31/cctype:69: `isalpha' not declared
c:/djgpp/lang/cxx-v31/cctype:70: `iscntrl' not declared
c:/djgpp/lang/cxx-v31/cctype:71: `isdigit' not declared
c:/djgpp/lang/cxx-v31/cctype:72: `isgraph' not declared
c:/djgpp/lang/cxx-v31/cctype:73: `islower' not declared
c:/djgpp/lang/cxx-v31/cctype:74: `isprint' not declared
c:/djgpp/lang/cxx-v31/cctype:75: `ispunct' not declared
c:/djgpp/lang/cxx-v31/cctype:76: `isspace' not declared
c:/djgpp/lang/cxx-v31/cctype:77: `isupper' not declared
c:/djgpp/lang/cxx-v31/cctype:78: `isxdigit' not declared
In file included from c:/djgpp/lang/cxx-v31/bits/locale_facets.h:60,
                 from c:/djgpp/lang/cxx-v31/bits/basic_ios.h:41,
                 from c:/djgpp/lang/cxx-v31/ios:51,
                 from c:/djgpp/lang/cxx-v31/ostream:45,
                 from c:/djgpp/lang/cxx-v31/iostream:45,
                 from c:/djgpp/lang/cxx-v31/backward/iostream.h:32,
                 from dllcplus.cc:1:
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:43: `__dj_ISSPACE' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:44: `__dj_ISPRINT' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:45: `__dj_ISCNTRL' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:46: `__dj_ISUPPER' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:47: `__dj_ISLOWER' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:48: `__dj_ISALPHA' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:49: `__dj_ISDIGIT' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:50: `__dj_ISPUNCT' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:51: `__dj_ISXDIGIT' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:52: `__dj_ISALPHA' was not
   declared in this scope
c:/djgpp/lang/cxx-v31/djgpp/bits/ctype_base.h:53: `__dj_ISGRAPH' was not
   declared in this scope
In file included from c:/djgpp/lang/cxx-v31/bits/locale_facets.tcc:41,
                 from c:/djgpp/lang/cxx-v31/locale:46,
                 from c:/djgpp/lang/cxx-v31/bits/ostream.tcc:37,
                 from c:/djgpp/lang/cxx-v31/ostream:275,
                 from c:/djgpp/lang/cxx-v31/iostream:45,
                 from c:/djgpp/lang/cxx-v31/backward/iostream.h:32,
                 from dllcplus.cc:1:
c:/djgpp/lang/cxx-v31/cmath: In function `float std::acos(float)':
c:/djgpp/lang/cxx-v31/cmath:106: `::acosf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::asin(float)':
c:/djgpp/lang/cxx-v31/cmath:126: `::asinf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::atan(float)':
c:/djgpp/lang/cxx-v31/cmath:144: `::atanf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::atan2(float, float)':
c:/djgpp/lang/cxx-v31/cmath:162: `::atan2f' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::ceil(float)':
c:/djgpp/lang/cxx-v31/cmath:182: `::ceilf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::cosh(float)':
c:/djgpp/lang/cxx-v31/cmath:210: `::coshf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::exp(float)':
c:/djgpp/lang/cxx-v31/cmath:228: `::expf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::floor(float)':
c:/djgpp/lang/cxx-v31/cmath:256: `::floorf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::fmod(float, float)':
c:/djgpp/lang/cxx-v31/cmath:274: `::fmodf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::frexp(float, int*)':
c:/djgpp/lang/cxx-v31/cmath:294: `::frexpf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::ldexp(float, int)':
c:/djgpp/lang/cxx-v31/cmath:313: `::ldexpf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::log(float)':
c:/djgpp/lang/cxx-v31/cmath:333: `::logf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::log10(float)':
c:/djgpp/lang/cxx-v31/cmath:351: `::log10f' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::modf(float, float*)':
c:/djgpp/lang/cxx-v31/cmath:369: `::modff' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::pow(float, float)':
c:/djgpp/lang/cxx-v31/cmath:408: `::powf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::sinh(float)':
c:/djgpp/lang/cxx-v31/cmath:450: `::sinhf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::tan(float)':
c:/djgpp/lang/cxx-v31/cmath:478: `::tanf' undeclared (first use here)
c:/djgpp/lang/cxx-v31/cmath: In function `float std::tanh(float)':
c:/djgpp/lang/cxx-v31/cmath:496: `::tanhf' undeclared (first use here)
make.exe: *** [dllcplus.o] Error 1
gccw32   -c -Wall -O loadtime.c
gccw32   -Wall -O -Zdll -c dllcrt.c
gccw32    -Zdll dllcrt.o -o dllcrt.dll -Ttext=0x20001000
Ntbind: Building DLL Application "dllcrt.dll"
del dllcrt.a
File not found
makelib dllcrt.dll -o dllcrt.a
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
MakeLib: build C:/DJGPP/RSXNTDJ/SAMPLE/DLL/DLLCRT/dllcrt.a
warning: mkdir failed
warning: rmdir failed
gccw32   -Wall -O -o loadtime.exe loadtime.o dllcrt.a
gcc.exe: loadtime.o: No such file or directory (ENOENT)
gcc.exe: dllcrt.a: No such file or directory (ENOENT)
gcc.exe: no input files
make.exe: *** [loadtime.exe] Error 1
gccw32   -Wall -O -Zdll -Zno-rte -c dllnrt.c -DSKIP_LIBMAIN
gccw32    -Zdll -Zno-rte -o dllnrt.dll dllnrt.o -Ttext=0x20001000
Ntbind: Building DLL Application "dllnrt.dll"
gccw32   -c -Wall -O runtime.c
gccw32   -Wall -O -Zsys runtime.o -o runtime.exe
Ntbind: Building Console Application "runtime.exe"
gccw32   -c -Wall -O loadtime.c
del dllnrt.a
makelib dllnrt.dll -o dllnrt.a
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
MakeLib: build C:/DJGPP/RSXNTDJ/SAMPLE/DLL/DLLNRT/dllnrt.a
warning: mkdir failed
warning: rmdir failed
gccw32   -Wall -O -Zsys loadtime.o dllnrt.a -o loadtime.exe
gcc.exe: loadtime.o: No such file or directory (ENOENT)
gcc.exe: dllnrt.a: No such file or directory (ENOENT)
gcc.exe: no input files
make.exe: *** [loadtime.exe] Error 1
gccw32   -Wall -O -Zsys -Zdll -Zso -c dllso.c
gccw32    -Zsys -Zdll -Zso dllso.o -o dllso.dll -Ttext=0x20001000
gccw32   -c -Wall -O bar.c
grc -r bar.rc
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
gccw32    -o bar.exe bar.o -lcomctl32 -lusr32 -lgdi32
Ntbind: Building Console Application "bar.exe"
rsrc -o bar.exe bar.res
add .rsrc section
gccw32   -c -Wall -O whello.cpp
<command line>:1:12: warning: "system" re-asserted
<command line>:1:9: warning: "cpu" re-asserted
<command line>:1:13: warning: "machine" re-asserted
whello.cpp: In static member function `static void MainWindow::Register()':
whello.cpp:46: invalid conversion from `LRESULT (*)(HWND__*, unsigned int,
   unsigned int, long int)' to `LRESULT (*)(HWND__*, unsigned int, unsigned
   int, long int)'
whello.cpp: In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)':
whello.cpp:169: warning: unused variable `MainWindow MainWnd'
make.exe: *** [whello.o] Error 1
gccw32   -c -Wall -O rsxwbind.c
grc -r rsxwbind.rc
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
gccw32    -o rsxwbind.exe rsxwbind.o -lcomdlg32
Ntbind: Building Console Application "rsxwbind.exe"
rsrc -o rsxwbind.exe rsxwbind.res
add .rsrc section
gccw32   -c -O -I. dibvwr.c
In file included from dibvwr.c:8:
windbg.h:44:25: warning: no newline at end of file
In file included from dibvwr.c:21:
dibfunc.h:54:26: warning: no newline at end of file
In file included from dibvwr.c:24:
bmpfile.h:17:7: warning: no newline at end of file
In file included from dibvwr.c:27:
dbvabout.h:14:7: warning: no newline at end of file
dibvwr.c:442:22: warning: no newline at end of file
gccw32   -c -O -I. dibwin.c
In file included from dibwin.c:38:
dibfunc.h:54:26: warning: no newline at end of file
In file included from dibwin.c:40:
windbg.h:44:25: warning: no newline at end of file
dibwin.c: In function `get_dib_ptr':
dibwin.c:130: warning: cast to pointer from integer of different size
dibwin.c: In function `set_dib_ptr':
dibwin.c:142: warning: cast to pointer from integer of different size
dibwin.c: In function `init_dib_vwr':
dibwin.c:204: warning: cast from pointer to integer of different size
dibwin.c:204: warning: cast to pointer from integer of different size
dibwin.c: In function `done_dib_vwr':
dibwin.c:214: warning: cast to pointer from integer of different size
dibwin.c: In function `dib_window_proc':
dibwin.c:236: warning: cast to pointer from integer of different size
dibwin.c:249: warning: cast to pointer from integer of different size
dibwin.c:303: warning: cast to pointer from integer of different size
dibwin.c:306: warning: cast to pointer from integer of different size
dibwin.c: In function `dib_window_on_hscroll':
dibwin.c:359: warning: cast to pointer from integer of different size
dibwin.c: In function `dib_window_on_vscroll':
dibwin.c:435: warning: cast to pointer from integer of different size
dibwin.c: In function `dib_window_on_sizeredraw':
dibwin.c:503: warning: cast to pointer from integer of different size
dibwin.c: In function `dib_window_on_copy':
dibwin.c:574: warning: cast to pointer from integer of different size
dibwin.c: In function `dib_window_on_paint':
dibwin.c:611: warning: cast to pointer from integer of different size
dibwin.c: In function `SetWindowDIBPalette':
dibwin.c:890: warning: cast to pointer from integer of different size
dibwin.c: In function `GetWindowDIBPalette':
dibwin.c:912: warning: cast to pointer from integer of different size
dibwin.c:945:22: warning: no newline at end of file
gccw32   -c -O -I. dibfunc.c
gccw32   -c -Wall -O enumw.c
enumw.c: In function `EnumLangsFunc':
enumw.c:76: pointers are not permitted as case values
enumw.c:79: pointers are not permitted as case values
enumw.c:82: pointers are not permitted as case values
enumw.c:86: pointers are not permitted as case values
enumw.c:89: pointers are not permitted as case values
enumw.c:92: pointers are not permitted as case values
enumw.c:95: pointers are not permitted as case values
enumw.c:98: pointers are not permitted as case values
enumw.c:101: pointers are not permitted as case values
enumw.c:104: pointers are not permitted as case values
enumw.c:107: pointers are not permitted as case values
enumw.c:110: pointers are not permitted as case values
enumw.c:113: pointers are not permitted as case values
enumw.c:116: pointers are not permitted as case values
enumw.c: In function `Enumw_OnCreate':
enumw.c:510: warning: assignment from incompatible pointer type
enumw.c:511: warning: assignment from incompatible pointer type
enumw.c:512: warning: assignment from incompatible pointer type
make.exe: *** [enumw.o] Error 1
gccw32   -c -Wall -O sol.c
sol.c: In function `WndProc':
sol.c:278: warning: suggest explicit braces to avoid ambiguous `else'
grc -r sol.rc
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
gccw32    -o sol.exe sol.o
Ntbind: Building Console Application "sol.exe"
rsrc -o sol.exe sol.res
add .rsrc section
gccw32   -c -Wall -O speed.c
gccw32    -o speed.exe speed.o
makefile:12: warning: overriding commands for target `test.exe'
..\..\rsxntmak.gnu:105: warning: ignoring old commands for target `test.exe'
gccw32   -c -Wall -O test.c
gccw32    -o test.exe test.o -lioapp
gccw32   -c -Wall -O winedit.c
grc -r winedit.rc
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-1999.
gccw32    -o winedit.exe winedit.o
Ntbind: Building Console Application "winedit.exe"
rsrc -o winedit.exe winedit.res
add .rsrc section

######### Compilation : END ###########



######### Run : BEGIN #########

cd C:\DJGPP\rsxntdj\sample\console\ansi
%ansi
C:\DJGPP\rsxntdj\sample\console\ansi\ansi.exe is not a valid Win32 application.

cd C:\DJGPP\rsxntdj\sample\console\argvenv
%argvenv
||| Finished with no action


cd C:\DJGPP\rsxntdj\sample\console\excpt
%try1
||| Suspended with no action

......

######### Run : END ###########


   ==================
   Alex Vinokur
     mailto:alexvn AT go DOT to
     http://up.to/alexvn
   ==================




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019