From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16391 invoked by alias); 12 Oct 2006 11:35:00 -0000 Received: (qmail 16301 invoked by uid 22791); 12 Oct 2006 11:34:58 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.191) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Oct 2006 11:34:52 +0000 Received: by nf-out-0910.google.com with SMTP id c29so1019749nfb for ; Thu, 12 Oct 2006 04:34:49 -0700 (PDT) Received: by 10.78.181.13 with SMTP id d13mr2093238huf; Thu, 12 Oct 2006 04:34:48 -0700 (PDT) Received: by 10.78.133.20 with HTTP; Thu, 12 Oct 2006 04:34:48 -0700 (PDT) Message-ID: <694596b60610120434m73457628p868f030e67b5574a@mail.gmail.com> Date: Thu, 12 Oct 2006 12:27:00 -0000 From: "Yashesh Bhatia" To: "Mark Flacy" , xconq7@sources.redhat.com Subject: Re: help compiling xconq 7.5 on Fedora Core 5 Cc: xconq7@sourceware.org In-Reply-To: <1160652343l.15466l.0l@flacy> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <694596b60610120350o47ccf897vf32e8a90948c76f9@mail.gmail.com> <1160652343l.15466l.0l@flacy> X-IsSubscribed: yes Mailing-List: contact xconq7-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sourceware.org X-SW-Source: 2006/txt/msg00012.txt.bz2 Message-ID: <20061012122700.pEfZYvG85FNmBGaS67tpLdPX66btyRZVp-6NVAzfK3E@z> hi, thx mark.. same error. rm -f xconq xconq.exe tkconq tkconq.exe gcc -o xconq -g -O2 -DUNIX -I. -I./.. -I./../kernel -I./../missing -I/usr/include/tk8.4 -L tkunix.o ./libtkui.a ./libtkimf.a ../kernel/libconq.a ../kernel/libconqlow.a ../missing/libmissing.a -lXext -lXmu -lX11 -L/usr/lib -ltcl8.4 -L/usr/lib -ltk8.4 -L/usr/lib -lX11 -ldl -lieee -lm -ldl /usr/lib/gcc/i386-redhat-linux/4.1.0/../../../crt1.o: In function `_start': undefined reference to `main' collect2: ld returned 1 exit status make[1]: *** [xconq] Error 1 make[1]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/tcltk' make: *** [all-tkconq] Error 2 [root@sun xconq-7.5.0]# however if i manually run the command [root@sun tcltk]# gcc -o xconq -g -O2 -DUNIX -I. -I./.. -I./../kernel -I./../missing -I/usr/include/tk8.4 tkunix.o ./libtkui.a ./libtkimf.a ../kernel/libconq.a ../kernel/libconqlow.a ../missing/libmissing.a -lXext -lXmu -lX11 -L/usr/lib -ltcl8.4 -L/usr/lib -ltk8.4 -L/usr/lib -lX11 -ldl -lieee -lm -ldl [root@sun tcltk]# ls -l xconq -rwxr-xr-x 1 root root 3563562 Oct 12 17:04 xconq [root@sun tcltk]# I do get the executable.. so the faulty thing is the -L (flag) before the tkunix.o .. looks like a makefile bug ? any pointers on how to fix this ? thx. yashesh bhatia. On 10/12/06, Mark Flacy wrote: > On 2006.10.12 05:50, Yashesh Bhatia wrote: > > Hi, > > > > I'm trying to compile xconq 7.5 on Fedore Core 5 and am getting > > some error messages. I'd appreciate any help, tip, pointers, feedback > > on it. > > How about performing a "make clean" followed by a "make"? > > > > > > Thanks. > > > > Yashesh > > > > > > Details > > ----------- > > OS - FC5 > > [root@sun xconq]# uname -a > > Linux foobar 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 > > i686 i386 GNU/Linux > > > > Other s/w installed on FC5 box > > tcl-devel-8.4.12-4.i386.rpm > > tk-devel-8.4.12-1.2.i386.rpm > > > > Xconq RPM - xconq-7.5.0-0pre.0.20040523.src.rpm > > > > on doing rpm -i we get tarball > > /usr/src/redhat/SOURCES/xconq-7.5.0.tar.gz > > > > untarred it and did > > $./configure > > (successful) > > > > when try to build it using make i get an error > > $ make > > make[1]: Entering directory `/usr/src/redhat/SOURCES/xconq-7.5.0/tcltk' > > make[1]: Nothing to be done for `all-libs'. > > make[1]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/tcltk' > > make[1]: Entering directory `/usr/src/redhat/SOURCES/xconq-7.5.0/tcltk' > > (cd ../kernel && make libconq.a) > > make[2]: Entering directory `/usr/src/redhat/SOURCES/xconq-7.5.0/kernel' > > make[2]: `libconq.a' is up to date. > > make[2]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/kernel' > > (cd ../kernel && make libconqlow.a) > > make[2]: Entering directory `/usr/src/redhat/SOURCES/xconq-7.5.0/kernel' > > (cd ../missing && make libmissing.a) > > make[3]: Entering directory `/usr/src/redhat/SOURCES/xconq-7.5.0/missing' > > (cd snprintf && make snprintf-objs) > > make[4]: Entering directory > > `/usr/src/redhat/SOURCES/xconq-7.5.0/missing/snprintf' > > make[4]: Nothing to be done for `snprintf-objs'. > > make[4]: Leaving directory > > `/usr/src/redhat/SOURCES/xconq-7.5.0/missing/snprintf' > > (cd util && make ALL_CFLAGS="-g -O2 -DUNIX -I. " util-objs) > > make[4]: Entering directory `/usr/src/redhat/SOURCES/xconq-7.5.0/missing/util' > > make[4]: Nothing to be done for `util-objs'. > > make[4]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/missing/util' > > rm -f libmissing.a > > ar rcu libmissing.a snprintf/snprintf.o util/timestuff.o > > ranlib libmissing.a > > make[3]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/missing' > > rm -f libconqlow.a > > ar rcu libconqlow.a imf.o gif.o lisp.o util.o unix.o socket.o > > ranlib libconqlow.a > > make[2]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/kernel' > > rm -f xconq xconq.exe tkconq tkconq.exe > > gcc -o xconq -g -O2 -DUNIX -I. -I./.. -I./../kernel -I./../missing > > -I/usr/include/tk8.4 -L tkunix.o ./libtkui.a ./libtkimf.a > > ../kernel/libconq.a ../kernel/libconqlow.a ../missing/libmissing.a > > -lXext -lXmu -lX11 -L/usr/lib -ltcl8.4 -L/usr/lib -ltk8.4 -L/usr/lib > > -lX11 -ldl -lieee -lm -ldl > > /usr/lib/gcc/i386-redhat-linux/4.1.0/../../../crt1.o: In function > > `_start': undefined reference to `main' > > collect2: ld returned 1 exit status > > make[1]: *** [xconq] Error 1 > > make[1]: Leaving directory `/usr/src/redhat/SOURCES/xconq-7.5.0/tcltk' > > make: *** [all-tkconq] Error 2 > > [root@sun xconq-7.5.0]# > > > >