[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building a.out binaries



> > I need to compile an a.out version of the (modified) login program,
> > dynamically link against libc4 (obviously.)
> > 
> > To this end, I installed all the gizmos - aout-binutils and aout-gcc.
> > These programs (gcc and ld) run ok, but produce this warning :
> > 
> > /usr/i486-linuxaout/bin/gcc  -o login login.o getpass.o checktty.o
> > /usr/i486-linuxaout/bin/ld: warning: cannot find entry symbol _start; defaulting
> >  to 08048078
> > 
> > The resulting binary is a messed up statically linked ELF file.
> 
> Stephen, I haven't used the aout-gcc compiler but from what it sounds
> like you are probably using a Makefile which is pointing ld to the
> wrong libraries. Take a look at all the -L directives and maybe you
> want to explicitly put in directives to point to the a.out libs.

Unfortunately not.  :(

I even check by adding -v to the CFLAGS and it's calling ld with all
the right paths.

We have three machines with full development system installs here, at
differing stages of up-to-dateness of packages, and all produce the
same "error".  My desktop machine, which is my normal development
platform, is completely up-to-date (as far as the Debian packages
go.)

... Stephen


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: