WG: Whats this Warning about ? in Cygwin:

View: New views
1 Messages — Rating Filter:   Alert me  

WG: Whats this Warning about ? in Cygwin:

by Louis-35 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems that a dll compilation flag was not set.
_imp means dynamic loadable library, whereas _getopt (function name without imp) means normal linked library.
I am maybe wrong, but I think this error has to do with a configuration mistake.
Look for the Makefile, it need a linkflag/compileflag called --enable-shared for gcc. Look for the linkflags within the Makefile.conf in the root source directory. There should be a variable for DLL linking. All of the dll_stl library linkages/compilations should have the same options than the ones in the Makefile.conf

Greets Louis

-----Ursprüngliche Nachricht-----
Von: owner-cint@... [mailto:owner-cint@...] Im Auftrag von Dr. Prasad, B.V.L.S.
Gesendet: Sonntag, 2. August 2009 01:31
An: Axel Naumann
Cc: Philippe Canal; cint@...
Betreff: Re: [CINT] Whats this Warning about ? in Cygwin:

Hi Axel,

Its compiling without the -auto-import warning.
However, my problem is still not resolved.

Where should I look for, if the makecint or dll_stl libraries
are NOT getting compiled.
The reason is : it is looking for some old cint configuration.
I removed the old cint completely from my system. Still the same problem.

could you help.
Prasad.



----- Original Message ----
From: Axel Naumann <Axel.Naumann@...>
To: "Dr. Prasad, B.V.L.S." <burrashiva@...>
Cc: Philippe Canal <pcanal@...>; cint@...
Sent: Friday, 31 July, 2009 2:49:00
Subject: Re: [CINT] Whats this Warning about ? in Cygwin:

Hi Prasad,

this should now be fixed. Can you try again?

Cheers, Axel.

Dr. Prasad, B.V.L.S. wrote on 07/31/2009 12:04 AM:

> Hi,
> What's this 'new' warning thats showing up - auto-import?
>
> *******************************************************
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
> warning: auto-importing has been activated without --enable-auto-import specified on the command line.
>
> This should work unless it involves constant data structures referencing symbols
>  from auto-imported DLLs.Info: resolving _optind by linking to __imp__optind (auto-import)
> Info: resolving _optarg by linking to __imp__optarg (auto-import)
> Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attempted_completion_function (auto-import)
> Info: resolving _rl_basic_word_break_characters by linking to __imp__rl_basic_word_break_characters (auto-import)
>
> gcc cint/include/mkincld.c -o cint/include/mkincld.exe -O2    -DG__SHAREDLIB -DG
> __OSFDLL -DG__NEWSTDHEADER -DG__CYGWIN -DG__NATIVELONGLONG -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO   -Icint/inc -Icint/src -Ireflex/inc -DG__CINTBODY
> *****************************************************************************
>
> Prasad
>
>
>
>
>