Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 08:14:19 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make world question
Message-ID:  <19990818081419.C46414@daemon.ninth-circle.org>
In-Reply-To: <37B9EC43.320441E0@ispro.net.tr>; from Evren Yurtesen on Wed, Aug 18, 1999 at 02:12:03AM %2B0300
References:  <37B9EC43.320441E0@ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
* Evren Yurtesen (yurtesen@ispro.net.tr) [990818 03:40]:
>I have made a make world on my system but then I realized that
>the edquota program at /usr/obj/usr/src/usr.sbin/edquota
>is different size than /usr/sbin/edquota I thought it was supposed
>to be copied over the older one. What is wrong?

Mayhaps nothing's wrong, but ye just looked over an important,
iften-used aspect, called stripping, see below.

>And how can I understand if there is an error in the compilation?
>the compiler is giving some warning messages but I do not know
>which one is critical or important.

Well, for truly to be able to detect this, you need at least some C
knowledge and some compiler experience. There's no easy reference
otherwise.

>reactor:/usr/obj/usr/src/usr.sbin/edquota#ls -la
>total 33
>drwxr-xr-x    2 root  wheel    512 Aug 17 01:22 .
>drwxr-xr-x  130 root  wheel   2560 Aug 16 23:27 ..
>-rwxr-xr-x    1 root  wheel  15112 Aug 17 01:22 edquota
>-rw-r--r--    1 root  wheel   2315 Aug 17 01:22 edquota.8.gz
>-rw-r--r--    1 root  wheel  10916 Aug 17 01:22 edquota.o
>reactor:/usr/obj/usr/src/usr.sbin/edquota#ls -la /usr/sbin/edquota
>-r-xr-xr-x  1 root  wheel  12248 Aug 17 21:36 /usr/sbin/edquota
>reactor:/usr/obj/usr/src/usr.sbin/edquota#

$ file /usr/obj/usr/src/usr.sbin/edquota
$ file /usr/sbin/edquota

My guess is that the latter is stripped, meaning that the debugging
symbols have been removed.

HTH, HAND

-- 
Jeroen Ruigrok van der Werven                          asmodai(at)wxs.nl
The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>;
Network/Security Specialist        BSD: Technical excellence at its best
For country, children, hearth, and home.


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?19990818081419.C46414>