This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
unresolved symbold onesmore
- To: gcc-help at gcc dot gnu dot org
- Subject: unresolved symbold onesmore
- From: Frank Schafer <frank dot schafer at setuza dot cz>
- Date: Thu, 27 Sep 2001 07:16:00 +0200
- Organization: SETUZA a.s.
- Reply-To: frank dot schafer at setuza dot cz
Hi there,
I've solved the problem with the unresolved ``atexit'' in libz.so.1.1.3
ina veru ugly way -- omly to be able
to continue my work , --- but ---
I did:
( for f in `ls lib*.so*` ; do echo -e "\n$f"; nm $f | grep " U " |
grep -v @@ ; done ) > some_file
in /lib, /usr/lib and /usr/local/lib.
Here is the part of interest of the outputs:
** /lib
libcom_err.so.2.0
U atexit
libe2p.so.2.3
U atexit
libext2fs.so.2.4
U _et_list
U com_err
U error_message
U fsetflags
libss.so.2.0
U _et_list
U com_err_va
libuuid.so.1.2
U atexit
** /usr/lib
libGL.so.1
U XAddToExtensionList
U XCloseDisplay
U XCreateGC
U XCreatePixmap
U XDrawString16
U XEHeadOfExtensionList
U XFillRectangle
U XFindOnExtensionList
U XFlush
U XFree
U XFreeFontInfo
U XFreeGC
U XFreePixmap
U XGetErrorDatabaseText
U XGetImage
U XGetVisualInfo
U XMaxRequestSize
U XMissingExtension
U XOpenDisplay
U XQueryExtension
U XQueryFont
U XSetForeground
U XSync
U XextAddDisplay
U XextCreateExtension
U XextFindDisplay
U XextFindDisplay
U XextRemoveDisplay
U _XEatData
U _XFlush
U _XRead
U _XReadPad
U _XReply
U _XSend
libcom_err.so
U atexit
libe2p.so
U atexit
libext2fs.so
U _et_list
U com_err
U fsetflags
libgmp.so.3.1.1
U atexit
libss.so
U _et_list
U com_err_va
libstdc++-3-libc6.2-2-2.10.0.so
U atexit
libstdc++-libc6.1-1.so.2
U atexit
libstdc++-libc6.2-2.so.3
U atexit
libuuid.so
U atexit
** /usr/local/liblibIDL-0.6.so.0.4.1
U atexit
U g_direct_equal
U g_direct_hash
U g_free
U g_hash_table_destroy
U g_hash_table_foreach
U g_hash_table_insert
U g_hash_table_lookup
U g_hash_table_lookup_extended
U g_hash_table_new
U g_hash_table_remove
U g_hash_table_size
U g_log
U g_malloc
U g_malloc0
U g_slist_alloc
U g_slist_append
U g_slist_free
U g_snprintf
U g_str_equal
U g_str_hash
U g_strcasecmp
U g_strdup
U g_strdup_vprintf
U g_string_append
U g_string_append_c
U g_string_free
U g_string_new
U g_string_sprintf
U g_tree_destroy
U g_tree_insert
U g_tree_lookup
U g_tree_new
libdb-3.3.solibgdk-1.2.so.0.9.1
U XAllocClassHint
U XAllocColor
U XAllocColorCells
U XAllocWMHints
U XAutoRepeatOff
U XAutoRepeatOn
U XBaseFontNameListOfFontSet
U XBell
U XChangeProperty
U XChangeWindowAttributes
U XCheckIfEvent
U XClearArea
U XClearWindow
U XClipBox
U XCloseDisplay
U XCloseIM
U XConvertCase
U XConvertSelection
U XCopyArea
U XCopyGC
U XCreateBitmapFromData
U XCreateColormap
U XCreateFontCursor
U XCreateFontSet
U XCreateGC
U XCreateIC
U XCreateImage
U XCreatePixmap
U XCreatePixmapCursor
U XCreatePixmapFromBitmapData
U XCreateRegion
U XCreateSimpleWindow
U XCreateWindow
U XDefineCursor
U XDeleteProperty
U XDestroyIC
U XDestroyRegion
U XDestroyWindow
U XDisplayName
U XDrawArc
U XDrawLine
U XDrawLines
U XDrawPoint
U XDrawPoints
U XDrawRectangle
U XDrawSegments
U XDrawString
U XDrawString16
U XEmptyRegion
U XEqualRegion
U XFillArc
U XFillPolygon
U XFillRectangle
U XFilterEvent
U XFontsOfFontSet
U XFree
U XFreeColormap
U XFreeColors
U XFreeCursor
U XFreeFont
U XFreeFontSet
U XFreeGC
U XFreePixmap
U XFreeStringList
U XGetAtomName
U XGetErrorText
U XGetGCValues
U XGetGeometry
U XGetICValues
U XGetIMValues
U XGetImage
U XGetKeyboardControl
U XGetMotionEvents
U XGetSelectionOwner
U XGetVisualInfo
U XGetWMColormapWindows
U XGetWMHints
U XGetWindowAttributes
U XGetWindowProperty
U XGrabKeyboard
U XGrabPointer
U XGrabServer
U XIfEvent
U XInternAtom
U XIntersectRegion
U XKeysymToString
U XLoadQueryFont
U XLookupString
U XLowerWindow
U XMapWindow
U XMoveResizeWindow
U XMoveWindow
U XNextEvent
U XOffsetRegion
U XOpenDisplay
U XOpenIM
U XParseColor
U XPending
U XPointInRegion
U XPolygonRegion
U XPutImage
U XQueryColors
U XQueryExtension
U XQueryPointer
U XQueryTree
U XRaiseWindow
U XRectInRegion
U XRefreshKeyboardMapping
U XRegisterIMInstantiateCallback
U XReparentWindow
U XResizeWindow
U XSelectInput
U XSendEvent
U XServerVendor
U XSetBackground
U XSetClassHint
U XSetClipMask
U XSetClipOrigin
U XSetClipRectangles
U XSetCloseDownMode
U XSetDashes
U XSetErrorHandler
U XSetFillStyle
U XSetFont
U XSetForeground
U XSetFunction
U XSetGraphicsExposures
U XSetICFocus
U XSetICValues
U XSetIMValues
U XSetIOErrorHandler
U XSetLineAttributes
U XSetLocaleModifiers
U XSetRegion
U XSetSelectionOwner
U XSetStipple
U XSetSubwindowMode
U XSetTSOrigin
U XSetTile U XSetWMHints
U XSetWMIconName
U XSetWMNormalHints
U XSetWMProtocols
U XSetWindowBackground
U XSetWindowBackgroundPixmap
U XSetWindowColormap
U XShapeCombineMask
U XShapeCombineRectangles
U XShapeGetRectangles
U XShmAttach
U XShmCreateImage
U XShmDetach
U XShmPutImage
U XShmQueryVersion
U XShrinkRegion
U XStoreColor
U XStoreColors
U XStringToKeysym
U XSubtractRegion
U XSupportsLocale
U XSync
U XSynchronize
U XTextExtents
U XTextExtents16
U XTextWidth
U XTextWidth16
U XTranslateCoordinates
U XUngrabKeyboard
U XUngrabPointer
U XUngrabServer
U XUnionRectWithRegion
U XUnionRegion
U XUnmapWindow
U XUnregisterIMInstantiateCallback
U XUnsetICFocus
U XVaCreateNestedList
U XWithdrawWindow
U XXorRegion
U XmbDrawString
U XmbLookupString
U XmbSetWMProperties
U XmbTextEscapement
U XmbTextExtents
U XmbTextListToTextProperty
U XmbTextPropertyToTextList
U XwcDrawString
U XwcFreeStringList
U XwcTextEscapement
U XwcTextExtents
U XwcTextListToTextProperty
U XwcTextPropertyToTextList
U g_atexit
U g_dataset_destroy
U g_dataset_id_set_data_full
U g_direct_hash
U g_free
U g_get_prgname
U g_hash_table_destroy
U g_hash_table_foreach
U g_hash_table_insert
U g_hash_table_lookup
U g_hash_table_new
U g_hash_table_remove
U g_io_add_watch_full
U g_io_channel_unix_get_fd
U g_io_channel_unix_new
U g_io_channel_unref
U g_list_append
U g_list_find
U g_list_foreach
U XSetTransientForHint
U XSetWMColormapWindows
U g_list_free
U g_list_free_1
U g_list_insert_sorted
U g_list_last
U g_list_length
U g_list_prepend
U g_list_remove
U g_list_remove_link
U g_list_reverse
U g_log
U g_main_add_poll
U g_malloc
U g_malloc0
U g_mem_chunk_alloc
U g_mem_chunk_free
U g_mem_chunk_new
U g_print
U g_quark_from_string
U g_realloc
U g_set_prgname
U g_slist_alloc
U g_slist_free
U g_slist_prepend
U g_snprintf
U g_source_add
U g_source_remove
U g_str_equal
U g_str_hash
U g_strcasecmp
U g_strdup
U g_strerror
U g_thread_functions_for_glib_use
U g_threads_got_initialized
libgmodule-1.2.so.0.0.10
U atexit
U g_free
U g_log
U g_malloc
U g_static_mutex_get_mutex_impl
U g_static_private_get
U g_static_private_set
U g_strconcat
U g_strdup
U g_thread_functions_for_glib_use
U g_thread_use_default_impl
U g_threads_got_initialized
libgthread-1.2.so.0.0.10
U atexit
U g_free
U g_log
U g_malloc
U g_mem_init
U g_messages_init
U g_mutex_init
U g_strerror
U g_thread_functions_for_glib_use
U g_thread_use_default_impl
U g_threads_got_initialized
libgtk-1.2.so.0.9.1
U XChangeActivePointerGrab
U XCheckIfEvent
U XFontsOfFontSet
U XFreeFontNames
U XGetFontProperty
U XGetWMNormalHints
U XGetWindowAttributes
U XKeysymToKeycode
U XListFonts
U XSelectInput
U XSendEvent
U XSetInputFocus
U g_atexit
U g_cache_insert
U g_cache_new
U g_cache_remove
U g_completion_add_items
U g_completion_complete
U g_completion_free
U g_completion_new
U g_datalist_clear
U g_datalist_id_get_data
U g_datalist_id_remove_no_notify
U g_datalist_id_set_data_full
U g_datalist_init
U g_dataset_destroy
U g_dataset_id_get_data
U g_dataset_id_set_data_full
U g_dirname
U g_free
U g_get_current_dir
U g_get_home_dir
U g_get_prgname
U g_hash_table_destroy
U g_hash_table_foreach
U g_hash_table_freeze
U g_hash_table_insert
U g_hash_table_lookup
U g_hash_table_new
U g_hash_table_remove
U g_hash_table_thaw
U g_hook_alloc
U g_hook_destroy
U g_hook_list_init
U g_hook_list_marshal_check
U g_hook_prepend
U g_idle_add_full
U g_idle_remove_by_data
U g_list_alloc
U g_list_append
U g_list_concat
U g_list_find
U g_list_find_custom
U g_list_first
U g_list_foreach
U g_list_free
U g_list_free_1
U g_list_index
U g_list_insert
U g_list_insert_sorted
U g_list_last
U g_list_length
U g_list_nth
U g_list_nth_data
U g_list_position
U g_list_prepend
U g_list_remove
U g_list_remove_link
U g_list_reverse
U g_log
U g_log_set_always_fatal
U g_main_destroy
U g_main_is_running
U g_main_iteration
U g_main_new
U g_main_pending
U g_main_quit
U g_main_run
U g_malloc
U g_malloc0
U g_mem_chunk_alloc
U g_mem_chunk_alloc0
U g_mem_chunk_destroy
U g_mem_chunk_free
U g_mem_chunk_new
U g_module_close
U g_module_error
U g_module_make_resident
U g_module_name
U g_module_open
U g_module_supported
U g_module_symbol
U g_node_depth
U g_node_destroy
U g_node_insert_before
U g_node_last_child
U g_node_new
U g_node_reverse_children
U g_quark_from_static_string
U g_quark_from_string
U g_quark_try_string
U g_realloc
U g_scanner_destroy
U g_scanner_eof
U g_scanner_freeze_symbol_table
U g_scanner_get_next_token
U g_scanner_input_file
U g_scanner_input_text
U g_scanner_lookup_symbol
U g_scanner_new
U g_scanner_peek_next_token
U g_scanner_scope_add_symbol
U g_scanner_scope_remove_symbol
U g_scanner_set_scope
U g_scanner_stat_mode
U g_scanner_thaw_symbol_table
U g_scanner_unexp_token
U g_slist_alloc
U g_slist_append
U g_slist_concat
U g_slist_find
U g_slist_free
U g_slist_free_1
U g_slist_insert_sorted
U g_slist_last
U g_slist_length
U g_slist_prepend
U g_slist_remove
U g_slist_remove_link
U g_slist_reverse
U g_snprintf
U g_source_remove
U g_str_equal
U g_str_hash
U g_strcasecmp
U g_strconcat
U g_strdelimit
U g_strdown
U g_strdup
U g_strdup_printf
U g_strerror
U g_strfreev
U g_string_append
U g_string_append_c
U g_string_free
U g_string_new
U g_string_sprintfa
U g_strndup
U g_strreverse
U g_strsplit
U g_thread_functions_for_glib_use
U g_threads_got_initialized
U g_timeout_add_full
U gdk_atom_intern
U gdk_atom_name
U gdk_bitmap_create_from_data
U gdk_bitmap_ref
U gdk_bitmap_unref
U gdk_char_width
U gdk_char_width_wc
U gdk_color_alloc
U gdk_color_black
U gdk_color_context_free
U gdk_color_context_get_pixel
U gdk_color_context_new
U gdk_color_context_query_color
U gdk_color_equal
U gdk_color_white
U gdk_colormap_alloc_color
U gdk_colormap_free_colors
U gdk_colormap_get_system
U gdk_colormap_get_visual
U gdk_colormap_ref
U gdk_colormap_unref
U gdk_cursor_destroy
U gdk_cursor_new
U gdk_cursor_new_from_pixmap
U gdk_display
U gdk_drag_abort
U gdk_drag_begin
U gdk_drag_context_ref
U gdk_drag_context_unref
U gdk_drag_drop
U gdk_drag_find_window
U gdk_drag_get_protocol
U gdk_drag_get_selection
U gdk_drag_motion
U gdk_drag_status
U gdk_draw_arc
U gdk_draw_gray_image
U gdk_draw_image
U gdk_draw_line
U gdk_draw_lines
U gdk_draw_pixmap
U gdk_draw_point
U gdk_draw_points
U gdk_draw_polygon
U gdk_draw_rectangle
U gdk_draw_rgb_image
U gdk_draw_string
U gdk_draw_text
U gdk_draw_text_wc
U gdk_drop_finish
U gdk_drop_reply
U gdk_error_trap_pop
U gdk_error_trap_push
U gdk_event_copy
U gdk_event_free
U gdk_event_get
U gdk_event_get_graphics_expose
U gdk_event_get_time
U gdk_event_handler_set
U gdk_event_peek
U gdk_event_put
U gdk_event_send_client_message
U gdk_exit
U gdk_flush
U gdk_font_equal
U gdk_font_id
U gdk_font_load
U gdk_font_ref
U gdk_font_unref
U gdk_fontset_load
U gdk_free_compound_text
U gdk_free_text_list
U gdk_gc_destroy
U gdk_gc_get_values
U gdk_gc_new
U gdk_gc_new_with_values
U gdk_gc_set_background
U gdk_gc_set_clip_mask
U gdk_gc_set_clip_origin
U gdk_gc_set_clip_rectangle
U gdk_gc_set_dashes
U gdk_gc_set_exposures
U gdk_gc_set_fill
U gdk_gc_set_font
U gdk_gc_set_foreground
U gdk_gc_set_function
U gdk_gc_set_line_attributes
U gdk_gc_set_stipple
U gdk_gc_set_tile
U gdk_gc_set_ts_origin
U gdk_gc_unref
U gdk_get_display
U gdk_ic_attr_destroy
U gdk_ic_attr_new
U gdk_ic_destroy
U gdk_ic_get_attr
U gdk_ic_get_events
U gdk_ic_get_style
U gdk_ic_new
U gdk_ic_set_attr
U gdk_im_begin
U gdk_im_decide_style
U gdk_im_end
U gdk_im_ready
U gdk_image_destroy
U gdk_image_get
U gdk_image_get_pixel
U gdk_image_put_pixel
U gdk_init_check
U gdk_input_add_full
U gdk_input_list_devices
U gdk_input_set_axes
U gdk_input_set_extension_events
U gdk_input_set_key
U gdk_input_set_mode
U gdk_keyboard_grab
U gdk_keyboard_ungrab
U gdk_keyval_from_name
U gdk_keyval_name
U gdk_keyval_to_lower
U gdk_mbstowcs
U gdk_pixmap_colormap_create_from_xpm
U gdk_pixmap_colormap_create_from_xpm_d
U gdk_pixmap_create_from_xpm_d
U gdk_pixmap_new
U gdk_pixmap_ref
U gdk_pixmap_unref
U gdk_pointer_grab
U gdk_pointer_is_grabbed
U gdk_pointer_ungrab
U gdk_progclass
U gdk_property_change
U gdk_property_delete
U gdk_property_get
U gdk_rectangle_intersect
U gdk_region_destroy
U gdk_region_point_in
U gdk_region_polygon
U gdk_rgb_get_cmap
U gdk_rgb_get_visual
U gdk_rgb_init
U gdk_root_parent
U gdk_root_window
U gdk_screen_height
U gdk_screen_width
U gdk_selection_convert
U gdk_selection_owner_get
U gdk_selection_owner_set
U gdk_selection_property
U gdk_selection_property_get
U gdk_selection_send_notify
U gdk_set_locale
U gdk_string_measure
U gdk_string_to_compound_text
U gdk_string_width
U gdk_text_extents
U gdk_text_extents_wc
U gdk_text_property_to_text_list
U gdk_text_width
U gdk_text_width_wc
U gdk_threads_mutex
U gdk_visual_get_system
U gdk_wcstombs
U gdk_window_add_filter
U gdk_window_clear
U gdk_window_clear_area
U gdk_window_copy_area
U gdk_window_destroy
U gdk_window_destroy_notify
U gdk_window_foreign_new
U gdk_window_get_colormap
U gdk_window_get_deskrelative_origin
U gdk_window_get_events
U gdk_window_get_geometry
U gdk_window_get_origin
U gdk_window_get_parent
U gdk_window_get_pointer
U gdk_window_get_position
U gdk_window_get_size
U gdk_window_get_toplevel
U gdk_window_get_type
U gdk_window_get_user_data
U gdk_window_get_visual
U gdk_window_hide
U gdk_window_is_viewable
U gdk_window_is_visible
U gdk_window_move
U gdk_window_move_resize
U gdk_window_new
U gdk_window_raise
U gdk_window_ref
U gdk_window_register_dnd
U gdk_window_reparent
U gdk_window_resize
U gdk_window_set_back_pixmap
U gdk_window_set_background
U gdk_window_set_cursor
U gdk_window_set_decorations
U gdk_window_set_events
U gdk_window_set_geometry_hints
U gdk_window_set_hints
U gdk_window_set_static_gravities
U gdk_window_set_title
U gdk_window_set_transient_for
U gdk_window_set_user_data
U gdk_window_shape_combine_mask
U gdk_window_show
U gdk_window_unref
U gdk_window_withdraw
U gdk_xid_table_lookup
libjpeg.so.62
U atexit
libmng.so.1.0.0
U deflate
U deflateEnd
U deflateInit2_
U inflate
U inflateEnd
U inflateInit_
U jpeg_CreateDecompress
U jpeg_destroy_compress
U jpeg_destroy_decompress
U jpeg_finish_decompress
U jpeg_finish_output
U jpeg_has_multiple_scans
U jpeg_input_complete
U jpeg_read_header
U jpeg_read_scanlines
U jpeg_resync_to_restart
U jpeg_start_decompress
U jpeg_start_output
U jpeg_std_error
libpng.so.2.1.0.12
U atexit
libpopt.so.0.0.0
U atexit
libtiff.so
U atexit
U exp
U log
U pow
libungif.so.4.1.0
U XDestroyImage
U XGetImage
U XGetPixel
U XGetWindowAttributes
U XQueryColors
U atexit
The symptoms are the same as I described in my ``atexit with libz''
problem.
ldd for a single lib shows, that the lib, where the symbols are global
is linked, but the symbols
stay unresolved.
I'm still running gcc 2.95.3, binutils 2.11 and glibc 2.2.3. I got
everything as source from GNU, and
compiled from scratch.
I used a statically linked compiler ( 2.95.3 with glibc 2.1.3 ) to
build binutils, glibc and gcc itself.
Can anybody give me a hint, what could be wrong?
Thanks in advance
Frank
begin:vcard
n:Schafer;Frank
x-mozilla-html:FALSE
org:SETUZA a.s.;IT
adr:;;;;;;
version:2.1
email;internet:frank.schafer@setuza.cz
title:Dipl. Ing.
note:System administrator
x-mozilla-cpt:;0
fn:Frank Schafer
end:vcard