On 1/25/2012 12:36 PM, Sonya Blade wrote:
> I think that message is been processed to the compiler
> cqm : $(OBJ) gcc -g -o -L/usr/local/lib
> where OBJ is:
> OBJ = vertex2.o halfedge2.o edge2.o face2.o boundary2.o bbox2.o
> complex2.o \
> dualgraph.o regiongraph.o sptree.o edgekey.o polygon2.o tri2.o
> quad2.o \
> iomesh2.o mesh2.o compquad.o gencontrol.o cqm.o
> I recently noticed that command calling is kind of weird, is that
> OBJ macro can be called before
> gcc compiler command ? Anyway compiler doesn't complain about that.
It's pretty much impossible to diagnose anything if we see only
bits and snippets. That's why we're asking for "the actual compile
command".
This would mean the actual command line generated by the make, and
also the resulting messages. Copy and paste the whole thing from
your shell window, trim a bit if it's too long.
Here is an example of the kind of thing we need:
$ make mingw
cd src && make mingw
make[1]: Entering directory `/home/khman/lua/lua-5.2.0/src'
make "LUA_A=lua52.dll" "LUA_T=lua.exe" \
"AR=gcc -shared -o" "RANLIB=strip --strip-unneeded" \
"SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s"
lua.exe
make[2]: Entering directory `/home/khman/lua/lua-5.2.0/src'
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_BUILD_AS_DLL -c -o llex.o
llex.c
gcc -shared -o lua52.dll llex.o
llex.o:llex.c:(.text+0x1f): undefined reference to `luaS_new'
...
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
--------------------------------------------------------------------------- ---
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
MinGW-users mailing list
MinGW-us...@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-requ...@lists.sourceforge.net?subject=unsubscribe