odd warning message from gcc under FreeBSD 4.10

2004-10-25 Thread Richard Williamson
Hello, Is this something known about, or: What am I missing? TIA, rip PROBLEM: man strstr says: returns char * test code throws warning on line 7: test.c:7: warning: assignment makes pointer from integer \ without a cast TEST CODE int main (int argc, void ** argv) { char *pBlah = 0x0; cha

freebsd-questions@freebsd.org

2004-11-04 Thread Richard Williamson
At 10:44 04/11/2004, you wrote: >Bonjour à tous, >Je suis en train de migrer un serveur web de Debian vers FreeBSD (version 5.2.1) et a >priori la version de php4 fournie n'est pas compilée avec le support de GD. >Je me lance donc dans la compilation de php pour l'ajouter et là c'est le drame...

sh pain (cl vs execve)

2004-11-11 Thread Richard Williamson
Hello the list, I've got a sh script that updates a group of files in non-volatile storage from versions in the root filesystem (at /dev/md0 if that is important), if the files in ram are more up-to-date. Easy enough in theory. If I call the sh script from the command line it works as expected.

what is the bsd fs called outside the bsd sphere?

2004-11-25 Thread Richard Williamson
Hello all, I have a 32Mb CF card, formatted with the native BSD fs type (ie, it isn't fat16 or fat32). I've dd'd a raw image off the card. Using FreeBSD, I can clone the flash card using for example dd if=./sandisk.32.img of=/dev/rad8 I would like to be able to flash a card using a different s

Re: what is the bsd fs called outside the bsd sphere?

2004-11-25 Thread Richard Williamson
At 11:20 25/11/2004, you wrote: >Use the -O 1 option of newfs when you create the filesystem of the >flash card on FreeBSD. Otherwise, it may be newfs'd to UFS2 which >the rest of the world doesn't really grok, yet. _that's_ where I probably went wrong. Ok, I'll recreate the original flash imag

sio0/sio1 swap

2004-11-30 Thread Richard Williamson
Hello, I've got a network box. The motherboard (adlink 2000) has three "com" ports (that is what the screen print on the board says: com1, com2, com3. The box I was given for development has com1 wired up to the 9pin port on the back of the housing, helpfully screen printed with 'COM1'. com2 is

Re: sio0/sio1 swap

2004-12-01 Thread Richard Williamson
I'm top posting because no one answered the original post (included below). I guess this means I'm starting over. Ok, so I set console=vidconsole boot -h in my /boot/loader.rc . This prevents the console messages from being dumped to the 16x2 LCD. But I've now lost any output to the LCD, inc

Re: I need help mounting a floppy

2004-03-19 Thread Richard . Williamson
> Willy Dingledorf wrote: > >fdformat: open(/dev/fd0): No such file or directory > >mount: /dev/fd0: No such file or directory > >msdosfs: /dev/fd0: No such file or directory > >msdosfs /dev/fd0: No such file or directory I'd try Occam... Can you give us the output of $ls /dev/fd0 regards, ri