LinuxQuestions.org
Visit Jeremy's Blog.
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 04-23-2010, 06:06 AM   #1
biplabbijay
Member
 
Registered: Jul 2009
Posts: 89

Rep: Reputation: 15
error: expected initializer before "G_GNUC_NULL_TERMINATED"


Hi, I am using Scientific Linux version 2.6.9-67.EL.cernsmp (root@lxcert-i386) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Wed Nov 21 16:22:33 CET 2007. Now I want to install rediff bol in it. so i downloaded rediff bol from the site
Code:
          http://linux.softpedia.com/progDownload/rediffbol-prpl-Download-34762.html
after that i have downloaded libpurple and libpurple developement from
Code:
http://rpm.pidgin.im/rhel/4/i386/
I ihstalled libpurple and libpurple developement successfully. To install rediffbol i firstentr the command
./configure
which creates a makefile.when i enter the command make
the following error message coms out
Code:
[localhost] /home/Biplab/Desktop/Softwares/rediffbol-prpl-0.3.1 > make
make  all-am
make[1]: Entering directory `/home/Biplab/Desktop/Softwares/rediffbol-prpl-0.3.1'
/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -g -O2 -MT avatar.lo -MD -MP -MF .deps/avatar.Tpo -c -o avatar.lo avatar.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT avatar.lo -MD -MP -MF .deps/avatar.Tpo -c avatar.cpp  -fPIC -DPIC -o .libs/avatar.o
In file included from /usr/include/libpurple/buddyicon.h:34,
                 from /usr/include/libpurple/blist.h:78,
                 from /usr/include/libpurple/status.h:117,
                 from /usr/include/libpurple/connection.h:146,
                 from /usr/include/libpurple/account.h:42,
                 from rediffbol.h:30,
                 from avatar.cpp:23:
/usr/include/libpurple/prpl.h:445: error: expected initializer before "G_GNUC_NULL_TERMINATED"
/usr/include/libpurple/prpl.h:485: error: expected initializer before "G_GNUC_NULL_TERMINATED"
In file included from /usr/include/libpurple/connection.h:146,
                 from /usr/include/libpurple/account.h:42,
                 from rediffbol.h:30,
                 from avatar.cpp:23:
/usr/include/libpurple/status.h:246: error: expected initializer before "G_GNUC_NULL_TERMINATED"
/usr/include/libpurple/status.h:289: error: expected initializer before "G_GNUC_NULL_TERMINATED"
In file included from rediffbol.h:30,
                 from avatar.cpp:23:
/usr/include/libpurple/account.h:426: error: expected initializer before "G_GNUC_NULL_TERMINATED"
make[1]: *** [avatar.lo] Error 1
make[1]: Leaving directory `/home/Biplab/Desktop/Softwares/rediffbol-prpl-0.3.1'make: *** [all] Error 2
[localhost] /home/Biplab/Desktop/Softwares/rediffbol-prpl-0.3.1 >
How can i fix this problem, can anybody helpme ?
 
Old 04-23-2010, 09:32 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://sourceforge.net/projects/rediffbol-prpl/files/
rediffbol-prpl-0.3.1.tar.gz
http://rpm.pidgin.im/rhel/4/i386/ e.g. libpurple-devel-2.6.4-0.el4.i386.rpm
.. Or # yum install pidgin-devel<version>

EDIT : May be a glib issue ? ........Yes, OK with glib2 2.12.3, see EDIT2.
( "rediffbol-prpl" builds OK on any newer Linux.)
EDIT__2_ : Assuming, you have the evolution28-glib2-devel installed:
export PKG_CONFIG_LIBDIR=/usr/evolution28/lib/pkgconfig:/usr/lib/pkgconfig/
&& ./configure && make

Last edited by knudfl; 04-23-2010 at 11:58 AM.
 
Old 04-26-2010, 10:05 AM   #3
biplabbijay
Member
 
Registered: Jul 2009
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks knudfl. i have successfully installed rediffbol in linux. Thank you verymuch

Biplab
 
  


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
static struct pci_driver unknown field 'name' "has initializer but incomplete type" ddeeks Programming 0 05-27-2009 12:09 PM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
"expected specifier-qualifier-list" ERROR while adding a new system call ahm_irf Linux - Kernel 0 04-29-2007 10:52 PM
"MailScanner" wrong owner (expected mail but is root) mrlucio79 Linux - Software 1 01-05-2006 04:09 PM
Java "<identifier> expected" error. nro Programming 2 09-01-2004 12:20 AM

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

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