From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sanborn, Ed" To: "'gnats-devel@sourceware.cygnus.com'" Subject: Compiing. Date: Thu, 27 May 1999 06:54:00 -0000 Message-id: X-SW-Source: 1999-q2/msg00003.html Hi, I am getting an error when compiling gnats. I'm compiling version 3.101-beta with gcc on a Sun with Solaris 2.6. Here's the bottom of the make output: gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H internal.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H misc.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H pr.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H xmalloc.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H index.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H lists.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H query.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H -DX_GNATS_ROOT="\"/usr/local/gnats\"" -DGNATS_ADDR="\"bugs\"" -DGNATS_ADMIN="\"gnats-admin\"" -DGNATS_USER="\"gnats\"" -DGNATS_SERVER="\"gnats\"" -DGNATS_SERVER_PORT="1529" -DGNATS_SERVICE="\"support\"" -DDEFAULT_SUBMITTER="\"unknown\"" -DDEFAULT_RELEASE="\"unknown-1.0\"" -DNOTIFY=1 -DACKNOWLEDGE=1 -DKEEP_RECEIVED_HEADERS=1 -DMAIL_AGENT="\"/usr/lib/sendmail -oi -t\"" -DBINDIR="\"/usr/local/lib/gnats\"" -DBDAY_START=8 -DBDAY_END=17 -DBWEEK_START=1 -DBWEEK_END=5 config.c echo 'char *version_string = "3.99";' > version.c-t mv version.c-t version.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H version.c ar rc libgnats.a edit.o files.o getdate.o headers.o internal.o misc.o pr.o xmalloc.o index.o lists.o query.o config.o version.o true libgnats.a gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H query-pr.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H regex.c gcc -o query-pr query-pr.o regex.o \ libgnats.a `if [ -f ../libiberty/libiberty.a ] ; then echo ../libiberty/libiberty.a ; else echo -liberty ; fi` gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H nquery-pr.c gcc -c -I. -I. -I./../include -g -DHAVE_CONFIG_H client.c gcc -o nquery-pr nquery-pr.o client.o \ libgnats.a `if [ -f ../libiberty/libiberty.a ] ; then echo ../libiberty/libiberty.a ; else echo -liberty ; fi` Undefined first referenced symbol in file socket client.o gethostbyname client.o getservbyname client.o inet_addr client.o connect client.o ld: fatal: Symbol referencing errors. No output written to nquery-pr *** Error code 1 make: Fatal error: Command failed for target `nquery-pr' Current working directory /raid5/users/esanborn/gnats/gnats-3.101-beta/gnats *** Error code 1 make: Fatal error: Command failed for target `all-gnats' Anything anyone can do to help would be appreciated. -Ed