[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ITL testing



Salam,

i seem to get an error too. i have included a file that i created with ">" and
">>" directives. Beside that i've got some "undefined reference"-warnings (?) in
stdoutput. At the end it looks like this:

build/umm_alqura.o(.text+0x934):umm_alqura.c: undefined reference to `floor'
build/umm_alqura.o(.text+0xa27):umm_alqura.c: undefined reference to `floor'
build/umm_alqura.o(.text+0x1064):umm_alqura.c: undefined reference to `modf'
make: *** [build/libitl.so] Fehler 1

hope this helps.

Salam.

Omar


On Tue, 20 Jul 2004 13:35:22 -0700 (PDT), Nadim Shaikli wrote:
> --- Umer Farooq <umer at octadyne dot com> wrote:
>> ==> Building ipraytime...
>> gcc -m32 -L/home/farooq/itlLibs/lib/itl -lm  -litl ipraytime.c -o ipraytime
>> ipraytime.c: In function `print_input_data':
>> ipraytime.c:431: warning: passing arg 4 of `decimal2Dms' from
>> incompatible pointer type
>> ipraytime.c:435: warning: passing arg 4 of `decimal2Dms' from
>> incompatible pointer type
>> ipraytime.c:446: warning: passing arg 4 of `decimal2Dms' from
>> incompatible pointer type
>> ipraytime.c: In function `main':
>> ipraytime.c:973: error: structure has no member named `round'
>> ipraytime.c:982: error: structure has no member named `round'
>> make: *** [ipraytime] Error 1
>
> I suspect you have an older lib in the dir noted.  The errors and warnings
> noted here are all fine to me.  Again, do please remove everything (and
> delete the dirs you have) and start anew.  If you can, do please join IRC
> to get all these issues resolved.
>
> Anyone else tested this ?
>
> Salam.
>
> - Nadim
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Developer mailing list
> Developer at arabeyes dot org
> http://lists.arabeyes.org/mailman/listinfo/developer


--
Omar Abo-Namous, merlin12345 at gmx dot de on 21.07.2004

Running autoconf...
You can now run "./configure" and then "make".
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 for ld... /usr/bin/ld
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for strcasecmp... yes
checking for floor in -lm... yes
checking for modf in -lm... yes
checking for pow in -lm... yes
checking for struct tm.tm_gmtoff... no
configure: creating ./config.status
config.status: creating build/config.mk
config.status: creating build/config.h
for i in hijri prayertime; do \
  make -C $i libitl || exit 1; \
done
make[1]: Entering directory `/cygdrive/j/projects/arabeyes.org/itl/libs/hijri'
make[2]: Entering directory `/cygdrive/j/projects/arabeyes.org/itl/libs/hijri/src'
==> Building hijri component...
gcc -m32 -c hijri.c -o hijri.o
==> Building umm_alqura component...
gcc -m32 -c umm_alqura.c -o umm_alqura.o
==> Building idate demo...
gcc -m32 hijri.o umm_alqura.o demo_idate.c -o demo_idate -lm
==> Create symbolic links for library generation...
ln -sf ../hijri/src/hijri.h ../../build/ITL_hijri.h
ln -sf ../hijri/src/hijri.o ../../build/hijri.o
ln -sf ../hijri/src/umm_alqura.o ../../build/umm_alqura.o
make[2]: Leaving directory `/cygdrive/j/projects/arabeyes.org/itl/libs/hijri/src'
make[1]: Leaving directory `/cygdrive/j/projects/arabeyes.org/itl/libs/hijri'
make[1]: Entering directory `/cygdrive/j/projects/arabeyes.org/itl/libs/prayertime'
make[2]: Entering directory `/cygdrive/j/projects/arabeyes.org/itl/libs/prayertime/src'
gcc -m32 -c astro.c -o astro.o
==> Building libprayer components...
gcc -m32 -c prayer.c -o prayer.o
==> Building demo...
gcc -m32 astro.o prayer.o prayer-demo.c -o prayer-demo -lm
==> Create symbolic links for library generation...
ln -sf ../prayertime/src/prayer.h ../../build/ITL_prayer.h
ln -sf ../prayertime/src/prayer.o ../../build/prayer.o
ln -sf ../prayertime/src/astro.o ../../build/astro.o
make[2]: Leaving directory `/cygdrive/j/projects/arabeyes.org/itl/libs/prayertime/src'
make[1]: Leaving directory `/cygdrive/j/projects/arabeyes.org/itl/libs/prayertime'
ld build/*.o -o build/libitl.so -shared