Problems compiling pidgin 2.0.1 (and 2.0)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling pidgin 2.0.1 (and 2.0)

STeve Andre'
This is on a -current system compiled on May 25th.  I got the same
error when compiling 2.0 as well.


cc -O2 -pipe -o .libs/finch gntaccount.o gntblist.o gntconn.o gntconv.o
gntdebug.o gntft.o finch.o gntidle.o gntnotify.o gntplugin.o gntpounce.o
gntprefs.o gntrequest.o gntstatus.o
gntui.o -pthread -Wl,-E -pthread -Wl,-E  -L/usr/local/lib -L/usr/X11R6/lib -L./libgnt/.libs -lgnt -lpanel -L../libpurple/.libs -lpurple -lxml2 -lm -lz -lgthread-2.0 -pthread -lgmodule-2.0 -ldbus-glib-1 -lgobject-2.0 -lglib-2.0 -liconv -lintl -ldbus-1 -lncurses -Wl,-rpath,/usr/local/lib
../libpurple/.libs/libpurple.so.0.0: warning: vsprintf() is often misused,
please use vsnprintf()
../libpurple/.libs/libpurple.so.0.0: warning: strcpy() is almost always
misused, please use strlcpy()
../libpurple/.libs/libpurple.so.0.0: warning: sprintf() is often misused,
please use snprintf()
/usr/local/lib/libxml2.so.9.5: warning: strcat() is almost always misused,
please use strlcat()
gntconv.o(.text+0x106d): In function `finch_create_conversation':
: undefined reference to `gnt_text_view_attach_scroll_widget'
gntdebug.o(.text+0x7eb): In function `finch_debug_window_show':
: undefined reference to `gnt_text_view_attach_scroll_widget'
gntidle.o(.text+0x5): In function `finch_get_idle_time':
: undefined reference to `gnt_wm_get_idle_time'
gntnotify.o(.text+0x269): In function `finch_notify_message':
: undefined reference to `gnt_text_view_attach_scroll_widget'
gntrequest.o(.text+0x14dc): In function `file_ok_cb':
: undefined reference to `gnt_file_sel_get_gtype'
gntrequest.o(.text+0x14f0): In function `file_ok_cb':
: undefined reference to `gnt_file_sel_get_selected_file'
gntrequest.o(.text+0x1566): In function `finch_request_file':
: undefined reference to `gnt_file_sel_new'
gntrequest.o(.text+0x1570): In function `finch_request_file':
: undefined reference to `gnt_file_sel_get_gtype'
gntrequest.o(.text+0x15e1): In function `finch_request_file':
: undefined reference to `gnt_file_sel_set_current_location'
gntrequest.o(.text+0x168c): In function `finch_request_file':
: undefined reference to `gnt_file_sel_set_suggested_filename'
collect2: ld returned 1 exit status
gmake[3]: *** [finch] Error 1
gmake[3]: Leaving directory
`/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386/finch'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386/finch'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/pidgin (line 2050
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/pidgin (line 1367
of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/pidgin (line 1848
of /usr/ports/infrastructure/mk/bsd.port.mk).
vista /usr/ports/net/pidgin

Reply | Threaded
Open this post in threaded view
|

Re: Problems compiling pidgin 2.0.1 (and 2.0)

Jasper Lievisse Adriaanse-4
On Mon, May 28, 2007 at 02:06:06PM -0400, Stephan Andre' wrote:
> This is on a -current system compiled on May 25th.  I got the same
> error when compiling 2.0 as well.
you've probaly got gaim installed. remove it and try again.

>
>
> cc -O2 -pipe -o .libs/finch gntaccount.o gntblist.o gntconn.o gntconv.o
> gntdebug.o gntft.o finch.o gntidle.o gntnotify.o gntplugin.o gntpounce.o
> gntprefs.o gntrequest.o gntstatus.o
> gntui.o -pthread -Wl,-E -pthread -Wl,-E  -L/usr/local/lib -L/usr/X11R6/lib -L./libgnt/.libs -lgnt -lpanel -L../libpurple/.libs -lpurple -lxml2 -lm -lz -lgthread-2.0 -pthread -lgmodule-2.0 -ldbus-glib-1 -lgobject-2.0 -lglib-2.0 -liconv -lintl -ldbus-1 -lncurses -Wl,-rpath,/usr/local/lib
> ../libpurple/.libs/libpurple.so.0.0: warning: vsprintf() is often misused,
> please use vsnprintf()
> ../libpurple/.libs/libpurple.so.0.0: warning: strcpy() is almost always
> misused, please use strlcpy()
> ../libpurple/.libs/libpurple.so.0.0: warning: sprintf() is often misused,
> please use snprintf()
> /usr/local/lib/libxml2.so.9.5: warning: strcat() is almost always misused,
> please use strlcat()
> gntconv.o(.text+0x106d): In function `finch_create_conversation':
> : undefined reference to `gnt_text_view_attach_scroll_widget'
> gntdebug.o(.text+0x7eb): In function `finch_debug_window_show':
> : undefined reference to `gnt_text_view_attach_scroll_widget'
> gntidle.o(.text+0x5): In function `finch_get_idle_time':
> : undefined reference to `gnt_wm_get_idle_time'
> gntnotify.o(.text+0x269): In function `finch_notify_message':
> : undefined reference to `gnt_text_view_attach_scroll_widget'
> gntrequest.o(.text+0x14dc): In function `file_ok_cb':
> : undefined reference to `gnt_file_sel_get_gtype'
> gntrequest.o(.text+0x14f0): In function `file_ok_cb':
> : undefined reference to `gnt_file_sel_get_selected_file'
> gntrequest.o(.text+0x1566): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_new'
> gntrequest.o(.text+0x1570): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_get_gtype'
> gntrequest.o(.text+0x15e1): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_set_current_location'
> gntrequest.o(.text+0x168c): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_set_suggested_filename'
> collect2: ld returned 1 exit status
> gmake[3]: *** [finch] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386/finch'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386/finch'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/net/pidgin (line 2050
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/net/pidgin (line 1367
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/net/pidgin (line 1848
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> vista /usr/ports/net/pidgin
>
>

--
``Sapere aude!''
NedBSD: http://nedbsd.eu

Reply | Threaded
Open this post in threaded view
|

Re: Problems compiling pidgin 2.0.1 (and 2.0)

Brad Smith-14
In reply to this post by STeve Andre'
On Mon, 28 May 2007 14:06:06 -0400
"Stephan Andre'" <[hidden email]> wrote:

> This is on a -current system compiled on May 25th.  I got the same
> error when compiling 2.0 as well.
>
>
> cc -O2 -pipe -o .libs/finch gntaccount.o gntblist.o gntconn.o gntconv.o
> gntdebug.o gntft.o finch.o gntidle.o gntnotify.o gntplugin.o gntpounce.o
> gntprefs.o gntrequest.o gntstatus.o
> gntui.o -pthread -Wl,-E -pthread -Wl,-E  -L/usr/local/lib -L/usr/X11R6/lib -L./libgnt/.libs -lgnt -lpanel -L../libpurple/.libs -lpurple -lxml2 -lm -lz -lgthread-2.0 -pthread -lgmodule-2.0 -ldbus-glib-1 -lgobject-2.0 -lglib-2.0 -liconv -lintl -ldbus-1 -lncurses -Wl,-rpath,/usr/local/lib
> ../libpurple/.libs/libpurple.so.0.0: warning: vsprintf() is often misused,
> please use vsnprintf()
> ../libpurple/.libs/libpurple.so.0.0: warning: strcpy() is almost always
> misused, please use strlcpy()
> ../libpurple/.libs/libpurple.so.0.0: warning: sprintf() is often misused,
> please use snprintf()
> /usr/local/lib/libxml2.so.9.5: warning: strcat() is almost always misused,
> please use strlcat()
> gntconv.o(.text+0x106d): In function `finch_create_conversation':
> : undefined reference to `gnt_text_view_attach_scroll_widget'
> gntdebug.o(.text+0x7eb): In function `finch_debug_window_show':
> : undefined reference to `gnt_text_view_attach_scroll_widget'
> gntidle.o(.text+0x5): In function `finch_get_idle_time':
> : undefined reference to `gnt_wm_get_idle_time'
> gntnotify.o(.text+0x269): In function `finch_notify_message':
> : undefined reference to `gnt_text_view_attach_scroll_widget'
> gntrequest.o(.text+0x14dc): In function `file_ok_cb':
> : undefined reference to `gnt_file_sel_get_gtype'
> gntrequest.o(.text+0x14f0): In function `file_ok_cb':
> : undefined reference to `gnt_file_sel_get_selected_file'
> gntrequest.o(.text+0x1566): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_new'
> gntrequest.o(.text+0x1570): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_get_gtype'
> gntrequest.o(.text+0x15e1): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_set_current_location'
> gntrequest.o(.text+0x168c): In function `finch_request_file':
> : undefined reference to `gnt_file_sel_set_suggested_filename'
> collect2: ld returned 1 exit status
> gmake[3]: *** [finch] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386/finch'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386/finch'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/net/pidgin/w-pidgin-2.0.1/build-i386'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/net/pidgin (line 2050
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/net/pidgin (line 1367
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/net/pidgin (line 1848
> of /usr/ports/infrastructure/mk/bsd.port.mk).
> vista /usr/ports/net/pidgin

If you still have a copy of Gaim installed then make sure to de-install the
package.