freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Michael Peppler <mpeppler AT peppler.org>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: So....
- Date: Wed, 25 Oct 2000 08:46:35 -0700 (PDT)
mjn writes:
> ,-MD,.deps/mem.pp -c -fPIC -DPIC mem.c -o .libs/mem.lo
> In file included from /usr/include/sys/socket.h:34,
> from ../../include/tds.h:28,
> from mem.c:20:
> /usr/include/bits/socket.h:295: asm/socket.h: No such file or directory
1. Make sure that you have the kernel-headers package installed:
troll (8:40AM):3 > rpm -qa | grep kernel-headers
kernel-headers-2.2.16-3
2. Check /usr/src/linux/include. You should have:
troll (8:44AM):5 > ls -l /usr/src/linux/include/
total 28
0 lrwxrwxrwx 1 root root 8 Oct 12 17:00 asm -> asm-i386/
4 drwxr-xr-x 2 root root 4096 Oct 12 17:00 asm-generic/
4 drwxr-xr-x 2 root root 4096 Oct 12 17:00 asm-i386/
8 drwxr-xr-x 11 root root 8192 Oct 12 17:00 linux/
4 drwxr-xr-x 3 root root 4096 Oct 12 17:00 net/
4 drwxr-xr-x 2 root root 4096 Oct 12 17:00 scsi/
4 drwxr-xr-x 2 root root 4096 Oct 12 17:00 video/
3. If you want to fix this by hand, do something like this:
cd /usr/include
ln -s /usr/src/linux/include/asm .
ln -s /usr/src/linux/include/asm-generic .
ln -s /usr/src/linux/include/linux .
etc...
Michael
--
Michael Peppler - Data Migrations Inc. - mpeppler AT peppler.org
http://www.mbay.net/~mpeppler - ICQ 70090576 - AIM MPpplr
Int. Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list AT isug.com
-
So....,
mjn, 10/25/2000
- <Possible follow-up(s)>
- Re: So...., Michael Peppler, 10/25/2000
- Re: So...., mjn, 10/25/2000
Archive powered by MHonArc 2.6.24.