>> If it doesn't work for you pls post your env and error,
> 
> Error:
> bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6
> -O2 -OS -Ov -Oi -Oc   -onortl.obj -c ../../../nortl.
> c
> ../../../nortl.c:
> tlib.exe /P128  "..\..\..\..\..\lib\win\bcc\hbnortl.lib" -+nortl.obj
> TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
> Warning: 'nortl' not found in library
> bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6
> -O2 -OS -Ov -Oi -Oc   -ohbpp.obj -c ../../../hbpp.c
> ../../../hbpp.c:
> bcc32.exe  -I. -I../../../../../include -q -tWM -w -w-sig- -Q -d -6
> -O2 -OS -Ov -Oi -Oc   -ohbpp_dyn.obj -DHB_DYNLIB -c
> ../../../hbpp.c
> ../../../hbpp.c:
> bcc32.exe -q -tWM -w -w-sig- -Q -d -6 -O2 -OS -Ov -Oi -Oc
> -L../../../../../lib/win/bcc   -e..\..\..\..\..\bin\win\bcc\h
> bpp.exe hbpp.obj ../../../../../lib/win/bcc/hbnortl.lib
> ../../../../../lib/win/bcc/hbcommon.lib kernel32.lib user32.lib
> ws2_32.lib advapi32.lib gdi32.lib
> Fatal: Unable to open file 'KERNEL32.LIB'
> win-make[3]: *** [hbpp.exe] Error 1
> rm hbpp.obj
> win-make[2]: *** [descend] Error 2
> win-make[1]: *** [pp] Error 2
> win-make: *** [src] Error 2
> 
> As you can see, kernel32 is listed and since my bcc32.cfg is
> -I"c:\dev\l\bcc55\include" -L"c:\dev\l\bcc55\lib"
> it's not found....
> 
> I now added -L"...\psdk" and works....

Yes, this is the key. 

Upgrade to latest SVN and PSDK dir is added automatically 
by the build process.

> I'm only a bit puzzled about the fact that removing that libraries it
> compiles, links and works.....

These libs are added internally by BCC even if you don't 
add them explicitly. We're adding them explicitly as 
we're using a std set of system libs for all Windows 
compilers.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to