This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proposal singular-3.0.0-1 (final directory structure)


Oliver Wienand wrote:

Hello,

I have uploaded new packages and I must sorry about your compiling problems. With the new packages all should go right with the following sequence:

cd /usr/src/singular-3.0.0-1
../configure --without-MP --without-dl --disable-doc \
            --disable-Texi2html --disable-Texinfo   \
            --disable-dl
make
cd Singular         or      cd ix86-Win
../Singular.exe              ./Singular.exe

I am really sorry that I was confused with the without and disable stuff.


I found the reason for some of the errors I'm seeing.  There are
CPPFLAGS or CFLAGS missing, in Singular/Makefile.in I needed to add
-I. to CPPFLAGS to prevent this error:
In file included from extra.cc:52:
../kernel/feOpt.h:28:21: feOpt.inc: No such file or directory

Compilation works now, however getting this warning:
Warning: .drectve `-defaultlib:uuid.lib ' unrecognized

This seems to come out of htmlhelp.lib which is binary and I cannot fix
it locally.


The same -I. needs to be added to CFLAGS in modules/modgen/Makefile.in because of this error: misc.cc:73:38: ../../Singular/iparith.inc: No such file or directory

However after compilation works ok now the linker fails:
ccache gcc -o modgen -O2 -pipe -I/instsoft/singular/singular-3.0.0/modules -I/instsoft/singular/singular-3.0.0/modules/Singular -DHAVE_CONFIG_H -DNDEBUG --no-rtti --no-exceptions -O3 -w -fomit-frame-pointer -pipe -fno-implicit-templates -g -I/usr/include -I../include -I../../kernel -I../../Singular -DNDEBUG -DMODULE_GENERATOR -Dix86_Win main.o mod_grammar.o scanner.o misc.o makefile.o utils.o creat_top.o proc.o proc_setup.o -L/usr/local/lib
makefile.o: In function `_Z19mod_create_makefileP6moddef':
/instsoft/singular/singular-3.0.0/.build/modules/modgen/makefile.cc:80: undefined reference to `build_compile_section(__sFILE64*, moddef*)'
collect2: ld returned 1 exit status



I only see the reference on the extern build_compile_section() in makefile.cc.


Gerrit -- =^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]