Re: [ooc-compiler] Installation problems on Fedora Core 3
Brought to you by:
mva
|
From: August <fus...@co...> - 2005-01-24 04:05:11
|
In running a gc test application I get an error so something is obviously wrong with gc. Maybe a question for the gc mailing list. $ gcc test.c -o test -lgc /usr/local/lib/libgc.so: undefined reference to `dlopen' collect2: ld returned 1 exit status No problems reported from gctest though. $ ./gctest Switched to incremental mode Emulating dirty bits with mprotect/signals Completed 3 tests Allocated 5716740 collectable objects Allocated 306 uncollectable objects Allocated 3750000 atomic objects Allocated 34440 stubborn objects Finalized 6612/6612 objects - finalization is probably ok Total number of bytes allocated is 305241940 Final heap size is 12795904 bytes Collector appears to work Completed 539 collections On m=C3=A5n, 2005-01-24 at 11:43 +0800, Stewart Greenhill wrote: > Hi August, >=20 > Does the C linker have the same problem? In other words, can you make a= =20 > dummy "hello world" program and do: > gcc hello.c -o hello -lgc >=20 > Does your C compiler look in "/usr/local/lib"? Is it in your=20 > LD_LIBRARY_PATH? >=20 > Cheers, > Stewart >=20 > On Monday, January 24, 2005, at 10:10 AM, August wrote: >=20 > > Hello again, > > > > The libgc files are in /usr/local/lib and I have run ldconfig and (ju= st > > to be sure) reextracted oo2c_32-2.1.7.tar.bz2 and opened a new shell, > > but I still get the same error message from configure. Hmm... > > > > On m=C3=A5n, 2005-01-24 at 09:19 +0800, Stewart Greenhill wrote: > >> Hi August, > >> > >> The linker is not finding libgc. Check that you have installed the > >> library in a place that the compiler knows about. You may also have = to > >> run "ldconfig" to update the linker. More details here: > >> http://sourceforge.net/mailarchive/message.php?msg_id=3D6525458 > >> > >> Cheers, > >> Stewart > >> > >> On Monday, January 24, 2005, at 07:57 AM, August wrote: > >> > >>> Hello all, > >>> > >>> I have some trouble installing OOC 2.1.7 on Fedora Core 3 Linux. I=20 > >>> have > >>> installed gc6.3 and it seems to work. Any clues? > >>> > >>> $ ./configure > >>> checking for gcc... gcc > >>> checking for C compiler default output file name... a.out > >>> checking whether the C compiler works... yes > >>> checking whether we are cross compiling... no > >>> checking for suffix of executables... > >>> checking for suffix of object files... o > >>> checking whether we are using the GNU C compiler... yes > >>> checking whether gcc accepts -g... yes > >>> checking for gcc option to accept ANSI C... none needed > >>> checking how to run the C preprocessor... gcc -E > >>> checking for egrep... grep -E > >>> checking for a BSD-compatible install... /usr/bin/install -c > >>> checking for oo2c... bin/oo2c --config oo2crc-install.xml > >>> checking for ooef... bin/ooef > >>> checking for diff... /usr/bin/diff > >>> checking for xsltproc... /usr/bin/xsltproc > >>> checking for perl... /usr/bin/perl > >>> checking for libtool... /usr/bin/libtool > >>> checking for dlopen in -ldl... yes > >>> checking for GC_malloc in -lgc... yes > >>> checking for socket in -lxnet... no > >>> checking for sem_init in -lrt... yes > >>> checking for sem_init in -lposix4... no > >>> checking for sin in -lm... yes > >>> checking for ANSI C header files... no > >>> checking for sys/types.h... yes > >>> checking for sys/stat.h... yes > >>> checking for stdlib.h... yes > >>> checking for string.h... yes > >>> checking for memory.h... yes > >>> checking for strings.h... yes > >>> checking for inttypes.h... yes > >>> checking for stdint.h... yes > >>> checking for unistd.h... yes > >>> checking sys/time.h usability... yes > >>> checking sys/time.h presence... yes > >>> checking for sys/time.h... yes > >>> checking for unistd.h... (cached) yes > >>> checking io.h usability... no > >>> checking io.h presence... no > >>> checking for io.h... no > >>> checking pwd.h usability... yes > >>> checking pwd.h presence... yes > >>> checking for pwd.h... yes > >>> checking utime.h usability... yes > >>> checking utime.h presence... yes > >>> checking for utime.h... yes > >>> checking for stdint.h... (cached) yes > >>> checking for inttypes.h... (cached) yes > >>> checking gc/gc.h usability... yes > >>> checking gc/gc.h presence... yes > >>> checking for gc/gc.h... yes > >>> checking whether time.h and sys/time.h may both be included... yes > >>> checking for long int... yes > >>> checking size of long int... configure: error: cannot compute sizeo= f > >>> (long int), 77 > >>> See `config.log' for more details. > >>> > >>> --=20 > >>> August > >>> <config.log> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive=20 > >> Reporting > >> Tool for open source databases. Create drag-&-drop reports. Save tim= e > >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, et= c. > >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >> _______________________________________________ > >> ooc-compiler mailing list > >> ooc...@li... > >> https://lists.sourceforge.net/lists/listinfo/ooc-compiler > > --=20 > > August > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporti= ng > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc= . > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > ooc-compiler mailing list > > ooc...@li... > > https://lists.sourceforge.net/lists/listinfo/ooc-compiler > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > ooc-compiler mailing list > ooc...@li... > https://lists.sourceforge.net/lists/listinfo/ooc-compiler --=20 August |