FYV Error :
_______________________________________________________________ gcc -Wall -W -O2 -pipe -o dnsget dnsget.o -L. -ludns Undefined first referenced symbol in file dns_ntop dnsget.o dns_pton dnsget.o sendto ./libudns.a(udns_resolver.o) socket ./libudns.a(udns_resolver.o) recvfrom ./libudns.a(udns_resolver.o) ld: fatal: Symbol referencing errors. No output written to dnsget collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `dnsget' _______________________________________________________________ On Tue, Dec 8, 2009 at 4:40 PM, Anthony Catel <[email protected]> wrote: > What about "make" on ./ ? > > Sreelaj John a écrit : > > Hi Anthony, > > > > I tried to compile the files. Pls find the output. Seems everything is > > fine. > > Tips on how to proceed ?? > > ___________________________________________ > > > > configure... udns package > > checking for C compiler... gcc > > checking whenever C compiler (gcc) is GNU CC... yes > > checking whenever the C compiler (gcc -Wall -W -O2 -pipe) > > can produce executables... yes > > checking for ranlib... ranlib > > checking for getopt()... no > > checking for inet_pton() && inet_ntop()... no > > checking for socklen_t... yes > > checking for libraries needed for socket and connect... ok (-lsocket > > -lnsl) > > checking for IPv6... yes > > checking for poll()... yes > > creating config.h... unchanged > > creating Makefile... ok > > creating config.status... ok > > all done. > > > > > > ___________________________________________________________ > > > > > > > > On Tue, Dec 8, 2009 at 4:13 PM, Anthony Catel <[email protected] > > <mailto:[email protected]>> wrote: > > > > It's not the issue. plateform.mk <http://plateform.mk> is > > generated by build.sh. But you have > > another compilatoin error before. > > Btw, I never try to compile on SunOS ;) > > > > Sreelaj John a écrit : > > > HI, > > > > > > its SunOS. > > > I was searching in the package, i couldn't find "plateform.mk > > <http://plateform.mk>" > > > anywhere. > > > > > > Let me try to compile. > > > > > > > > > On Dec 8, 3:14 pm, Anthony Catel <[email protected] > > <mailto:[email protected]>> wrote: > > > > > >> What is your linux distribution? > > >> Can you try to compile manually udns (./deps/udns-0.0.9/) > > >> > > >> Thanks > > >> > > >> Sreelaj John a crit : > > >> > > >> > > >> > > >> > > >>> yes, pls find the output. > > >>> > > >>> > > > __________________________________________________________________________ > > >>> > > >>> checking for xargs... (cached) /usr/bin/xargs > > >>> checking for gmake... (cached) /opt/local/bin/gmake > > >>> checking for X... (cached) libraries , headers > > >>> checking for dnet_ntoa in -ldnet... (cached) no > > >>> checking for dnet_ntoa in -ldnet_stub... (cached) no > > >>> checking for gethostbyname... (cached) no > > >>> checking for gethostbyname in -lnsl... (cached) yes > > >>> checking for connect... (cached) no > > >>> checking for connect in -lsocket... (cached) yes > > >>> checking for remove... (cached) yes > > >>> checking for shmat... (cached) yes > > >>> checking for IceConnectionNumber in -lICE... (cached) yes > > >>> checking whether the compiler supports > > -Wno-invalid-offsetof... yes > > >>> checking whether the compiler supports -Wno-variadic-macros... no > > >>> checking whether ld has archive extraction flags... (cached) yes > > >>> checking that static assertion macros used in autoconf tests > > work... > > >>> (cached) > > >>> ye > > >>> s > > >>> checking for 64-bit OS... no > > >>> checking for ANSI C header files... (cached) yes > > >>> checking for working const... (cached) yes > > >>> checking for mode_t... (cached) yes > > >>> checking for off_t... (cached) yes > > >>> checking for pid_t... (cached) yes > > >>> checking for size_t... (cached) yes > > >>> checking for st_blksize in struct stat... (cached) yes > > >>> checking for siginfo_t... (cached) yes > > >>> checking for stdint.h... (cached) yes > > >>> checking for the size of void*... (cached) 4 > > >>> checking for the alignment of void*... (cached) 4 > > >>> checking for the size of double... (cached) 8 > > >>> checking for int16_t... (cached) yes > > >>> checking for int32_t... (cached) yes > > >>> checking for int64_t... (cached) yes > > >>> checking for int64... (cached) no > > >>> checking for uint... (cached) yes > > >>> checking for uint_t... (cached) yes > > >>> checking for uint16_t... (cached) yes > > >>> checking for uname.domainname... (cached) no > > >>> checking for uname.__domainname... (cached) no > > >>> checking for visibility(hidden) attribute... (cached) no > > >>> checking for dirent.h that defines DIR... (cached) yes > > >>> checking for opendir in -ldir... (cached) no > > >>> checking for sys/byteorder.h... (cached) yes > > >>> checking for compat.h... (cached) no > > >>> checking for getopt.h... (cached) yes > > >>> checking for sys/bitypes.h... (cached) no > > >>> checking for memory.h... (cached) yes > > >>> checking for unistd.h... (cached) yes > > >>> checking for gnu/libc-version.h... (cached) no > > >>> checking for nl_types.h... (cached) yes > > >>> checking for malloc.h... (cached) yes > > >>> checking for X11/XKBlib.h... (cached) yes > > >>> checking for sys/statvfs.h... (cached) yes > > >>> checking for sys/statfs.h... (cached) yes > > >>> checking for sys/vfs.h... (cached) yes > > >>> checking for sys/mount.h... (cached) yes > > >>> checking for mmintrin.h... (cached) no > > >>> checking for new... (cached) yes > > >>> checking for sys/cdefs.h... (cached) no > > >>> checking for gethostbyname_r in -lc_r... (cached) no > > >>> checking for atan in -lm... (cached) yes > > >>> checking for dlopen in -ldl... (cached) yes > > >>> checking for dlfcn.h... (cached) yes > > >>> checking for dladdr... (cached) yes > > >>> checking for socket in -lsocket... (cached) yes > > >>> checking for pthread_create in -lpthreads... no > > >>> checking for pthread_create in -lpthread... yes > > >>> checking whether gcc accepts -pthread... no > > >>> checking whether gcc accepts -pthreads... yes > > >>> checking whether mmap() sees write()s... yes > > >>> checking whether gcc needs -traditional... (cached) no > > >>> checking for 8-bit clean memcmp... (cached) yes > > >>> checking for fchmod... (cached) yes > > >>> checking for flockfile... (cached) yes > > >>> checking for getc_unlocked... (cached) yes > > >>> checking for _getc_nolock... (cached) no > > >>> checking for getpagesize... (cached) yes > > >>> checking for lchown... (cached) yes > > >>> checking for localtime_r... (cached) yes > > >>> checking for lstat64... (cached) yes > > >>> checking for memmove... (cached) yes > > >>> checking for random... (cached) yes > > >>> checking for rint... (cached) yes > > >>> checking for sbrk... (cached) yes > > >>> checking for snprintf... (cached) yes > > >>> checking for stat64... (cached) yes > > >>> checking for statvfs... (cached) yes > > >>> checking for statvfs64... (cached) yes > > >>> checking for strerror... (cached) yes > > >>> checking for strtok_r... (cached) yes > > >>> checking for truncate64... (cached) yes > > >>> checking for wcrtomb... (cached) yes > > >>> checking for mbrtowc... (cached) yes > > >>> checking for res_ninit()... (cached) no > > >>> checking for gnu_get_libc_version()... (cached) no > > >>> checking for iconv in -lc... (cached) yes > > >>> checking for iconv()... (cached) no > > >>> checking for an implementation of va_copy()... (cached) yes > > >>> checking for an implementation of __va_copy()... (cached) yes > > >>> checking whether va_lists can be copied by value... (cached) yes > > >>> checking for C++ exceptions flag... (cached) -fno-exceptions > > >>> checking for gcc 3.0 ABI... (cached) yes > > >>> checking for C++ "explicit" keyword... (cached) yes > > >>> checking for C++ "typename" keyword... (cached) yes > > >>> checking for modern C++ template specialization syntax support... > > >>> (cached) yes > > >>> checking whether partial template specialization works... > > (cached) yes > > >>> checking whether operators must be re-defined for templates > > derived > > >>> from > > >>> templat > > >>> es... (cached) no > > >>> checking whether we need to cast a derived template to pass as > its > > >>> base > > >>> class... > > >>> (cached) no > > >>> checking whether the compiler can resolve const ambiguities for > > >>> templates... > > >>> (ca > > >>> ched) yes > > >>> checking whether the C++ "using" keyword can change access... > > (cached) > > >>> yes > > >>> checking whether the C++ "using" keyword resolves ambiguity... > > >>> (cached) yes > > >>> checking for "std::" namespace... (cached) yes > > >>> checking whether standard template operator!=() is ambiguous... > > >>> (cached) > > >>> unambig > > >>> uous > > >>> checking for C++ reinterpret_cast... (cached) yes > > >>> checking for C++ dynamic_cast to void*... (cached) yes > > >>> checking whether C++ requires implementation of unused virtual > > >>> methods... > > >>> (cache > > >>> d) yes > > >>> checking for trouble comparing to zero near std::operator!=()... > > >>> (cached) no > > >>> checking for LC_MESSAGES... (cached) yes > > >>> checking for valid optimization flags... yes > > >>> checking for __cxa_demangle... (cached) yes > > >>> checking for unwind.h... (cached) yes > > >>> checking for _Unwind_Backtrace... (cached) yes > > >>> checking for gcc -pipe support... no > > >>> checking whether compiler supports -Wno-long-long... yes > > >>> checking whether C compiler supports -fprofile-generate... yes > > >>> checking whether C++ compiler has -pedantic long long bug... no > > >>> checking for correct temporary object destruction order... yes > > >>> checking for correct overload resolution with const and > > templates... > > >>> no > > >>> checking for tm_zone tm_gmtoff in struct tm... (cached) no > > >>> checking for setlocale... (cached) yes > > >>> creating ./config.status > > >>> creating config/autoconf.mk <http://autoconf.mk> > > >>> creating js-config.h > > >>> js-config.h is unchanged > > >>> config/autoconf.mk <http://autoconf.mk> is unchanged > > >>> invoking make to create js-config script > > >>> gmake: `js-config' is up to date. > > >>> mksh: Fatal error in reader: = missing from replacement macro > > >>> reference > > >>> Current working directory > > /home/aptana/domains/webtop.aptanacloud.com/ > > <http://webtop.aptanacloud.com/> > > >>> ape/ape- > > >>> se > > >>> rver-1.0/deps/js/src > > >>> gcc -D_GNU_SOURCE -Wall -O2 -minline-all-stringops -rdynamic > > -I ./deps/ > > >>> udns-0.0. > > >>> 9/ src/entry.c src/sock.c src/hash.c src/handle_http.c > > src/cmd.c src/ > > >>> users.c > > >>> src > > / > > >>> channel.c src/config.c src/json.c src/json_parser.c > > src/plugins.c src/ > > >>> http.c > > >>> sr > > >>> c/extend.c src/utils.c src/ticks.c src/proxy.c src/base64.c > > src/pipe.c > > >>> src/ > > >>> raw.c > > >>> src/events.c src/event_kqueue.c src/event_epoll.c > > src/transports.c src/ > > >>> servers. > > >>> c src/dns.c src/sha1.c src/log.c src/log.h -o bin/aped -ldl > > -lm ./deps/ > > >>> udns-0.0. > > >>> 9/libudns.a -I ./deps/udns-0.0.9/ > > >>> gcc: unrecognized option `-rdynamic' > > >>> In file included from src/../modules/plugins.h:42, > > >>> from src/plugins.h:27, > > >>> from src/entry.c:22: > > >>> src/../modules/../src/log.h:37:7: warning: no newline at end > > of file > > >>> In file included from src/entry.c:41: > > >>> src/servers.h:29:7: warning: no newline at end of file > > >>> In file included from src/entry.c:43: > > >>> src/log.h:37:7: warning: no newline at end of file > > >>> src/entry.c: In function `ape_daemon': > > >>> src/entry.c:86: warning: int format, pid_t arg (arg 3) > > >>> In file included from src/sock.c:40: > > >>> src/log.h:37:7: warning: no newline at end of file > > >>> src/sock.c: In function `sendf': > > >>> src/sock.c:563: warning: implicit declaration of function > > `vasprintf' > > >>> In file included from src/../modules/plugins.h:42, > > >>> from src/plugins.h:27, > > >>> from src/users.c:35: > > >>> src/../modules/../src/log.h:37:7: warning: no newline at end > > of file > > >>> In file included from src/users.c:41: > > >>> src/log.h:37:7: warning: no newline at end of file > > >>> In file included from src/../modules/plugins.h:42, > > >>> from src/plugins.h:27, > > >>> from src/channel.c:28: > > >>> src/../modules/../src/log.h:37:7: warning: no newline at end > > of file > > >>> In file included from src/../modules/plugins.h:42, > > >>> from src/plugins.h:27, > > >>> from src/plugins.c:22: > > >>> src/../modules/../src/log.h:37:7: warning: no newline at end > > of file > > >>> src/http.c:425:2: warning: no newline at end of file > > >>> In file included from src/utils.c:27: > > >>> src/log.h:37:7: warning: no newline at end of file > > >>> In file included from src/../modules/plugins.h:42, > > >>> from src/plugins.h:27, > > >>> from src/raw.c:27: > > >>> src/../modules/../src/log.h:37:7: warning: no newline at end > > of file > > >>> In file included from src/servers.c:22: > > >>> src/servers.h:29:7: warning: no newline at end of file > > >>> src/dns.c:221:2: warning: no newline at end of file > > >>> In file included from src/log.c:29: > > >>> src/log.h:37:7: warning: no > > >>> > > >> ... > > >> > > >> read more » > > >> > > > > > > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "APE Project" group. > > To post to this group, send email to [email protected] > > <mailto:[email protected]> > > To unsubscribe from this group, send email to > > > > [email protected]<ape-project%[email protected]> > > > > <mailto:ape-project%[email protected]<ape-project%[email protected]> > > > > For more options, visit this group at > > http://groups.google.com/group/ape-project?hl=en > > --- > > APE Project (Ajax Push Engine) > > Official website : http://www.ape-project.org/ > > Git Hub : http://github.com/APE-Project/ > > > > > > > > > > -- > > Regards As Always > > Sreelaj John > > -- > > You received this message because you are subscribed to the Google > > Groups "APE Project" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<ape-project%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/ape-project?hl=en > > --- > > APE Project (Ajax Push Engine) > > Official website : http://www.ape-project.org/ > > Git Hub : http://github.com/APE-Project/ > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<ape-project%[email protected]> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ -- Regards As Always Sreelaj John -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
