Thanks, using "gcc ~/src9/SpaceMap.c -oSpaceMap 2>&1 | ~/shex/NoAnnoy" worked just fine.
BTW, the real problem to be solved was how to get "gcc" to talk to "NoAnnoy"; it was never about how to resolve the missing prototype.
Caitlin
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Search found 329 matches
- 2023-05-14 04:30
- Forum: General Questions
- Topic: [Software][Solved] Fixing annoying gcc error messages
- Replies: 6
- Views: 283
- 2023-05-13 16:40
- Forum: General Questions
- Topic: [Software][Solved] Fixing annoying gcc error messages
- Replies: 6
- Views: 283
Re: [Software] Fixing annoying gcc error messages
Hi Aki,
I tried "gcc ~/src9/SpaceMap.c -oSpaceMap |& ~/shex/NoAnnoy"
and what I got was
/home/user/shex/Build9.sh: 11: /home/user/shex/Build9.sh: Syntax error: "&" unexpected
Is that what you meant?
Caitlin
I tried "gcc ~/src9/SpaceMap.c -oSpaceMap |& ~/shex/NoAnnoy"
and what I got was
/home/user/shex/Build9.sh: 11: /home/user/shex/Build9.sh: Syntax error: "&" unexpected
Is that what you meant?
Caitlin
- 2023-05-13 14:52
- Forum: General Questions
- Topic: [Software][Solved] Fixing annoying gcc error messages
- Replies: 6
- Views: 283
[Software][Solved] Fixing annoying gcc error messages
When I compile a program using gcc, I sometimes get annoying error messages like: /home.user/src9/SpaceMap.c:126:3: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] No, I did not mean strsep . I have no ******* idea what strsep is. All I kno...
- 2023-01-07 20:48
- Forum: Programming
- Topic: Need a table search routine for C for an ordered table
- Replies: 3
- Views: 3677
Need a table search routine for C for an ordered table
I need to build up a table of structures kept in sequence by ascending key. I want to search the table to find the structure with a matching key, or failing that, something close so I can insert a new structure in the right location (insertion sort). I looked at bsearch() but that just returns zero ...
- 2022-11-09 16:30
- Forum: Graphical Environments & Desktops
- Topic: [Software] Need a video player
- Replies: 19
- Views: 1614
[Software] Need a video player
I need to select and install a video player that doesn't trash my system upon installation. All the ones I looked at deinstall oodles of packages first, including some tools like KWrite that I use heavily and depend on. (I don't see why a video player should conflict with a text editor -- they are t...
- 2022-10-18 13:50
- Forum: General Questions
- Topic: Can't restore a Clonezilla backup
- Replies: 4
- Views: 631
Re: Can't restore a Clonezilla backup
Why do you want to use Clonezilla to copy a few megabytes? Just copy the source data to an external device and paste to the target. Or if the 2 computers are networked you could use rsync to copy over the network. I have used Syncthing to sync data between 2 computers. Your options 2 and 3 would wo...
- 2022-10-18 13:43
- Forum: Programming
- Topic: Do I need to align my short ints?
- Replies: 12
- Views: 1593
Re: Do I need to align my short ints?
Dear reinob, Perhaps an example is in order. The most common structure is: struct ELEMENT /* 328 */ {struct ELEMENT* chain1; /* chain of all tasks (excluding bogus) */ struct ELEMENT* chain2; /* tasks that are part of this project */ struct ELEMENT* chain3; /* tasks with due dates in order by same ...
- 2022-10-15 07:40
- Forum: General Questions
- Topic: Can't restore a Clonezilla backup
- Replies: 4
- Views: 631
Can't restore a Clonezilla backup
I'm not sure if this belongs here. I backed up a 40 GB (home) partition on my boyfriend's laptop, and tried to restore it to another 40 GB partition on a different laptop. But it said the target partition was smaller than the source. Checking further, I saw that the source partition was 40001 MB, an...
- 2022-10-12 13:42
- Forum: Programming
- Topic: Do I need to align my short ints?
- Replies: 12
- Views: 1593
Re: Do I need to align my short ints?
Ready for this -- it's EBCDIC!!
Caitlin
Caitlin
- 2022-10-11 07:31
- Forum: Programming
- Topic: Do I need to align my short ints?
- Replies: 12
- Views: 1593
Re: Do I need to align my short ints?
Dear tomazzi,
I like the idea of "_t" data types -- I was never really comfortable with the "native to the system you're running on" idea.
c38189a3938995
I like the idea of "_t" data types -- I was never really comfortable with the "native to the system you're running on" idea.
c38189a3938995
- 2022-10-10 17:30
- Forum: Programming
- Topic: Do I need to align my short ints?
- Replies: 12
- Views: 1593
Re: Do I need to align my short ints?
Dear reinob, Perhaps an example is in order. The most common structure is: struct ELEMENT /* 328 */ {struct ELEMENT* chain1; /* chain of all tasks (excluding bogus) */ struct ELEMENT* chain2; /* tasks that are part of this project */ struct ELEMENT* chain3; /* tasks with due dates in order by same *...
- 2022-10-10 05:26
- Forum: Programming
- Topic: Do I need to align my short ints?
- Replies: 12
- Views: 1593
Do I need to align my short ints?
I have some structures that have short ints in them. These short ints are "aligned" meaning a multiple of sizeof(short int) from the beginning of the structure. But to save storage, I want to malloc() a "hunk" of storage and chop it up with as few slack bytes in between as possib...
- 2022-04-01 14:49
- Forum: Graphical Environments & Desktops
- Topic: Plug 'n' Play devices don't get automatically mounted
- Replies: 2
- Views: 1228
Re: Plug 'n' Play devices don't get automatically mounted
Grrr. Mate-tweak was no help at all; there is NO OPTION for what-to-do-when-a-plug-and-play-device-is-inserted. And there was no mounted volumes option either; like I care if an icon for a mounted media device shows up on the desktop. I'm just trying to get it quietly mounted, for pity's sake! Caitlin
- 2022-03-27 08:48
- Forum: Graphical Environments & Desktops
- Topic: Plug 'n' Play devices don't get automatically mounted
- Replies: 2
- Views: 1228
Plug 'n' Play devices don't get automatically mounted
On my BF's laptop, Debian 10.10 with MATE, if I plug in a device such as a memory stick or an external optical drive, nothing gets mounted. I can mount it by entering a mount command on a terminal with root privileges, but it doesn't mount automatically. What I want is to have the device automatical...
- 2022-03-23 15:43
- Forum: Hardware
- Topic: USB ports not working at all
- Replies: 7
- Views: 1668
Re: USB ports not working at all
Hi p.H, I did the mount/umount test and it worked. I also did the udisksctl test and that worked too. On my tower case there is an applet, under System > Control Center > Look and Feel, called Removable Drives and Media. On my tower case, the two options, Mount removable drives when hot-plugged and ...
- 2022-03-21 15:04
- Forum: Hardware
- Topic: USB ports not working at all
- Replies: 7
- Views: 1668
Re: USB ports not working at all
As I plugged in a USB device (a memory stick), here is the output as seen by dmesg: [ 315.413210] usb 2-1.1: new high-speed USB device number 3 using ehci-pci [ 315.701845] usb 2-1.1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.00 [ 315.701853] usb 2-1.1: New USB device strings...
- 2022-03-15 13:17
- Forum: Hardware
- Topic: USB ports not working at all
- Replies: 7
- Views: 1668
Re: USB ports not working at all
Dear p.H, Here are the outputs: $ lspci -nnk 00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09) Subsystem: Acer Incorporated [ALI] 2nd Generation Core Processor Family DRAM Controller [1025:0649] 00:02.0 VGA compatible controller [...
- 2022-03-05 10:33
- Forum: Beginners Questions
- Topic: Panel AutoHide, can't Unhide it
- Replies: 7
- Views: 2144
- 2022-03-05 10:28
- Forum: Hardware
- Topic: USB ports not working at all
- Replies: 7
- Views: 1668
USB ports not working at all
My BF's laptop is an Acer (a few years old) on which I installed Debian 10.10. It has 4 USB ports, but they do nothing at all. When I plug in a device, like a printer, memory stick, or external hard drive, there is no "what do you want to do?" message, no change to mtab, no response in the...
- 2021-09-03 15:23
- Forum: Graphical Environments & Desktops
- Topic: I need a system call to change the desktop background
- Replies: 21
- Views: 7956
Re: I need a system call to change the desktop background
Grrr -- I DON'T NEED NO ******* SLIDESHOW! That's not even close to what I'm trying to accomplish. To restate it -- I want to be able to have a program do something to change the desktop background. It will be IN RESPONSE to an event; not something mundane and trivial like it's been 3 hours since th...