public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: "Yashesh Bhatia" <yasheshb@gmail.com>
To: "Mark Flacy" <mflacy1@comcast.net>, xconq7@sources.redhat.com
Cc: xconq7@sourceware.org
Subject: Re: help compiling xconq 7.5 on Fedora Core 5
Date: Thu, 12 Oct 2006 12:27:00 -0000	[thread overview]
Message-ID: <694596b60610120434m73457628p868f030e67b5574a@mail.gmail.com> (raw)
Message-ID: <20061012122700.pEfZYvG85FNmBGaS67tpLdPX66btyRZVp-6NVAzfK3E@z> (raw)
In-Reply-To: <1160652343l.15466l.0l@flacy>

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 <mflacy1@comcast.net> 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]#
> >
>
>

  reply	other threads:[~2006-10-12 11:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 10:50 Yashesh Bhatia
2006-10-12 11:25 ` Mark Flacy
2006-10-12 11:34   ` Yashesh Bhatia [this message]
2006-10-12 12:27     ` Yashesh Bhatia
2006-10-16 17:37 ` Eric McDonald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=694596b60610120434m73457628p868f030e67b5574a@mail.gmail.com \
    --to=yasheshb@gmail.com \
    --cc=mflacy1@comcast.net \
    --cc=xconq7@sources.redhat.com \
    --cc=xconq7@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).