Attached is a patch that fixes the above problem. However, this goes into something different this time :
g++ -shared -o dist/Debug/GNU-Linux-x86/libgexf.so -fPIC build/Debug/GNU-Linux-x86/filereader.o build/Debug/GNU-Linux-x86/attvalueiter.o build/Debug/GNU-Linux-x86/directedgraph.o build/Debug/GNU-Linux-x86/undirectedgraph.o build/Debug/GNU-Linux-x86/edgeiter.o build/Debug/GNU-Linux-x86/attributeiter.o build/Debug/GNU-Linux-x86/graph.o build/Debug/GNU-Linux-x86/gexfparser.o build/Debug/GNU-Linux-x86/data.o build/Debug/GNU-Linux-x86/conv.o build/Debug/GNU-Linux-x86/gexf.o build/Debug/GNU-Linux-x86/legacyparser.o build/Debug/GNU-Linux-x86/nodeiter.o build/Debug/GNU-Linux-x86/filewriter.o build/Debug/GNU-Linux-x86/metadata.o -lxml2 Undefined symbols: "_main", referenced from: start in crt1.10.5.o ld: symbol(s) not found collect2: ld returned 1 exit status gmake[2]: *** [dist/Debug/GNU-Linux-x86/libgexf.so] Error 1 gmake[2]: Leaving directory `/Users/radu/Downloads/libgexf-src.0.1.0' gmake[1]: *** [.build-conf] Error 2 gmake[1]: Leaving directory `/Users/radu/Downloads/libgexf-src.0.1.0' gmake: *** [.build-impl] Error 2
The system is a MacOX 10.5 with XCode 3.1 installed. I have tried both make and gmake with same results.
Attached is a patch that fixes the above problem.
However, this goes into something different this time :
g++ -shared -o dist/Debug/ GNU-Linux- x86/libgexf. so -fPIC build/Debug/ GNU-Linux- x86/filereader. o build/Debug/ GNU-Linux- x86/attvalueite r.o build/Debug/ GNU-Linux- x86/directedgra ph.o build/Debug/ GNU-Linux- x86/undirectedg raph.o build/Debug/ GNU-Linux- x86/edgeiter. o build/Debug/ GNU-Linux- x86/attributeit er.o build/Debug/ GNU-Linux- x86/graph. o build/Debug/ GNU-Linux- x86/gexfparser. o build/Debug/ GNU-Linux- x86/data. o build/Debug/ GNU-Linux- x86/conv. o build/Debug/ GNU-Linux- x86/gexf. o build/Debug/ GNU-Linux- x86/legacyparse r.o build/Debug/ GNU-Linux- x86/nodeiter. o build/Debug/ GNU-Linux- x86/filewriter. o build/Debug/ GNU-Linux- x86/metadata. o -lxml2 GNU-Linux- x86/libgexf. so] Error 1 radu/Downloads/ libgexf- src.0.1. 0' radu/Downloads/ libgexf- src.0.1. 0'
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gmake[2]: *** [dist/Debug/
gmake[2]: Leaving directory `/Users/
gmake[1]: *** [.build-conf] Error 2
gmake[1]: Leaving directory `/Users/
gmake: *** [.build-impl] Error 2
The system is a MacOX 10.5 with XCode 3.1 installed. I have tried both make and gmake with same results.