Quoting sridewa: > [EMAIL PROTECTED]:~/tmp/edan$ gcc -g3 -o mytest `directfb-config --cflags > --libs --graphics=nvidia --input=linux_input --font=ft2 > --imageprovider=jpeg,png` mytest.c
That should work. > /tmp/ccGhaFPF.o: In function `main': > /home/sridewa/tmp/edan/mytest.c:17: multiple definition of `main' > /usr/local/lib/libdirect.a(dtest-dtest.o)(.text+0x0): first defined here > /usr/bin/ld: Warning: size of symbol `main' changed from 100 to 667 in > /tmp/ccGhaFPF.o > collect2: ld returned 1 exit status > [EMAIL PROTECTED]:~/tmp/edan$ > > apparently, the 'main' function already taken by the static library > libdirect.a from the source dtest.c. is there are any clue on this? I'm not sure why it only happened on your system, but it should be fixed now. The dtest.o file is now excluded. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
