[bglug] installare programma -- problema con make

Simone Rossi ro.saimon@gmail.com
Lun 21 Maggio 2007 10:28:31 CEST


Ciao
sto cercando di installare su OpenSuse10.2 il programma brlcad.
Il ./configure va tutto bene, il problema è che in fase di make mi da
il seguente errore:

../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkCanvasDashPrintProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkPixelParseProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkOffsetParseProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkStateParseProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkCanvasDashParseProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkStatePrintProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkPixelPrintProc'
../../src/libtclcad/.libs/libtclcad.so: undefined reference to
`TkOffsetPrintProc'
collect2: ld returned 1 exit status
make[2]: *** [btclsh] Error 1

ed effettivamente se faccio

rosimon@darkstar:~/pacchetti_vari/brlcad-7.10.0/src/libtclcad/.libs>
nm libtclcad.so

ottengo:

00002cd0 t Bezier
00004050 t BezierCoords
00003b70 T BezierToArea
00003ab0 t BezierToPoint
00003c30 T BezierToPostscript
00003e40 t ConfigureBezier
00004340 T CreateBezier
00002ea0 t DeleteBezier
00002ed0 t DisplayBezier
00004b10 t FileMatchPIX
000047f0 t FileReadPIX
00004600 t FileWritePIX
000030e0 t FindRoots
00007148 D MAXDEPTH
00003570 T NearestPointOnCurve
000044a0 t ScaleBezier
         U TclFreeObj
         U TclGetLibraryPath
         U TclSetLibraryPath
         U Tcl_Alloc
         U Tcl_AppendResult
         U Tcl_Eof
         U Tcl_Eval
         U Tcl_Free
         U Tcl_GetString
         U Tcl_GetStringFromObj
         U Tcl_ListObjAppendElement
         U Tcl_ListObjGetElements
         U Tcl_ListObjIndex
         U Tcl_ListObjLength
         U Tcl_NewDoubleObj
         U Tcl_NewObj
         U Tcl_NewStringObj
         U Tcl_PosixError
         U Tcl_Read
         U Tcl_Seek
         U Tcl_SetObjResult
         U TkCanvasDashParseProc
         U TkCanvasDashPrintProc
         U TkOffsetParseProc
         U TkOffsetPrintProc
         U TkPixelParseProc
         U TkPixelPrintProc
         U TkPolygonToArea
         U TkStateParseProc
         U TkStatePrintProc
         U Tk_CanvasDrawableCoords
         U Tk_CanvasGetCoordFromObj
         U Tk_CanvasPsPath
         U Tk_CanvasTagsParseProc
         U Tk_CanvasTagsPrintProc
         U Tk_CanvasTkwin
         U Tk_ChangeOutlineGC
         U Tk_ConfigOutlineGC
         U Tk_ConfigureWidget
00003e10 T Tk_CreateCanvasBezierType
         U Tk_CreateItemType
         U Tk_CreateOutline
         U Tk_CreatePhotoImageFormat
         U Tk_FreeGC
         U Tk_GetGC
         U Tk_PhotoExpand
         U Tk_PhotoPutBlock
00002a90 t TranslateBezier
00002c00 T V2Dot
00002c20 T V2SquaredLength
00002be0 T V2Sub
         U XDrawLines
00006f08 a _DYNAMIC
00006ff4 a _GLOBAL_OFFSET_TABLE_
         U _IO_putc@@GLIBC_2.0
         w _Jv_RegisterClasses
00006ef8 d __CTOR_END__
00006ef4 d __CTOR_LIST__
00006f00 d __DTOR_END__
00006efc d __DTOR_LIST__
00005790 r __FRAME_END__
00006f04 d __JCR_END__
00006f04 d __JCR_LIST__
000074f4 A __bss_start
         U __cxa_atexit@@GLIBC_2.1.3
         w __cxa_finalize@@GLIBC_2.1.3
00004c20 t __do_global_ctors_aux
00001c50 t __do_global_dtors_aux
00007140 d __dso_handle
         w __gmon_start__
00001ce7 t __i686.get_pc_thunk.bx
         U __strtok_r@@GLIBC_2.0
000074f4 A _edata
000074fc A _end
00004c54 T _fini
00001728 T _init
00004be0 t atexit
         U bu_argv0
         U bu_basename
         U bu_brlcad_data
         U bu_brlcad_root
         U bu_dirname
         U bu_file_exists
         U bu_free
         U bu_getprogname
         U bu_log
         U bu_malloc
         U bu_same_file
         U bu_strdupm
         U bu_vls_addr
         U bu_vls_free
         U bu_vls_init
         U bu_vls_printf
         U bu_vls_sprintf
         U bu_vls_strncat
         U bu_which
00001c20 t call_gmon_start
00002c70 T comb
000074f4 b completed.5752
00007200 d configSpecs
000071c0 d dashOption
00002c40 T factorial
         U fb_common_file_size
         U fb_common_name_size
         U fclose@@GLIBC_2.1
         U fopen@@GLIBC_2.1
00001cb0 t frame_dummy
00001cf0 t free_pts_buf
         U getenv@@GLIBC_2.0
         U ldexp@@GLIBC_2.0
         U memset@@GLIBC_2.0
000071d8 d offsetOption
00007144 d p.5750
00001e50 t path_to_src
000074f8 b path_to_src_buf
000071cc d pixelOption
         U snprintf@@GLIBC_2.0
000071e4 d stateOption
         U strlen@@GLIBC_2.0
         U strstr@@GLIBC_2.0
000071f0 d tagsOption
00001fa0 T tclcad_auto_path
00001d30 T tclcad_tcl_library
00002a60 T tclcad_tk_setup
00007440 D tclcad_version
00007160 D tkBezierType
00007420 D tkImgFmtPIX

Come posso fare per risolvere il problema???

Grazie mille

scusate per la mail moolto lunga  :-)
-- 
What is "pi"?
Mathematician: Pi is the number expressing the relationship between
the circumference of a circle and its diameter.
Physicist: Pi is 3.1415927plus or minus 0.000000005
Engineer: Pi is about 3.


Maggiori informazioni sulla lista bglug