Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 15. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  libcfg+  »  Fórum  »  installation under cygwin

libcfg+ General     installation under cygwin
Odoslať novú tému   Odpovedať na tému    
 
ovivela     Založený: 30.11.2004   Príspevky: 1  
Príspevok Zaslal: 2004-11-30 17:10
Návrat hore  Odpovedať s citátom     

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     Založený: 12.07.2021   Príspevky: 20  
Príspevok Zaslal: 2021-11-15 13:05
Návrat hore  Odpovedať s citátom     

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.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov