Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Gerrit P. Haase
Vijay schrieb: > the same errors. So make it: #ifndef __CYGWIN__ #ifdef __EMX__ [...] #endif #endif #ifdef __CYGWIN__ #define PR_(foo) ___##foo #define PT_(foo,func) ___##foo,##func #endif and remove all the lines beginning with 'SIZE' and all the '.type' lines. I don't see '.comm' in the CVS so

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Gerrit P. Haase
Vijay schrieb: > the same errors. Hmmm, the pseudo-ops are not affected when adding _CYGWIN__ to the #ifdef, these definitions like it is done for EMX are only important for the missing leading underscores (in case you get linking errors after compilation succeeded). You need to remove the pseu

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Gerrit P. Haase
Vijay schrieb: > hi Gerrit, > I did skip those assembler files as they have optimizations for mmx > and amd64 machines by adding this configure option > ./configure --disable-mmx --disable-amd64 > I think this would be a great addition to the cygwin ports. > there is a patch for dlfcn.h, which ha

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Gerrit P. Haase
Vijay schrieb: > >> #ifdef __EMX__ >> /* Due to strange behaviour of as.exe we use this macros */ >> /* For all OS/2 coders - please use PGCC to compile this code */ >> #define PR_(foo) ___##foo >> #define PT_(foo,func) ___##foo,##func >> #define SIZE(sym) \ >>

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Vijay Kiran Kamuju
> #ifdef __EMX__ > /* Due to strange behaviour of as.exe we use this macros */ > /* For all OS/2 coders - please use PGCC to compile this code */ > #define PR_(foo) ___##foo > #define PT_(foo,func) ___##foo,##func > #define SIZE(sym) \ > .___end_##sym:;

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Gerrit P. Haase
Vijay schrieb: > Hi, > I tried that before sending it to the list. > Even that failed due to the errors u mentioned. > The issues regarding missing leading underscores in symbols when > linking the objects later. > How to fix that? I see that there is this in the source file: #ifdef __EMX__ /*

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Vijay Kiran Kamuju
Hi, I tried that before sending it to the list. Even that failed due to the errors u mentioned. The issues regarding missing leading underscores in symbols when linking the objects later. How to fix that? Well why do the following psuedo-ops fail with cygwin 'as.exe' .type .comm a,b,c .size thank

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-04 Thread Gerrit P. Haase
Vijay wrote: > hi , > i am unable to compile imlib2-1.2.1 with cygwin 1.5.18, > binutils-20050610 and gcc-3.4.4-1 > first i was unable compile due to missing RTLD_LOCAL in the > /usr/include/dlfcn.h > could you please add the following line to dlfcn.h > #define RTLD_LOCAL 0 > after that the c

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-03 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay Kiran Kamuju wrote: > i am unable to compile imlib2-1.2.1 with cygwin 1.5.18, > binutils-20050610 and gcc-3.4.4-1 The Cygwin Ports packages contains an imlib2 package: ftp://sunsite.dk/projects/cygwinports/ Please try this package and let me k

Re: imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-03 Thread Larry Hall (Cygwin)
Vijay Kiran Kamuju wrote: hi , i am unable to compile imlib2-1.2.1 with cygwin 1.5.18, binutils-20050610 and gcc-3.4.4-1 first i was unable compile due to missing RTLD_LOCAL in the /usr/include/dlfcn.h could you please add the following line to dlfcn.h #define RTLD_LOCAL 0 after that the comp

imlib2-1.2.1 compilation errors with cygwin 1.5.18 and binutils-20050610

2006-01-03 Thread Vijay Kiran Kamuju
hi , i am unable to compile imlib2-1.2.1 with cygwin 1.5.18, binutils-20050610 and gcc-3.4.4-1 first i was unable compile due to missing RTLD_LOCAL in the /usr/include/dlfcn.h could you please add the following line to dlfcn.h #define RTLD_LOCAL 0 after that the compilation failed while compili