Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 1998 23:15:44 -0500
From:      "Rob Snow" <rsnow@lgc.com>
To:        "Rob Snow" <rsnow@lgc.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: linux_devel doesn't seem to work
Message-ID:  <001101bddadf$5958dcc0$21e48486@lgc.com>

next in thread | raw e-mail | index | archive | help
Never mind...  deinstalled and reinstalled linux_lib and it works.  ( well,
compiles and runs; doesn't do anything :-/  )

-Rob

-----Original Message-----
From: Rob Snow <rsnow@lgc.com>
To: <freebsd-questions@FreeBSD.ORG>
Date: Monday, September 07, 1998 11:00 PM
Subject: linux_devel doesn't seem to work


>Greetings,
>
>I was just trying out the linux_devel to compile wmload on my machine.
It's
>failing pretty badly.  I'm assuming that I'm doing something wrong in my
>setup.  I've set the paths, run the /compat/linux/bin/sh and even tried to
>poke on the makefile, all to no avail.  Hints would be greatly appreciated.
>BTW, this happens on another program, so I'm guessing it's happening all
>over and I'm misconfigured.
>
>Thanks,
>Rob
>
>oh, running -current
>
>
>Output:
>
>bash$ make clean
>rm -f wmload
>rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS
>make.log MakeOut  "#"*
>bash$ which xmkmf
>/compat/linux/usr/X11/bin/xmkmf
>bash$ xmkmf
>mv -f Makefile Makefile.bak
>imake -DUseInstalled -I/var/X11R6/lib/config
>bash$ which make
>/compat/linux/usr/bin/make
>bash$ which gcc
>/compat/linux/usr/bin/gcc
>bash$ make >& output
>bash$
>
>
>bash$ head output
>gcc -O2 -m486 -ansi    -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_SO
U
>RCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -Debug -DFUNCPROTO=15 -DNARROWPR
O
>TO     -c wmload.c -o wmload.o
>rm -f wmload
>gcc -o wmload -O2 -m486 -ansi     -L/usr/X11R6/lib
>wmload.o -L/compat/linux/usr/lib/X11 -lXpm -lm -lXExExt -lXext -lX11      -
W
>l,-rpath,/usr/X11R6/lib
>/usr/lib/crt1.o: In function `_start':
>/usr/lib/crt1.o(.text+0x35): undefined reference to `__fpu_control'
>/usr/lib/crt1.o(.text+0x3b): undefined reference to `__setfpucw'
>/usr/lib/crt1.o(.text+0x43): undefined reference to `__libc_init'
>/usr/lib/crt1.o(.text+0x4d): undefined reference to `atexit'
>/usr/lib/crt1.o(.text+0x60): undefined reference to `exit'
>wmload.o: In function `usage':
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101bddadf$5958dcc0$21e48486>