LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2004, 02:50 PM   #1
cloudnyne132
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat 9
Posts: 8

Rep: Reputation: 0
Angry PROMLEMS with pkgconfig


i am a newb to linux and i've been trying to update my pkgconfig without much success. i'm running redhat 9 and after i type ./configure i try to type make and these are the errors i get:

[root@localhost pkgconfig-0.15.0]# make
make all-recursive
make[1]: Entering directory `/root/pkgconfig-0.15.0'
Making all in glib-1.2.8
make[2]: Entering directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make all-recursive
make[3]: Entering directory `/root/pkgconfig-0.15.0/glib-1.2.8'
Making all in .
make[4]: Entering directory `/root/pkgconfig-0.15.0/glib-1.2.8'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -c gmain.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -c gmain.c -fPIC -DPIC -o .libs/gmain.lo
gmain.c:191: error: `poll' undeclared here (not in a function)
gmain.c: In function `g_get_current_time':
gmain.c:597: warning: implicit declaration of function `gettimeofday'
gmain.c: In function `g_main_poll':
gmain.c:980: warning: implicit declaration of function `pipe'
gmain.c:1079: warning: implicit declaration of function `read'
gmain.c: In function `g_main_set_poll_func':
gmain.c:1211: error: `poll' undeclared (first use in this function)
gmain.c:1211: error: (Each undeclared identifier is reported only once
gmain.c:1211: error: for each function it appears in.)
gmain.c: In function `g_main_wakeup':
gmain.c:1226: warning: implicit declaration of function `write'
make[4]: *** [gmain.lo] Error 1
make[4]: Leaving directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pkgconfig-0.15.0'
make: *** [all-recursive-am] Error 2
[root@localhost pkgconfig-0.15.0]#

i conclude this is also causing the pkg config path error i get because i'm trying to upgrade glib and gtk. help would greatly be appreciated.

Last edited by cloudnyne132; 03-13-2004 at 05:25 PM.
 
Old 11-08-2004, 10:13 PM   #2
Blackbird
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Thumbs up

I fixed this by editing gmain.c and changing <sys/poll.h> to <poll.h> and removing the #IFDEF's around it. I then went on to get nessus running sucessfully after this. This may fix your problem as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
pkgconfig problems with softwares downloaded through "yum" ankur_linuxfan Linux - Software 2 01-16-2005 03:28 AM
GCC and pkgconfig problem appasamy Linux - Software 1 12-20-2004 10:43 AM
pkgconfig-0.15.0 tar.gz install help SuSE_User Linux - Software 8 08-03-2004 02:48 AM
pkgconfig issues garretwp Linux - Software 3 04-09-2004 09:36 AM
pkgconfig TechHarper Linux - General 2 11-10-2003 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 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