ne1 has quit ["Few people understand understanding."]
monochrom has joined #ocaml
budjet has quit [Remote closed the connection]
whee has joined #ocaml
smimou has quit ["?"]
whee has quit []
<dan2>
Demitar: with ocamldep it automatically gets dependencies like libs too?
maml has quit [Read error: 60 (Operation timed out)]
<dan2>
mflux: were you the one who said you used configure/Make for ocaml projects?
bzzbzz has quit ["leaving"]
zzorn has quit ["They are coming to take me away ha ha"]
mattam has quit [Read error: 110 (Connection timed out)]
zno has left #ocaml []
gim has quit ["zzz++"]
smkl has quit [Read error: 238 (Connection timed out)]
hangman4 has quit [Connection timed out]
hangman4 has joined #ocaml
smkl has joined #ocaml
MikeJS has quit ["Leaving"]
shawn has joined #ocaml
vezenchio has joined #ocaml
bpalmer has joined #ocaml
monochrom has quit ["Few people understand "understanding"."]
wam has quit ["Abandonando"]
wam has joined #ocaml
bpalmer has quit ["ChatZilla 0.9.61 [Mozilla rv:1.7.1/20040707]"]
<mflux>
no.
mrsolo_ has quit [Read error: 60 (Operation timed out)]
mrsolo_ has joined #ocaml
shawn_ has joined #ocaml
shawn has quit [Read error: 60 (Operation timed out)]
maeglin has joined #ocaml
smkl has quit [Read error: 238 (Connection timed out)]
zzorn has joined #ocaml
zzorn is now known as zzorn_away
mlh has quit [Client Quit]
Submarine has joined #ocaml
maeglin has left #ocaml []
Herrchen has joined #ocaml
smkl has joined #ocaml
Herrchen has quit ["bye"]
hangman4 has quit [Connection timed out]
hangman4 has joined #ocaml
smkl has quit [Read error: 238 (Connection timed out)]
shawn_ is now known as shawn
pango has quit [Remote closed the connection]
Herrchen has joined #ocaml
pango has joined #ocaml
smimou has joined #ocaml
smkl has joined #ocaml
hangman4 has quit [Read error: 110 (Connection timed out)]
slashvar has joined #ocaml
slashvar is now known as slashvar[lri]
pango has quit [Remote closed the connection]
smkl has quit [Read error: 238 (Connection timed out)]
solarwind has quit [Remote closed the connection]
solarwind has joined #ocaml
hangman4 has joined #ocaml
smkl has joined #ocaml
pango has joined #ocaml
heimdall_ has joined #ocaml
<heimdall_>
hi
<heimdall_>
can someone help me to interface ocaml with C ?
<heimdall_>
I get a weird error
<heimdall_>
when trying to link the output of ocamlc -ouput-obj
<heimdall_>
/tmp/ccQVEyQG.o(.text+0x0): In function `main':
<heimdall_>
/home/heimdall/info/idb/work/openGl/main.c:17: multiple definition of `main'
<heimdall_>
/usr/lib/ocaml/libasmrun.a(main.o)(.text+0x0): first defined here
<heimdall_>
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/../../../../i386-pc-linux-gnu/bin/ld: Warning: size of symbol `main' changed from 38 in /usr/lib/ocaml/libasmrun.a(main.o) to 687 in /tmp/ccQVEyQG.o
<heimdall_>
no one ?
CosmicRay has joined #ocaml
smkl has quit [Read error: 238 (Connection timed out)]
<mflux>
I know nothing about that subject, but maybe you're trying to link a c-object file that already contains 'main'
<heimdall_>
well, yes
<heimdall_>
I just want to include some OCaml functions in my C code
<heimdall_>
and there already is a main in my C code, but I don't see where gcc sees any *other* main
<mflux>
it sees it in libasmrun.a ;)
maml has joined #ocaml
<mflux>
maybe you can bootstrap your program by calling it from the ocaml-part
<heimdall_>
hum
<heimdall_>
I'm trying to build a library with the caml things
<heimdall_>
like in the manual
<heimdall_>
if it still doesn't work, I'll try what you propose
<heimdall_>
RHAAAAAAA
<heimdall_>
how comes !??
* heimdall_
too stupid
<heimdall_>
I simply have two files with name main.o
<heimdall_>
..........................
bzzbzz has joined #ocaml
heimdall_ has quit ["Leaving"]
smkl has joined #ocaml
<vincenz>
you want to compile not link
<vincenz>
and then you get a .o file
<vincenz>
and then you link that with your c code
Submarine has quit ["Leaving"]
Submarine has joined #ocaml
Submarine has quit [Client Quit]
Submarine has joined #ocaml
Quazion has joined #ocaml
Quazion has left #ocaml []
cjohnson has joined #ocaml
mrvn_ has joined #ocaml
mrvn has quit [Read error: 60 (Operation timed out)]
Submarine has quit ["Leaving"]
Submarine has joined #ocaml
Godeke has quit [Remote closed the connection]
cjohnson has quit ["The main attraction: distraction"]
pango has quit [Nick collision from services.]
pango has joined #ocaml
Godeke has joined #ocaml
cjohnson has joined #ocaml
zzorn_away is now known as zzorn
karryall has joined #ocaml
smkl has quit [Read error: 238 (Connection timed out)]
cjohnson has quit ["The main attraction: distraction"]
<vincenz>
anyone know a nice socket framework?
_JusSx_ has joined #ocaml
<_JusSx_>
what heppened wuruz?
Herrchen has quit ["n8"]
vezenchio has quit ["haibane · renmei"]
smimou has quit [Read error: 104 (Connection reset by peer)]