[ nedit-Bugs-1813226 ] Linking against Motif Version 2.3.0

SourceForge.net noreply at sourceforge.net
Sun Oct 14 17:07:10 CEST 2007


Bugs item #1813226, was opened at 2007-10-14 17:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1813226&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Juergen Keidel (keidel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Linking against Motif  Version 2.3.0

Initial Comment:
The latest binary download of nedit ist working, but produces a lot of debugging messages.
Creating nedit from latest source download first rejects compiling due to the Motif Version.
Setting  -DBUILD_UNTESTED_NEDIT
compiles most of it, then a lot of error messages follow:
cc -O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD -DBUILD_UNTESTED_NEDIT nedit.o file.o menu.o window.o selection.o search.o undo.o shift.o help.o preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o textSel.o textDisp.o textBuf.o textDrag.o server.o highlight.o highlightData.o interpret.o parse.o smartIndent.o regexConvert.o rbTree.o windowTitle.o calltips.o server_common.o rangeset.o linkdate.o ../Microline/XmL/libXmL.a \
         ../Xlt/libXlt.a ../util/libNUtil.a -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm -o nedit
file.o: In function `PrintString':
file.c:(.text+0xd76): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextIn.o): In function `SelfInsert':
(.text+0x837d): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextOut.o): In function `FindWidth':
(.text+0x939): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextOut.o): In function `FindWidth':
(.text+0x9e4): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextOut.o): In function `FindHeight':
(.text+0xcd7): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextOut.o): In function `FindHeight':
(.text+0xf6f): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmString.o):(.text+0x2c53): more undefined references to `XftTextExtentsUtf8' follow
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xacd7): undefined reference to `XftTextExtents16'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xad15): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmString.o): In function `SubStringPosition':
(.text+0xad7c): undefined reference to `XftTextExtents16'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextF.o): In function `FindPixelLength':
(.text+0x99e): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextF.o): In function `FindPixelLength':
(.text+0xb7a): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextF.o): In function `FindPixelLength':
(.text+0xbfa): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextF.o): In function `PrintableString':
(.text+0x2bb5): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(TextF.o): In function `TextFieldResetIC':
(.text+0x9c2f): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawCreate':
(.text+0x8c0): undefined reference to `XftDrawCreate'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawCreate':
(.text+0x950): undefined reference to `XftDrawCreateBitmap'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xaba): undefined reference to `XftDrawRect'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xb3f): undefined reference to `XftDrawStringUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xb8e): undefined reference to `XftDrawString32'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xbde): undefined reference to `XftDrawString16'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xc10): undefined reference to `XftTextExtents16'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xc3b): undefined reference to `XftTextExtentsUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString':
(.text+0xce1): undefined reference to `XftTextExtents32'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0xe7a): undefined reference to `XftDrawStringUtf8'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0xec8): undefined reference to `XftDrawString32'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawString2':
(.text+0xf0f): undefined reference to `XftDrawString16'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x18b9): undefined reference to `FcPatternCreate'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x18dc): undefined reference to `FcPatternAddString'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x18fc): undefined reference to `FcPatternAddString'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x191c): undefined reference to `FcPatternAddString'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x193c): undefined reference to `FcPatternAddString'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1996): undefined reference to `XftFontMatch'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x19a7): undefined reference to `XftFontOpenPattern'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1a2b): undefined reference to `FcPatternAddInteger'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1a49): undefined reference to `FcPatternAddInteger'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1a67): undefined reference to `FcPatternAddInteger'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1a85): undefined reference to `FcPatternAddInteger'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `ValidateAndLoadFont':
(.text+0x1aa3): undefined reference to `FcPatternAddInteger'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `FreeRendition':
(.text+0x1fd5): undefined reference to `XftFontClose'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `FreeRendition':
(.text+0x1fef): undefined reference to `FcPatternDestroy'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftDrawDestroy':
(.text+0x7f1): undefined reference to `XftDrawDestroy'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(XmRenderT.o): In function `_XmXftSetClipRectangles':
(.text+0x9c1): undefined reference to `XftDrawSetClipRectangles'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(EditresCom.o): In function `CvtStringToBlock':
(.text+0x786): undefined reference to `XmuNCopyISOLatin1Lowered'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x1bc): undefined reference to `jpeg_std_error'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x1ee): undefined reference to `jpeg_destroy_decompress'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x229): undefined reference to `jpeg_CreateDecompress'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x23b): undefined reference to `jpeg_stdio_src'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x24b): undefined reference to `jpeg_read_header'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x253): undefined reference to `jpeg_calc_output_dimensions'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x25b): undefined reference to `jpeg_start_decompress'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x2c0): undefined reference to `jpeg_read_scanlines'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x2f4): undefined reference to `jpeg_finish_decompress'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Jpeg.o): In function `load_jpeg':
(.text+0x2fc): undefined reference to `jpeg_destroy_decompress'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0xb1): undefined reference to `png_check_sig'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0xde): undefined reference to `png_create_read_struct'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0xf2): undefined reference to `png_create_info_struct'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x114): undefined reference to `png_destroy_read_struct'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x15b): undefined reference to `png_destroy_read_struct'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x179): undefined reference to `png_init_io'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x18c): undefined reference to `png_set_sig_bytes'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x19e): undefined reference to `png_read_info'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x1e4): undefined reference to `png_get_IHDR'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':(.text+0x237): undefined reference to `png_get_valid'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x274): undefined reference to `png_get_valid'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x2b5): undefined reference to `png_get_gAMA'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x2cf): undefined reference to `png_read_update_info'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x2e1): undefined reference to `png_get_rowbytes'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x2fa): undefined reference to `png_get_channels'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x337): undefined reference to `png_destroy_read_struct'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x34c): undefined reference to `png_set_expand'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x399): undefined reference to `png_set_gamma'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x3a9): undefined reference to `png_set_gray_to_rgb'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x3e3): undefined reference to `png_destroy_read_struct'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x40b): undefined reference to `png_set_expand'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x41b): undefined reference to `png_set_expand'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x42c): undefined reference to `png_set_strip_16'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x455): undefined reference to `png_get_bKGD'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x4e0): undefined reference to `png_read_image'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x4fe): undefined reference to `png_read_end'
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../libXm.a(Png.o): In function `png_load_file':
(.text+0x526): undefined reference to `png_destroy_read_struct'
collect2: ld returned 1 exit status
make[1]: *** [nedit] Fehler 1
make[1]: Leaving directory 

Is there a bug in the actual Motif Version (other programs are compiling without problems) or has nedit some speciak requirements to Mofif?


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1813226&group_id=11005


More information about the Develop mailing list