Subject: pkg/20520: jasper fails to link on Darwin
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yves@gnu-darwin.org>
List: netbsd-bugs
Date: 02/28/2003 01:39:40
>Number:         20520
>Category:       pkg
>Synopsis:       jasper fails to link on Darwin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 28 01:40:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yves de Champlain
>Release:        
>Organization:
>Environment:
Darwin Bilbo.local. 6.4 Darwin Kernel Version 6.4: Wed Jan 29 18:50:42 PST 2003; root:xnu/xnu-344.26.obj~1/RELEASE_PPC  Power Macintosh powerpc

>Description:
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libjasper-1.600.0.0.0.dylib  dummy.lo -all_load  base/.libs/libbase.al bmp/.libs/libbmp.al jp2/.libs/libjp2.al jpc/.libs/libjpc.al jpg/.libs/libjpg.al mif/.libs/libmif.al pgx/.libs/libpgx.al pnm/.libs/libpnm.al ras/.libs/libras.al  base/.libs/libbase.al bmp/.libs/libbmp.al jp2/.libs/libjp2.al jpc/.libs/libjpc.al jpg/.libs/libjpg.al mif/.libs/libmif.al pgx/.libs/libpgx.al pnm/.libs/libpnm.al ras/.libs/libras.al -L/usr/local/lib -lm -ljpeg -lc -install_name  /usr/local/lib/libjasper-1.600.0.dylib -compatibility_version 1 -current_version 1.0
ld: multiple definitions of symbol _jas_eprintf
base/.libs/libbase.al(jas_debug.lo) definition of _jas_eprintf in section (__TEXT,__text)
base/.libs/libbase.al(jas_debug.lo) definition of _jas_eprintf in section (__TEXT,__text)
ld: multiple definitions of symbol _jas_getdbglevel
base/.libs/libbase.al(jas_debug.lo) definition of _jas_getdbglevel in section (__TEXT,__text)
base/.libs/libbase.al(jas_debug.lo) definition of _jas_getdbglevel in section (__TEXT,__text)
ld: multiple definitions of symbol _jas_memdump
base/.libs/libbase.al(jas_debug.lo) definition of _jas_memdump in section (__TEXT,__text)
base/.libs/libbase.al(jas_debug.lo) definition of _jas_memdump in section (__TEXT,__text)
ld: multiple definitions of symbol _jas_setdbglevel
base/.libs/libbase.al(jas_debug.lo) definition of _jas_setdbglevel in section (__TEXT,__text)
base/.libs/libbase.al(jas_debug.lo) definition of _jas_setdbglevel in section (__TEXT,__text)
ld: multiple definitions of symbol _jas_getopt
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_getopt in section (__TEXT,__text)
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_getopt in section (__TEXT,__text)
ld: multiple definitions of symbol _jas_optarg
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_optarg in section (__DATA,__data)
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_optarg in section (__DATA,__data)
ld: multiple definitions of symbol _jas_opterr
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_opterr in section (__DATA,__data)
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_opterr in section (__DATA,__data)
ld: multiple definitions of symbol _jas_optind
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_optind in section (__DATA,__data)
base/.libs/libbase.al(jas_getopt.lo) definition of _jas_optind in section (__DATA,__data)

...
and many more
>How-To-Repeat:
This happens also with a straight configure/make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: