version 0.1.24 compile error
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c dirs.c -o dirs.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c base64.c -o base64.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c misc.c -o misc.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c counters.c -o counters.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c cfg.c -o cfg.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c sig.c -o sig.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c decoder.c -o decoder.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c hash.c -o hash.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c parser.c -o parser.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c parser_utils.c -o parser_utils.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c rules.c -o rules.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c session.c -o session.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c message.c -o message.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c attachment.c -o attachment.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c digest.c -o digest.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c store.c -o store.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c archive.c -o archive.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c tai.c -o tai.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c import.c -o import.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c imap.c -o imap.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c pop3.c -o pop3.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c extract.c -o extract.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c mydomains.c -o mydomains.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c retr.c -o retr.o
gcc -O2 -Wall -g -fPIC -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -c mysql.c -o mysql.o
ar cr libpiler.a dirs.o base64.o misc.o counters.o cfg.o sig.o decoder.o hash.o parser.o parser_utils.o rules.o session.o message.o attachment.o digest.o store.o archive.o tai.o import.o imap.o pop3.o extract.o mydomains.o retr.o mysql.o
ranlib libpiler.a
gcc -shared -o libpiler.so.0.1.1 dirs.o base64.o misc.o counters.o cfg.o sig.o decoder.o hash.o parser.o parser_utils.o rules.o session.o message.o attachment.o digest.o store.o archive.o tai.o import.o imap.o pop3.o extract.o mydomains.o retr.o mysql.o
ln -sf libpiler.so.0.1.1 libpiler.so
ln -sf libpiler.so.0.1.1 libpiler.so.0
gcc -O2 -Wall -g -I. -I.. -I/usr/include/mysql -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -o piler piler.c -lpiler -lz -lm -ldl -lcrypto -lssl -ltre -lzip -lwrap -lnsl -L/usr/lib64 -lmysqlclient_r -lpthread -lz -lm -lrt -lssl -lcrypto -ldl -L.
/tmp/ccmtw7Zk.o: In function child_make':
/root/piler-0.1.24/src/piler.c:169: undefined reference to
set_signal_handler'
/root/piler-0.1.24/src/piler.c:170: undefined reference to set_signal_handler'
/root/piler-0.1.24/src/piler.c:171: undefined reference to
set_signal_handler'
/tmp/ccmtw7Zk.o: In function child_main':
/root/piler-0.1.24/src/piler.c:128: undefined reference to
get_in_addr'
/tmp/ccmtw7Zk.o: In function p_clean_exit':
/root/piler-0.1.24/src/piler.c:231: undefined reference to
clearrules'
/root/piler-0.1.24/src/piler.c:232: undefined reference to clearrules'
/root/piler-0.1.24/src/piler.c:234: undefined reference to
clearhash'
/tmp/ccmtw7Zk.o: In function initialise_configuration':
/root/piler-0.1.24/src/piler.c:310: undefined reference to
clearrules'
/root/piler-0.1.24/src/piler.c:311: undefined reference to clearrules'
/root/piler-0.1.24/src/piler.c:313: undefined reference to
clearhash'
/root/piler-0.1.24/src/piler.c:321: undefined reference to inithash'
/root/piler-0.1.24/src/piler.c:322: undefined reference to
initrules'
/root/piler-0.1.24/src/piler.c:323: undefined reference to initrules'
/root/piler-0.1.24/src/piler.c:337: undefined reference to
open_database'
/root/piler-0.1.24/src/piler.c:353: undefined reference to close_database'
/tmp/ccmtw7Zk.o: In function
main':
/root/piler-0.1.24/src/piler.c:396: undefined reference to inithash'
/root/piler-0.1.24/src/piler.c:397: undefined reference to
initrules'
/root/piler-0.1.24/src/piler.c:398: undefined reference to initrules'
/root/piler-0.1.24/src/piler.c:408: undefined reference to
set_signal_handler'
/root/piler-0.1.24/src/piler.c:457: undefined reference to set_signal_handler'
/root/piler-0.1.24/src/piler.c:458: undefined reference to
set_signal_handler'
/root/piler-0.1.24/src/piler.c:459: undefined reference to set_signal_handler'
/root/piler-0.1.24/src/piler.c:460: undefined reference to
set_signal_handler'
collect2: ld returned 1 exit status
make: *** [piler] Error 1
Comments (5)
-
repo owner -
repo owner - changed status to resolved
No news is good news.
-
Same problem here. So please reopen this bug.
-
repo owner Contact me at skype (janos.suto) to discuss this issue.
-
Problem solved. I've removed the libs from old installation, run ldconfig and now can compile well. Thanks for your help !
- Log in to comment
What OS, distribution, version is this? What configure options did you use?