Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-23-2012, 08:09 AM
|
#1
|
|
Member
Registered: May 2005
Location: India
Distribution: Fedora Core 7
Posts: 46
Rep:
|
gamin compilation problem
Hi linux ethus,
While installing gamin package i got the following error message..
make[3]: *** [gam_subscription.o] Error 1
make[3]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/server'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10'
make: *** [all] Error 2
Give me a solution friends..
|
|
|
|
03-23-2012, 08:52 AM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,868
|
Hi,
Please post the actual error(s) as explained here: 1.5 Help - section 1.5.3
The lines starting with make[x] only tell us that something has gone wrong, not _what_ has gone wrong.
Also include the (B)LFS version you are working on and the appropriate chapter.
|
|
|
|
03-24-2012, 02:09 AM
|
#3
|
|
Member
Registered: May 2005
Location: India
Distribution: Fedora Core 7
Posts: 46
Original Poster
Rep:
|
Gamin compilation error
Hi friends,
While compiling gamin package in BLFS latest version i got the following errors.. Give me a solution for this problem..
make
make all-recursive
make[1]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10'
Making all in lib
make[2]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.o -MD -MP -MF .deps/gam_event.Tpo -c -o gam_event.o gam_event.c
mv -f .deps/gam_event.Tpo .deps/gam_event.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.o -MD -MP -MF .deps/gam_error.Tpo -c -o gam_error.o gam_error.c
mv -f .deps/gam_error.Tpo .deps/gam_error.Po
rm -f libgamin_shared.a
ar cru libgamin_shared.a gam_event.o gam_error.o
ranlib libgamin_shared.a
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/lib'
Making all in doc
make[2]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/doc'
Making all in libgamin
make[2]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/libgamin'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/sbin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c -o gam_api.lo gam_api.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fPIC -DPIC -o .libs/gam_api.o
gam_api.c:41:3: warning: 'FAMError' defined but not used [-Wunused-variable]
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -o gam_api.o >/dev/null 2>&1
mv -f .deps/gam_api.Tpo .deps/gam_api.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/sbin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c -o gam_data.lo gam_data.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -fPIC -DPIC -o .libs/gam_data.o
gam_data.c: In function 'gamin_data_new':
gam_data.c:461:26: warning: the comparison will always evaluate as 'true' for the address of 'pthread_mutex_init' will never be NULL [-Waddress]
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -o gam_data.o >/dev/null 2>&1
mv -f .deps/gam_data.Tpo .deps/gam_data.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/sbin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c -o gam_fork.lo gam_fork.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c -fPIC -DPIC -o .libs/gam_fork.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c -o gam_fork.o >/dev/null 2>&1
mv -f .deps/gam_fork.Tpo .deps/gam_fork.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/sbin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c -o gam_error.lo gam_error.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c gam_error.c -fPIC -DPIC -o .libs/gam_error.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c gam_error.c -o gam_error.o >/dev/null 2>&1
mv -f .deps/gam_error.Tpo .deps/gam_error.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/sbin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c -o gam_event.lo gam_event.c
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c -fPIC -DPIC -o .libs/gam_event.o
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/sbin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c -o gam_event.o >/dev/null 2>&1
mv -f .deps/gam_event.Tpo .deps/gam_event.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -Wl,--version-script=./gamin_sym.version -version-info 1:10:1 -o libgamin-1.la -rpath /usr/lib gam_api.lo gam_data.lo gam_fork.lo gam_error.lo gam_event.lo
gcc -shared .libs/gam_api.o .libs/gam_data.o .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o -Wl,--version-script=./gamin_sym.version -Wl,-soname -Wl,libgamin-1.so.0 -o .libs/libgamin-1.so.0.1.10
(cd .libs && rm -f libgamin-1.so.0 && ln -s libgamin-1.so.0.1.10 libgamin-1.so.0)
(cd .libs && rm -f libgamin-1.so && ln -s libgamin-1.so.0.1.10 libgamin-1.so)
ar cru .libs/libgamin-1.a gam_api.o gam_data.o gam_fork.o gam_error.o gam_event.o
ranlib .libs/libgamin-1.a
creating libgamin-1.la
(cd .libs && rm -f libgamin-1.la && ln -s ../libgamin-1.la libgamin-1.la)
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -Wl,--version-script=./gamin_sym.version -version-info 0:0:0 -o libfam.la -rpath /usr/lib gam_api.lo gam_data.lo gam_fork.lo gam_error.lo gam_event.lo
gcc -shared .libs/gam_api.o .libs/gam_data.o .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o -Wl,--version-script=./gamin_sym.version -Wl,-soname -Wl,libfam.so.0 -o .libs/libfam.so.0.0.0
(cd .libs && rm -f libfam.so.0 && ln -s libfam.so.0.0.0 libfam.so.0)
(cd .libs && rm -f libfam.so && ln -s libfam.so.0.0.0 libfam.so)
ar cru .libs/libfam.a gam_api.o gam_data.o gam_fork.o gam_error.o gam_event.o
ranlib .libs/libfam.a
creating libfam.la
(cd .libs && rm -f libfam.la && ln -s ../libfam.la libfam.la)
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/sbin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gamin.o -MD -MP -MF .deps/gamin.Tpo -c -o gamin.o gamin.c
mv -f .deps/gamin.Tpo .deps/gamin.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -o gamin gamin.o libgamin-1.la
gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -o .libs/gamin gamin.o ./.libs/libgamin-1.so
creating gamin
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/libgamin'
Making all in python
make[2]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/python'
Making all in tests
make[3]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/python/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/python/tests'
make[3]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/python'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I../libgamin -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gamin.lo -MD -MP -MF .deps/gamin.Tpo -c -o gamin.lo gamin.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I../libgamin -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gamin.lo -MD -MP -MF .deps/gamin.Tpo -c gamin.c -fPIC -DPIC -o .libs/gamin.o
In file included from gamin.c:11:0:
../config.h:59:0: warning: "HAVE_PTHREAD_H" redefined [enabled by default]
/usr/include/python2.7/pyconfig.h:516:0: note: this is the location of the previous definition
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I../libgamin -I../lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gamin.lo -MD -MP -MF .deps/gamin.Tpo -c gamin.c -o gamin.o >/dev/null 2>&1
mv -f .deps/gamin.Tpo .deps/gamin.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -module -avoid-version -o _gamin.la -rpath /usr/lib/python2.7/site-packages gamin.lo ../libgamin/libgamin-1.la
gcc -shared .libs/gamin.o -Wl,--rpath -Wl,/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/libgamin/.libs ../libgamin/.libs/libgamin-1.so -Wl,-soname -Wl,_gamin.so -o .libs/_gamin.so
ar cru .libs/_gamin.a gamin.o
ranlib .libs/_gamin.a
creating _gamin.la
(cd .libs && rm -f _gamin.la && ln -s ../_gamin.la _gamin.la)
make[3]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/python'
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/python'
Making all in lib
make[2]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/lib'
Making all in server
make[2]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/server'
make all-am
make[3]: Entering directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/server'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libgamin -I../protocol -I../lib -I../libgamin -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DBINDIR=\""/usr/sbin"\" -DG_DISABLE_DEPRECATED -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_subscription.o -MD -MP -MF .deps/gam_subscription.Tpo -c -o gam_subscription.o gam_subscription.c
In file included from gam_subscription.c:26:0:
gam_subscription.h:24:16: error: expected =, ,, ;, asm or __attribute__ before char
gam_subscription.c:144:16: error: expected =, ,, ;, asm or __attribute__ before char
gam_subscription.c:351:1: warning: no previous prototype for gam_subscription_shutdown [-Wmissing-prototypes]
make[3]: *** [gam_subscription.o] Error 1
make[3]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/server'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/myphepkgs/blfs/GeneralLibraries/gamin-0.1.10'
make: *** [all] Error 2
|
|
|
|
03-24-2012, 02:48 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,868
|
Hi,
Haven't seen this one myself, but a little search comes up with this: [blfs-support] Gamin-0.1.10 breaks on build
Hope this helps.
BTW: I asked a moderator to merge this with your original thread. No need to start a new thread when one already exists....
|
|
|
|
03-24-2012, 02:50 AM
|
#5
|
|
Member
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347
Rep:
|
I found this Bug at Launchpad
And the solution is "This bug was fixed in the package gamin - 0.1.10-2ubuntu2".
Are you using Ubuntu?
|
|
|
|
04-09-2012, 10:31 AM
|
#6
|
|
Senior Member
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,575
|
Hi
pannet1 did you ever solve this problem as I have the same error.
FYI I tried gamin-0.1.10.2.src with patches but still out come
|
|
|
|
04-09-2012, 10:52 AM
|
#7
|
|
Member
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347
Rep:
|
Well, I downloaded gamin from launchpad and then also downloaded the patch from the same page.
then I apply the patch with
Code:
patch < gamin_0.1.10-2ubuntu2.diff
then I launch ./configure and make with no error.
I'm on Slackware 13.37.
Maybe something in your build tools is broken?
|
|
|
|
04-13-2012, 01:45 PM
|
#8
|
|
Member
Registered: May 2007
Posts: 300
Rep: 
|
I also had problems compiling that version of gamin. But I think it's been fixed by a sed in the latest versions of the book.
|
|
|
|
04-13-2012, 03:17 PM
|
#9
|
|
Member
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347
Rep:
|
@stoat: Have you tried to apply the patch?
|
|
|
|
04-16-2012, 05:34 PM
|
#10
|
|
Member
Registered: May 2007
Posts: 300
Rep: 
|
Quote:
|
Originally Posted by Slackyman
Have you tried to apply the patch?
|
No, I didn't need it. I just now installed Gamin-0.1.10 using the steps in book-20120412 (with the sed), and it installed quietly.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|