This is the mail archive of the cygwin 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]

Problem compiling libcfg+


Hi all,

I am trying to compile libcfg+ (http://platon.sk/projects/main_page.php?project_id=3) under Cygwin, but I am getting some problems. The ./configure works fine, but when I launch the make, I get the following trace:

luis@lrodrigo /cygdrive/c/Desarrollo/libcfg+-0.6.2
$ make
cd ./src && make
make[1]: Entering directory `/cygdrive/c/Desarrollo/libcfg+-0.6.2/src'
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/strct
ype.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:cfg+.c:(.text+0x11): undefined reference to `malloc'
../src/cfg+.o:cfg+.c:(.text+0x37): undefined reference to `memset'
../src/cfg+.o:cfg+.c:(.text+0xc4): undefined reference to `fclose'
../src/cfg+.o:cfg+.c:(.text+0xd7): undefined reference to `free'
../src/cfg+.o:cfg+.c:(.text+0x365): undefined reference to `strlen'
../src/cfg+.o:cfg+.c:(.text+0x372): undefined reference to `strlen'
../src/cfg+.o:cfg+.c:(.text+0x37c): undefined reference to `strlen'
../src/cfg+.o:cfg+.c:(.text+0x392): undefined reference to `malloc'
../src/cfg+.o:cfg+.c:(.text+0x401): undefined reference to `sprintf'
../src/cfg+.o:cfg+.c:(.text+0x4c4): undefined reference to `sprintf'
../src/cfg+.o:cfg+.c:(.text+0x4ef): undefined reference to `sprintf'
../src/cfg+.o:cfg+.c:(.text+0x59f): undefined reference to `sprintf'
../src/cfg+.o:cfg+.c:(.text+0x6a8): undefined reference to `fputs'
../src/cfg+.o:cfg+.c:(.text+0x6de): undefined reference to `fwrite'
../src/cfg+.o:cfg+.c:(.text+0x6f7): undefined reference to `__getreent'
../src/cfg+.o:cfg+.c:(.text+0x2d4): undefined reference to `free'
../src/cfg+.o:cfg+.c:(.text+0x6b9): undefined reference to `free'
../src/parse.o:parse.c:(.text+0x8d): undefined reference to `ftell'
../src/cmdline.o:cmdline.c:(.text+0xd7): undefined reference to `strcmp'
../src/cmdline.o:cmdline.c:(.text+0x13b): undefined reference to `strdup'
../src/cmdline.o:cmdline.c:(.text+0x238): undefined reference to `free'
../src/cmdline.o:cmdline.c:(.text+0x258): undefined reference to `strdup'
../src/cfgfile.o:cfgfile.c:(.text+0x99): undefined reference to `strlen'
../src/cfgfile.o:cfgfile.c:(.text+0xac): undefined reference to `strlen'
../src/cfgfile.o:cfgfile.c:(.text+0xcc): undefined reference to `strcmp'
../src/cfgfile.o:cfgfile.c:(.text+0x102): undefined reference to `strlen'
../src/cfgfile.o:cfgfile.c:(.text+0x115): undefined reference to `strlen'
../src/cfgfile.o:cfgfile.c:(.text+0x127): undefined reference to `strlen'
../src/cfgfile.o:cfgfile.c:(.text+0x154): undefined reference to `free'
../src/cfgfile.o:cfgfile.c:(.text+0x1f8): undefined reference to `free'
../src/cfgfile.o:cfgfile.c:(.text+0x278): undefined reference to `free'
../src/cfgfile.o:cfgfile.c:(.text+0x366): undefined reference to `fgetc'
../src/cfgfile.o:cfgfile.c:(.text+0x386): undefined reference to `fopen'
../src/cfgfile.o:cfgfile.c:(.text+0x395): undefined reference to `free'
../src/cfgfile.o:cfgfile.c:(.text+0x3b2): undefined reference to `fseek'
../src/shared.o:shared.c:(.text+0x35): undefined reference to `free'
../src/shared.o:shared.c:(.text+0x44): undefined reference to `free'
../src/shared.o:shared.c:(.text+0xab): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0xc1): undefined reference to `strstr'
../src/shared.o:shared.c:(.text+0xec): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x102): undefined reference to `strstr'
../src/shared.o:shared.c:(.text+0x140): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x15b): undefined reference to `malloc'
../src/shared.o:shared.c:(.text+0x17d): undefined reference to `strncpy'
../src/shared.o:shared.c:(.text+0x261): undefined reference to `strstr'
../src/shared.o:shared.c:(.text+0x287): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x2b5): undefined reference to `strdup'
../src/shared.o:shared.c:(.text+0x2d5): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x2f2): undefined reference to `strdup'
../src/shared.o:shared.c:(.text+0x31f): undefined reference to `strdup'
../src/shared.o:shared.c:(.text+0x392): undefined reference to `strstr'
../src/shared.o:shared.c:(.text+0x3b9): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x3ea): undefined reference to `malloc'
../src/shared.o:shared.c:(.text+0x40c): undefined reference to `strncpy'
../src/shared.o:shared.c:(.text+0x426): undefined reference to `strdup'
../src/shared.o:shared.c:(.text+0x472): undefined reference to `strdup'
../src/shared.o:shared.c:(.text+0x48b): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x4a1): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x511): undefined reference to `strtol'
../src/shared.o:shared.c:(.text+0x556): undefined reference to `strtod'
../src/shared.o:shared.c:(.text+0x678): undefined reference to `strtoul'
../src/shared.o:shared.c:(.text+0x68e): undefined reference to `__errno'
../src/shared.o:shared.c:(.text+0x6b9): undefined reference to `_imp___ctype_'
../src/shared.o:shared.c:(.text+0x8f8): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x905): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x910): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x921): undefined reference to `memmove'
../src/shared.o:shared.c:(.text+0x92d): undefined reference to `strstr'
../src/shared.o:shared.c:(.text+0x941): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0x952): undefined reference to `memmove'
../src/shared.o:shared.c:(.text+0xac7): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0xad1): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0xae1): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0xaf5): undefined reference to `memmove'
../src/shared.o:shared.c:(.text+0xb04): undefined reference to `strstr'
../src/shared.o:shared.c:(.text+0xb1c): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0xb2d): undefined reference to `memmove'
../src/shared.o:shared.c:(.text+0xcb9): undefined reference to `strcmp'
../src/shared.o:shared.c:(.text+0xe70): undefined reference to `strlen'
../src/shared.o:shared.c:(.text+0xfa4): undefined reference to `realloc'
../src/shared.o:shared.c:(.text+0x1174): undefined reference to `realloc'
../src/shared.o:shared.c:(.text+0x11ae): undefined reference to `malloc'
../src/shared.o:shared.c:(.text+0x1246): undefined reference to `strdup'
../src/platon/str/strplus.o:strplus.c:(.text+0x1a): undefined reference to `strstr'
../src/platon/str/strplus.o:strplus.c:(.text+0x2a): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x58): undefined reference to `strdup'
../src/platon/str/strplus.o:strplus.c:(.text+0x65): undefined reference to `strdup'
../src/platon/str/strplus.o:strplus.c:(.text+0x83): undefined reference to `free'
../src/platon/str/strplus.o:strplus.c:(.text+0x8f): undefined reference to `free'
../src/platon/str/strplus.o:strplus.c:(.text+0xbc): undefined reference to `strstr'
../src/platon/str/strplus.o:strplus.c:(.text+0xe0): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0xee): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x10f): undefined reference to `_imp___ctype_'
../src/platon/str/strplus.o:strplus.c:(.text+0x26c): undefined reference to `strstr'
../src/platon/str/strplus.o:strplus.c:(.text+0x295): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x2af): undefined reference to `strstr'
../src/platon/str/strplus.o:strplus.c:(.text+0x2de): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x2f1): undefined reference to `memmove'
../src/platon/str/strplus.o:strplus.c:(.text+0x325): undefined reference to `strchr'
../src/platon/str/strplus.o:strplus.c:(.text+0x365): undefined reference to `strchr'
../src/platon/str/strplus.o:strplus.c:(.text+0x396): undefined reference to `_imp___ctype_'
../src/platon/str/strplus.o:strplus.c:(.text+0x3d4): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x3e5): undefined reference to `memmove'
../src/platon/str/strplus.o:strplus.c:(.text+0x40e): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x421): undefined reference to `_imp___ctype_'
../src/platon/str/strplus.o:strplus.c:(.text+0x46f): undefined reference to `_imp___ctype_'
../src/platon/str/strplus.o:strplus.c:(.text+0x485): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x499): undefined reference to `memmove'
../src/platon/str/strplus.o:strplus.c:(.text+0x4d9): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x4e3): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x4f7): undefined reference to `memmove'
../src/platon/str/strplus.o:strplus.c:(.text+0x507): undefined reference to `strncpy'
../src/platon/str/strplus.o:strplus.c:(.text+0x532): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x59c): undefined reference to `strchr'
../src/platon/str/strplus.o:strplus.c:(.text+0x5af): undefined reference to `strchr'
../src/platon/str/strplus.o:strplus.c:(.text+0x5db): undefined reference to `strcmp'
../src/platon/str/strplus.o:strplus.c:(.text+0x5f9): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x606): undefined reference to `strlen'
../src/platon/str/strplus.o:strplus.c:(.text+0x5f1): undefined reference to `strcmp'
../src/platon/str/strctype.o:strctype.c:(.text+0x64): undefined reference to `_imp___ctype_'
../src/platon/str/strctype.o:strctype.c:(.text+0xa4): undefined reference to `_imp___ctype_'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x16): undefined reference to `free'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x7e): undefined reference to `malloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0xbf): undefined reference to `malloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0xd5): undefined reference to `strdup'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x148): undefined reference to `realloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x15b): undefined reference to `strdup'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x2cc): undefined reference to `realloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x2df): undefined reference to `free'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x32c): undefined reference to `realloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x33b): undefined reference to `free'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x386): undefined reference to `free'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x39e): undefined reference to `realloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x402): undefined reference to `malloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x41e): undefined reference to `strlen'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x43b): undefined reference to `strstr'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x44a): undefined reference to `malloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x464): undefined reference to `strncpy'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x484): undefined reference to `strdup'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x674): undefined reference to `strlen'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x686): undefined reference to `strlen'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x6a1): undefined reference to `malloc'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x6d5): undefined reference to `strcpy'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x6e3): undefined reference to `strlen'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x6ff): undefined reference to `strcpy'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x801): undefined reference to `strcmp'
../src/platon/str/strdyn.o:strdyn.c:(.text+0xa1d): undefined reference to `strcasecmp'
../src/platon/str/strdyn.o:strdyn.c:(.text+0xa9b): undefined reference to `strcmp'
../src/platon/str/strdyn.o:strdyn.c:(.text+0xafb): undefined reference to `strstr'
../src/platon/str/strdyn.o:strdyn.c:(.text+0x2b): undefined reference to `free'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0x14): undefined reference to `malloc'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0x48): undefined reference to `realloc'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0x5a): undefined reference to `strcat'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0x6b): undefined reference to `strchr'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0x90): undefined reference to `fgets'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0xc6): undefined reference to `free'
../src/platon/str/dynfgets.o:dynfgets.c:(.text+0xe6): undefined reference to `strchr'
make[1]: *** [libcfg+.so.0.6.2] Error 1
make[1]: Leaving directory `/cygdrive/c/Desarrollo/libcfg+-0.6.2/src'
make: *** [all-src] Error 2



Has anyone succeeded in compiling this library? I have checked the archives for similar problems, but I didn't manage to adapt the solution to fix my issue.


Thanks in advance!

Luis.


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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