LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2003, 12:00 PM   #1
ooagentbender
Member
 
Registered: Sep 2003
Distribution: Vector Linux
Posts: 110

Rep: Reputation: 15
I did the ./configure on glib-2.2.0 but when I try to 'make' I get this...


[~/desktop/glib-2.2.0 | 7:52am] make
make all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in m4macros
make[2]: Nothing to be done for `all'.
Making all in glib
Making all in libcharset
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in gobject
make[2]: Nothing to be done for `all'.
Making all in gmodule
make[2]: Nothing to be done for `all'.
Making all in gthread
make[2]: Nothing to be done for `all'.
Making all in tests
make[2]: Nothing to be done for `all'.
Making all in build
Making all in win32
Making all in dirent
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
Making all in po
make[2]: *** No rule to make target `azNONE', needed by `all-yes'. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
[~/desktop/glib-2.2.0 | 7:52am]


any help would be appreciated, I checking in all the makefiles and I couldn't decipher how to make the target azNONE. I have some experience using makefiles but I don't know how to solve this problem on my own. Thanks.

oh yah heres the file where the problem originates I believe

http://www2.hawaii.edu/~benderj/Makefile

also im trying to do this on a unix system. thanks

Last edited by ooagentbender; 12-29-2003 at 12:01 PM.
 
Old 12-29-2003, 08:46 PM   #2
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
Is this maybe a re-install?

I hope I understood correctly, all you tried to do was make
and all that came back was 'nothing to be done for...'

Because how it looks to me is the module is already built, and you will
have to do a 'make clean' to re-build.
 
Old 12-29-2003, 09:28 PM   #3
ooagentbender
Member
 
Registered: Sep 2003
Distribution: Vector Linux
Posts: 110

Original Poster
Rep: Reputation: 15
It gave me that when I did the make install.
 
Old 12-29-2003, 09:41 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
If you already ran 'make' and then 'make install'
then you will have to 'make clean'
to rebuild.

'make clean' gets rid of compiled files and allows you to rebuild from source.
-- i do it all the time

Hope this helps,
alar
 
Old 12-29-2003, 10:16 PM   #5
ooagentbender
Member
 
Registered: Sep 2003
Distribution: Vector Linux
Posts: 110

Original Poster
Rep: Reputation: 15
thanks
well now the damn thing that I wanted that depended on glib won't compile because of this.

[~/documents/downloads/mono-0.29 | 6:13pm] make
make all-recursive
Making all in mono
Making all in utils
make[3]: Nothing to be done for `all'.
Making all in io-layer
source='atomic.c' object='atomic.lo' libtool=yes \
depfile='.deps/atomic.Plo' tmpdepfile='.deps/atomic.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthreads -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_WAPI_BUILDING=1 -DMONO_BINDIR=\""/usr/local/bin"\" -I../.. -no-cpp-precomp -D_THREAD_SAFE -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c -o atomic.lo `test -f 'atomic.c' || echo './'`atomic.c
rm -f .libs/atomic.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthreads -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_WAPI_BUILDING=1 -DMONO_BINDIR=\"/usr/local/bin\" -I../.. -no-cpp-precomp -D_THREAD_SAFE -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c atomic.c -MT atomic.lo -MD -MP -MF .deps/atomic.TPlo -fno-common -DPIC -o .libs/atomic.lo
gcc: unrecognized option `-pthreads'
In file included from ../../mono/io-layer/wapi.h:18,
from atomic.c:15:
../../mono/io-layer/atomic.h: In function `InterlockedIncrement':
../../mono/io-layer/atomic.h:350: warning: `tmp' might be used uninitialized in this function
../../mono/io-layer/atomic.h: In function `InterlockedDecrement':
../../mono/io-layer/atomic.h:363: warning: `tmp' might be used uninitialized in this function
../../mono/io-layer/atomic.h: In function `InterlockedExchangeAdd':
../../mono/io-layer/atomic.h:407: warning: `tmp' might be used uninitialized in this function
In file included from ../../mono/io-layer/wapi.h:26,
from atomic.c:15:
../../mono/io-layer/sockets.h: At top level:
../../mono/io-layer/sockets.h:27: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:79: error: previous declaration of `socklen_t'
../../mono/io-layer/atomic.h:349: warning: `InterlockedIncrement' defined but not used
../../mono/io-layer/atomic.h:362: warning: `InterlockedDecrement' defined but not used
../../mono/io-layer/atomic.h:377: warning: `InterlockedCompareExchange' defined but not used
../../mono/io-layer/atomic.h:393: warning: `InterlockedExchange' defined but not used
../../mono/io-layer/atomic.h:406: warning: `InterlockedExchangeAdd' defined but not used
make[3]: *** [atomic.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I looked at the code but I couldn't figure out where socklen is conflicting
 
Old 12-29-2003, 10:54 PM   #6
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Fedora 30
Posts: 341

Rep: Reputation: 37
gcc: unrecognized option `-pthreads'

If I do a:
[aar@frodo Sympatico]$ gcc -v -pthreads
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
gcc: unrecognized option `-pthreads'
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
ystem-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)


So my system would choke too!
But if I do:
[aar@frodo Sympatico]$ gcc -v -pthread
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

I don't know if you are willing to tweak the makefile to replace pthreads with pthread.
Hmmm. Depending on your time and resources, i'd look in to what's the difference.
Sorry, I really don't know. Is it the gcc version? And when did it change?

Can I ask, what are you installing? Where did you get the source?

Last edited by alar; 12-29-2003 at 11:17 PM.
 
Old 12-30-2003, 12:51 PM   #7
ooagentbender
Member
 
Registered: Sep 2003
Distribution: Vector Linux
Posts: 110

Original Poster
Rep: Reputation: 15
im installing a open source c# compiler and runtime so I can work on a webpage for my friend.

ill give that a try
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GLIB problem with ./configure komadich Linux - Newbie 1 12-02-2004 03:41 AM
Where is glib-config and How could I configure it? acer_peri Linux - Software 2 05-18-2004 08:34 AM
Can't even configure glib-2.3.2 now! davemar Linux From Scratch 7 04-20-2004 05:32 AM
glib configure error bmeagle Linux - Software 1 03-05-2004 12:42 PM
glib-2.2.3. configure error eye Linux - Software 1 09-03-2003 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration