Message-ID: <20000430221227.21385.qmail@web3505.mail.yahoo.com> Date: Sun, 30 Apr 2000 15:12:27 -0700 (PDT) From: Durrenbach Alban Subject: Problem in building library ( Profil / Bias or Vergo ) To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1681692777-957132747=:11626" Reply-To: djgpp AT delorie DOT com --0-1681692777-957132747=:11626 Content-Type: text/plain; charset=us-ascii Hi, I'm a new user of djgpp. I've downloaded the latest version of tools of every stuffs I think I need. To do my work, I need to run global optimization softwares like Vergo. So I need to build a library. In the Vergo package, I find a makefile : makefile.djg. So I think that this package is supported by djgpp. (more closely DOS DJGPP Version 2.0 (gcc version 2.7.2) ). My version of gcc is gcc version 2.95.2. However, after one week of intensive and unproductive work, I'm still unable to build it because during the call of : make makefile.djg C:\DJGPP\bin>make -f makefile.djg |more Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.952/specs gcc version 2.95.2 19991024 (release) c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c++ -v -I../ -D__GNUC__=2 -D__GN UG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D_ _GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine (i386) -D__EXCEPTIONS -g -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentium__ -imacros c:/djgpp/bin/../include/sys/version.h -remap adnode. cc c:/djgpp/tmp\ccpY3IP3.ii GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: .. c:/djgpp/lang/cxx c:/djgpp/include c:/djgpp/lang/cxx c:/djgpp/lib/gcc-lib/djgpp/2.952/include c:/djgpp/include End of search list. The following default directories have been omitted from the search path: $DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include End of omitted list. c:/djgpp/lib/gcc-lib/djgpp/2.952/cc1plus.exe c:/djgpp/tmp\ccz0mWDt.ii -quiet -d umpbase adnode.cc -g -version -o c:/djgpp/tmp\ccGnlwih.s GNU C++ version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version 2.95 .2 19991024 (release). In file included from adnode.cc:6: interval.h: In function `class interval operator *(double, const interval &)': interval.h:126: initialization of non-const reference type `class interval &' interval.h:126: from rvalue of type `interval' interval.h:82: in passing argument 1 of `interval::interval(interval &)' adnode.cc: In function `class interval eval(const intvector &, int)': adnode.cc:405: initialization of non-const reference type `class interval &' adnode.cc:405: from rvalue of type `interval' interval.h:82: in passing argument 1 of `interval::interval(interval &)' adnode.cc:406: initialization of non-const reference type `class interval &' adnode.cc:406: from rvalue of type `interval' interval.h:82: in passing argument 1 of `interval::interval(interval &)' adnode.cc:407: initialization of non-const reference type `class interval &' adnode.cc:407: from rvalue of type `interval' interval.h:82: in passing argument 1 of `interval::interval(interval &)' make.exe: *** [adnode.o] Error 1 gpp -c -v -g -I../ adnode.cc Make seems to find the target and to compile with gcc. It appears numerous errors which seem to have the same origin. Can you help me please ? DURRENBACH ALBAN Durrenbach AT yahoo DOT com Tél: (514) 738-0807 5538 Rue Decelles H3T1W5 Montréal Québec Canada --------------------------------- Do You Yahoo!? Talk to your friends online and get email alerts with Yahoo! Messenger. --0-1681692777-957132747=:11626 Content-Type: text/html; charset=us-ascii

Hi,

I'm a new user of djgpp. I've downloaded the latest version of tools of every stuffs I think I need.

To do my work, I need to run  global optimization softwares like  Vergo. So I need to build a library.

In the Vergo package, I find a makefile : makefile.djg. So I think  that this package is supported by djgpp. (more closely DOS DJGPP Version 2.0 (gcc version 2.7.2) ). My version of gcc is gcc version 2.95.2.

However, after one week of intensive and unproductive work, I'm still unable to build it because during the call of :

make makefile.djg

C:\DJGPP\bin>make -f makefile.djg |more
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.952/specs
gcc version 2.95.2 19991024 (release)
 c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c++ -v -I../ -D__GNUC__=2 -D__GN
UG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS
-D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D_
_GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine
(i386) -D__EXCEPTIONS -g -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-D__tune_pentium__ -imacros c:/djgpp/bin/../include/sys/version.h -remap adnode.
cc c:/djgpp/tmp\ccpY3IP3.ii
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 ..
 c:/djgpp/lang/cxx
 c:/djgpp/include
 c:/djgpp/lang/cxx
 c:/djgpp/lib/gcc-lib/djgpp/2.952/include
 c:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 $DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
End of omitted list.
c:/djgpp/lib/gcc-lib/djgpp/2.952/cc1plus.exe c:/djgpp/tmp\ccz0mWDt.ii -quiet -d
umpbase adnode.cc -g -version -o c:/djgpp/tmp\ccGnlwih.s
GNU C++ version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version 2.95
.2 19991024 (release).
In file included from adnode.cc:6:
interval.h: In function `class interval operator *(double, const interval &)':
interval.h:126: initialization of non-const reference type `class interval &'
interval.h:126: from rvalue of type `interval'
interval.h:82: in passing argument 1 of `interval::interval(interval &)'
adnode.cc: In function `class interval eval(const intvector &, int)':
adnode.cc:405: initialization of non-const reference type `class interval &'
adnode.cc:405: from rvalue of type `interval'
interval.h:82: in passing argument 1 of `interval::interval(interval &)'
adnode.cc:406: initialization of non-const reference type `class interval &'
adnode.cc:406: from rvalue of type `interval'
interval.h:82: in passing argument 1 of `interval::interval(interval &)'
adnode.cc:407: initialization of non-const reference type `class interval &'
adnode.cc:407: from rvalue of type `interval'
interval.h:82: in passing argument 1 of `interval::interval(interval &)'
make.exe: *** [adnode.o] Error 1

gpp -c -v -g   -I../ adnode.cc

Make seems to find the target and to compile with gcc.

It appears numerous errors which seem to have the same origin.

Can you help me please ?

 



DURRENBACH ALBAN
Durrenbach AT yahoo DOT com
Tél: (514) 738-0807
5538 Rue Decelles
H3T1W5 Montréal Québec Canada



Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger. --0-1681692777-957132747=:11626--