Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 08:03 AM
тАО04-23-2010 08:03 AM
Re: gtk+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2010 02:43 PM
тАО04-23-2010 02:43 PM
Re: gtk+
Where is glib.h? Try doing JRF's find for this file.
Have you downloaded all of GTK's dependencies?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2010 06:49 AM
тАО04-26-2010 06:49 AM
Re: gtk+
gcc -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include dx_chkpasswd_glib.c -o chkpasswd.exe
ld: Unsatisfied symbol "g_io_add_watch" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_source_remove" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_strndup" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_free" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "gtk_main" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "gtk_init_add" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "gtk_quit_add" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_io_add_watch_full" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_timeout_add" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_io_channel_read_line" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "g_io_channel_unix_new" in file /var/tmp//cc5CqsFn.o
ld: Unsatisfied symbol "gtk_main_quit" in file /var/tmp//cc5CqsFn.o
12 errors.
collect2: ld returned 1 exit status
BTW: all of the dependencies are installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2010 01:24 AM
тАО04-27-2010 01:24 AM
Re: gtk+
Can you scan the source for one of these symbols?
And/or scan the objects/libs:
nm -pxAN objects ... libs ... | grep g_io_add_watch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2010 09:57 AM
тАО04-27-2010 09:57 AM
Re: gtk+
If I'm not mistaken, there are some missing libraries "cannot open", Correct? I'm not really sure what to look for from the output so can you please advice?
The source code returned bad magic so I assume its not the issue.
nm -pxAN /usr/lib/lib* | grep g_io_add_watch
nm: /usr/lib/lib.b: bad magic
nm: /usr/lib/libU77.alias: bad magic
nm: /usr/lib/libU77.alias.i8: bad magic
nm: /usr/lib/libU77.alias.r8: bad magic
nm: /usr/lib/libU77_.alias: bad magic
nm: /usr/lib/libbomb.a: cannot open
nm: /usr/lib/libemc_crypto.sl: cannot open
nm: /usr/lib/libemc_ssl.sl: cannot open
nm: /usr/lib/libvrascmd.sl: cannot open
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 12:03 AM
тАО04-28-2010 12:03 AM
Re: gtk+
Perhaps. What does ll(1) show for each?
>The source code returned bad magic so I assume it's not the issue.
You need to use something like grep for source.
>nm -pxAN /usr/lib/lib* | grep g_io_add_watch
>nm: /usr/lib/libemc_crypto.sl: cannot open
>nm: /usr/lib/libemc_ssl.sl: cannot open
>nm: /usr/lib/libvrascmd.sl: cannot open
(Are these symlinks and to what?)
Have you looked for libs that you have just built?
Do you have archive libs on your link line?
If you haven't ordered them properly, you may need to use -Wl,+n.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 12:06 PM
тАО04-28-2010 12:06 PM
Re: gtk+
ll /usr/lib/lib.b
-r-xr-xr-x 1 bin bin 1656 Aug 26 2004 /usr/lib/lib.b
ll /usr/lib/libU77.alias
-r--r--r-- 1 bin bin 1687 Jun 2 2004 /usr/lib/libU77.alias
ll /usr/lib/libU77.alias.i8
-r--r--r-- 1 bin bin 1745 Aug 17 2004 /usr/lib/libU77.alias.i8
ll /usr/lib/libU77.alias.r8
-r--r--r-- 1 bin bin 1689 Jun 2 2004 /usr/lib/libU77.alias.r8
ll /usr/lib/libU77_.alias
-r--r--r-- 1 bin bin 1741 Jun 2 2004 /usr/lib/libU77_.alias
ll /usr/lib/libbomb.a
lrwxrwxrwt 1 root sys 22 Jul 13 2007 /usr/lib/libbomb.a -> /opt/dce/lib/libbomb.a
ll /opt/dce/lib/libbomb.a
/opt/dce/lib/libbomb.a not found
ll /usr/lib/libemc_ssl.sl
lrwxr-xr-x 1 root sys 37 Jul 13 2007 /usr/lib/libemc_ssl.sl -> /usr/symcli/shlib/libemc_ssl.sl.0.9.7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2010 11:29 PM
тАО04-28-2010 11:29 PM
Re: gtk+
>ll /usr/lib/lib.b
No need to look at the "bad magic" ones.
>lrwxrwxrwt /usr/lib/libbomb.a -> /opt/dce/lib/libbomb.a
And you don't have /opt/dce.
Have you scanned your gtk+ sources for those symbols?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2010 08:49 AM
тАО04-29-2010 08:49 AM
Re: gtk+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2010 07:24 PM
тАО04-29-2010 07:24 PM
Re: gtk+
Of grep?? Using find(1) to be recursive:
find /path-to-search ... -type f -name "*.[CHch]*" \
-exec grep -e g_io_add_watch {} +
For a simple directory:
grep -e g_io_add_watch *.[CHch]*