Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, November 7, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  libcfg+  »  Forum  »  installation under cygwin

libcfg+ General     installation under cygwin
Post new topic   Reply to topic    
 
ovivela     Joined: 30 Nov 2004   Posts: 1  
Post 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  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy