| Index
» Projects
» libcfg+
» Forum
» installation under cygwin |
 |
ovivela
Joined: 30 Nov 2004
Posts: 1
Posted: 2004-11-30 17:10
Back to top
Reply with quote
|
Hi,
I'm trying to install the library libcfg+ under cygwin and it doesn't work.
Two libraries are missing and I don't now how to set the LDFLAGS in order to link them.
The output from make is something like that
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/cfg+.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/parse.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/props.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/cmdline.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/cfgfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/shared.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/platon/str/strplus.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/platon/str/strctype.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/platon/str/strdyn.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -Wno-shadow -pedantic -c ../src/platon/str/dynfgets.c
ar r libcfg+.a ../src/cfg+.o ../src/parse.o ../src/props.o ../src/cmdline.o ../src/cfgfile.o ../src/shared.o ../src/platon/str/strplus.o ../src/platon/str/strctype.o ../src/platon/str/strdyn.o ../src/platon/str/dynfgets.o
ld -shared -o libcfg+.so.0.6.2 ../src/cfg+.o ../src/parse.o ../src/props.o ../src/cmdline.o ../src/cfgfile.o ../src/shared.o ../src/platon/str/strplus.o ../src/platon/str/strctype.o ../src/platon/str/strdyn.o ../src/platon/str/dynfgets.o
../src/cfg+.o(.text+0x11):cfg+.c:undefined reference to 'malloc'
.... 'free'
.... '__getreent'
I have managed to compile that with -lg -lc but i just have done a big hack and at the end the library is installed but the make command did not finish normally.
Can you help me?
|
tom0099
Joined: 12 Jul 2021
Posts: 20
Posted: 2021-11-15 13:05
Back to top
Reply with quote
|
Yes,this is totally free and no ad and pay required
unscramble words free
we here the totally free website,and provide the free service.
|
|
Post new topic
Reply to topic
|
|
|
|